AI Slop Code RIsk Monitor

openthread/openthread

OpenThread released by Google is an open-source implementation of the Thread networking protocol

14.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for openthread/openthread, a C++ project with 4,041 GitHub stars. SynthScan examined 729,118 lines of code across 2254 source files, recording 6538 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 14.1 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

14.1
Adjusted Signal
14.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
4.0K
Stars
C++
Language
729.1K
Lines of Code
2.3K
Files
6.5K
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 39.0/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 5445 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

Are imports declared and package/API names verified? 162 finding(s).

Agent Over-Engineering Ratio 20.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 1528 finding(s).

PR Review Velocity Impact 44.5/100 · MEDIUM

Which changes need focused human review? 6538 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 109MEDIUM 749LOW 5680

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 6538 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators645 hits · 2220 pts
SeverityFileLineSnippetContext
MEDIUMtools/otci/otci/otci.py3493 # -----------------------------------------------------------COMMENT
MEDIUMtools/otci/otci/otci.py3495 # -----------------------------------------------------------COMMENT
MEDIUMtests/unit/CMakeLists.txt132#----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/CMakeLists.txt164#----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/CMakeLists.txt197#----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py47# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py94# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py107# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py112# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py129# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py276# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-026-slaac-address-wpantund.py33# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-026-slaac-address-wpantund.py43# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-026-slaac-address-wpantund.py103# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-026-slaac-address-wpantund.py115# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-026-slaac-address-wpantund.py120# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-026-slaac-address-wpantund.py135# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-026-slaac-address-wpantund.py258# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-043-meshcop-joiner-router.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-043-meshcop-joiner-router.py42# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-043-meshcop-joiner-router.py53# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-043-meshcop-joiner-router.py58# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-043-meshcop-joiner-router.py74# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-043-meshcop-joiner-router.py104# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…sts/toranj/ncp/test-031-meshcop-joiner-commissioner.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…sts/toranj/ncp/test-031-meshcop-joiner-commissioner.py42# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…sts/toranj/ncp/test-031-meshcop-joiner-commissioner.py51# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…sts/toranj/ncp/test-031-meshcop-joiner-commissioner.py56# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…sts/toranj/ncp/test-031-meshcop-joiner-commissioner.py61# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…sts/toranj/ncp/test-031-meshcop-joiner-commissioner.py89# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-015-same-prefix-on-multiple-nodes.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-015-same-prefix-on-multiple-nodes.py40# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-015-same-prefix-on-multiple-nodes.py52# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-015-same-prefix-on-multiple-nodes.py57# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-015-same-prefix-on-multiple-nodes.py78# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…s/toranj/ncp/test-015-same-prefix-on-multiple-nodes.py142# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/toranj/ncp/test-009-insecure-traffic-join.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/toranj/ncp/test-009-insecure-traffic-join.py39# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/toranj/ncp/test-009-insecure-traffic-join.py45# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/toranj/ncp/test-009-insecure-traffic-join.py50# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/toranj/ncp/test-009-insecure-traffic-join.py55# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-009-insecure-traffic-join.py120# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-021-address-cache-table.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-021-address-cache-table.py47# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-021-address-cache-table.py60# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-021-address-cache-table.py65# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-021-address-cache-table.py104# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-021-address-cache-table.py392# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-023-multicast-traffic.py33# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-023-multicast-traffic.py59# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-023-multicast-traffic.py93# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-023-multicast-traffic.py109# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-023-multicast-traffic.py114# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-023-multicast-traffic.py148# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-023-multicast-traffic.py256# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-704-multi-radio-scan.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-704-multi-radio-scan.py40# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/toranj/ncp/test-704-multi-radio-scan.py53# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/toranj/ncp/test-704-multi-radio-scan.py58# ----------------------------------------------------------------------------------------------------------------------COMMENT
585 more matches not shown…
Verbosity Indicators1263 hits · 2210 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_nat64.cpp367 // Step 1: Make the mapping table dirty.COMMENT
LOW⚡tests/unit/test_nat64.cpp396 // Step 2: Release the mapping table item.COMMENT
LOW⚡tests/unit/test_nat64.cpp405 // Step 3: Reuse the same object for new mapping table item.COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py68 # Step 1: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py89 # Step 2: Router_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py103 # Step 3: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py116 # Step 4: Router_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py133 # Step 5: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py153 # Step 6: SED_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py164 # Step 7: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py183 # Step 8: MED_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py194 # Step 9: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py212 # Step 10: SED_1, MED_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py229 # Step 11: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py70 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_1_6_1_4.py83 # Step 2: ED_1 / SED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_1_4.py108 # Step 3: REED_1, REED_2COMMENT
LOW⚡tests/nexus/verify_1_1_6_1_4.py113 # Step 4: ED_1 / SED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py138 # Step 5: REED_1, REED_2COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py156 # Step 6: ED_1 / SED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py184 # Step 7: REED_1COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py195 # Step 8: REED_1COMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py113 # Step 0: AllCOMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py119 # Step 1: Joiner_1COMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py124 # Step 2: CommissionerCOMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py129 # Step 3: Joiner_1COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py63 # Step 1: AllCOMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py68 # Step 2: REED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py78 # Step 3: Router_3COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py83 # Step 4: Router_1COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py121 # Step 6: Router_1COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py130 # Step 7: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py100 # Step 5: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py150 # Step 8: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py174 # Step 9: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py191 # Step 10: Router_1COMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py72 # Step 0: SSED_1COMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py77 # Step 1: AllCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py82 # Step 2: SSED_1COMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py154 # Step 6: HarnessCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py159 # Step 7: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py214 # Step 10: HarnessCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py219 # Step 11: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py249 # Step 12: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py255 # Step 13: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py101 # Step 3: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py130 # Step 4: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py142 # Step 5: Router_1 (DUT)COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py189 # Step 8: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py202 # Step 9: Router_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py74 # Step 1: AllCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py79 # Step 2: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py119 # Step 4: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py128 # Step 5: SED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py136 # Step 6: UserCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py141 # Step 7: Test HarnessCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py147 # Step 8: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py160 # Step 9: UserCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py167 # Step 10: MED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py185 # Step 11: LeaderCOMMENT
1203 more matches not shown…
Structural Annotation Overuse1261 hits · 2201 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_nat64.cpp367 // Step 1: Make the mapping table dirty.COMMENT
LOW⚡tests/unit/test_nat64.cpp396 // Step 2: Release the mapping table item.COMMENT
LOW⚡tests/unit/test_nat64.cpp405 // Step 3: Reuse the same object for new mapping table item.COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py68 # Step 1: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py89 # Step 2: Router_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py103 # Step 3: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py116 # Step 4: Router_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py133 # Step 5: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py153 # Step 6: SED_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py164 # Step 7: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py183 # Step 8: MED_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py194 # Step 9: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py212 # Step 10: SED_1, MED_1COMMENT
LOWtests/nexus/verify_1_1_5_6_2.py229 # Step 11: Leader (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py70 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_1_6_1_4.py83 # Step 2: ED_1 / SED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_1_4.py108 # Step 3: REED_1, REED_2COMMENT
LOW⚡tests/nexus/verify_1_1_6_1_4.py113 # Step 4: ED_1 / SED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py138 # Step 5: REED_1, REED_2COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py156 # Step 6: ED_1 / SED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py184 # Step 7: REED_1COMMENT
LOWtests/nexus/verify_1_1_6_1_4.py195 # Step 8: REED_1COMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py113 # Step 0: AllCOMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py119 # Step 1: Joiner_1COMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py124 # Step 2: CommissionerCOMMENT
LOW⚡tests/nexus/verify_1_1_8_2_2.py129 # Step 3: Joiner_1COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py63 # Step 1: AllCOMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py68 # Step 2: REED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py78 # Step 3: Router_3COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py83 # Step 4: Router_1COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py121 # Step 6: Router_1COMMENT
LOW⚡tests/nexus/verify_1_1_5_5_5.py130 # Step 7: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py100 # Step 5: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py150 # Step 8: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py174 # Step 9: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py191 # Step 10: Router_1COMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py72 # Step 0: SSED_1COMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py77 # Step 1: AllCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py82 # Step 2: SSED_1COMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py154 # Step 6: HarnessCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py159 # Step 7: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py214 # Step 10: HarnessCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py219 # Step 11: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py249 # Step 12: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_2_LP_5_3_8.py255 # Step 13: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py101 # Step 3: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py130 # Step 4: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py142 # Step 5: Router_1 (DUT)COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py189 # Step 8: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py202 # Step 9: Router_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py74 # Step 1: AllCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py79 # Step 2: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py119 # Step 4: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py128 # Step 5: SED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py136 # Step 6: UserCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py141 # Step 7: Test HarnessCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py147 # Step 8: LeaderCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py160 # Step 9: UserCOMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py167 # Step 10: MED_1 (DUT)COMMENT
LOW⚡tests/nexus/verify_1_1_6_3_2.py185 # Step 11: LeaderCOMMENT
1201 more matches not shown…
Over-Commented Block2143 hits · 1953 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#COMMENT
LOWtools/CMakeLists.txt1#COMMENT
LOWtools/CMakeLists.txt21# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OFCOMMENT
LOWtools/tcat_ble_client/auth-generate/create-cert-ca.sh1#!/bin/bashCOMMENT
LOWtools/tcat_ble_client/auth-generate/create-cert-ca.sh21# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, ORCOMMENT
LOW…at_ble_client/auth-generate/create-cert-tcat-device.sh1#!/bin/bashCOMMENT
LOW…_client/auth-generate/create-cert-tcat-commissioner.sh1#!/bin/bashCOMMENT
LOWtools/harness-simulation/posix/install.sh1#!/bin/bashCOMMENT
LOWtools/harness-simulation/posix/launch_testbed.py1#!/usr/bin/env python3COMMENT
LOW…ols/harness-simulation/posix/sniffer_sim/pcap_codec.py1#!/usr/bin/env python3COMMENT
LOW…ness-simulation/posix/sniffer_sim/sniffer_transport.py1#!/usr/bin/env python3COMMENT
LOWtools/harness-simulation/posix/sniffer_sim/sniffer.py1#!/usr/bin/env python3COMMENT
LOWtools/harness-simulation/posix/otbr_sim/otbr_docker.py1#!/usr/bin/env python3COMMENT
LOW…imulation/harness/Thread_Harness/Sniffer/SimSniffer.py1#!/usr/bin/env pythonCOMMENT
LOW…simulation/harness/Thread_Harness/simulation/config.py1#!/usr/bin/env pythonCOMMENT
LOW…ation/harness/Thread_Harness/THCI/OpenThread_BR_Sim.py1#!/usr/bin/env pythonCOMMENT
LOW…mulation/harness/Thread_Harness/THCI/OpenThread_Sim.py1#!/usr/bin/env pythonCOMMENT
LOW…ness-simulation/harness/Web/data/updateDeviceFields.py1#!/usr/bin/env pythonCOMMENT
LOWtools/spi-hdlc-adapter/spi-hdlc-adapter.c41#include <getopt.h>COMMENT
LOWtools/spi-hdlc-adapter/spi-hdlc-adapter.c61#define HAVE_EXECINFO_H 0COMMENT
LOWtools/spi-hdlc-adapter/spi-hdlc-adapter.c81#include <util.h>COMMENT
LOWtools/spi-hdlc-adapter/spi-hdlc-adapter.c101#define EXIT_QUIT 65535COMMENT
LOWtools/harness-thci/OpenThread.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-thci/OpenThread_WpanCtl.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-thci/OpenThread_BR.py1#!/usr/bin/env pythonCOMMENT
LOWtools/ot-fct/CMakeLists.txt1#COMMENT
LOWtools/otci/setup.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/tests/test_otci.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/connectors.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/constants.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/constants.py21# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, ORCOMMENT
LOWtools/otci/otci/__init__.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/types.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/utils.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/command_handlers.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/errors.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/otci.py1#!/usr/bin/env python3COMMENT
LOWtools/otci/otci/otci.py2081 def __parse_dataset(self, output: List[str]) -> Dict[str, Any]:COMMENT
LOWtools/otci/otci/otci.py2661 # - Margin: 82 (dB) (Exponential Moving Average)COMMENT
LOWtools/otci/otci/otci.py3061COMMENT
LOWtools/otci/otci/otci.py3121 # The command 'diag stats' output example:COMMENT
LOWtools/otci/otci/otci.py3181 """RCP echoes the given message."""COMMENT
LOWtools/otci/otci/otci.py3481 interval: int = 10,COMMENT
LOWtools/harness-automation/parse_topofile.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/leader_5_6_6.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/ed_6_4_1.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/leader_5_5_1.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/sed_9_2_13.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/leader_5_8_4.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/sed_6_5_2.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/router_5_5_3.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/commissioner_8_3_1.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/router_5_7_1.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/router_5_8_2.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/reed_5_5_5.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/leader_5_6_2.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/router_9_2_8.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/commissioner_9_2_14.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/router_9_2_13.py1#!/usr/bin/env pythonCOMMENT
LOWtools/harness-automation/cases/router_5_3_9.py1#!/usr/bin/env pythonCOMMENT
2083 more matches not shown…
Hyper-Verbose Identifiers566 hits · 517 pts
SeverityFileLineSnippetContext
LOWtools/tcat_ble_client/ble/udp_stream.py63 async def simulation_ble_disconnect(self):CODE
LOWtools/tcat_ble_client/utils/__init__.py56def select_device_by_user_input(tcat_devices):CODE
LOWtools/tcat_ble_client/utils/__init__.py126def superimpose_centered_string(background: str, foreground: str) -> str:CODE
LOWtools/tcat_ble_client/cli/dataset_commands.py36def handle_dataset_entry_command(type: MeshcopTlvType, args, context) -> CommandResult:CODE
LOW…imulation/harness/Thread_Harness/Sniffer/SimSniffer.py190 def _get_connection_name_from_guid(self, iface_guids):CODE
LOWtools/harness-thci/OpenThread.py1194 def wait_for_attach_to_the_network(self, expected_role, timeout, raise_assert=False):CODE
LOWtools/harness-thci/OpenThread.py1296 def reset_and_wait_for_connection(self, timeout=3):CODE
LOWtools/harness-thci/OpenThread.py1314 def resetAndRejoin(self, timeout):CODE
LOWtools/harness-thci/OpenThread.py3087 def config_next_mlr_status_rsp(self, status_code):CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1577 def resetAndRejoin(self, timeout):CODE
LOW⚡tools/otci/otci/otci.py617 def get_preferred_partition_id(self) -> PartitionId:CODE
LOW⚡tools/otci/otci/otci.py621 def set_preferred_partition_id(self, parid: int):CODE
LOW⚡tools/otci/otci/otci.py625 def __get_partition_preferred_cmd(self) -> str:CODE
LOW⚡tools/otci/otci/otci.py687 def get_router_upgrade_threshold(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py691 def set_router_upgrade_threshold(self, threshold: int):CODE
LOW⚡tools/otci/otci/otci.py695 def get_router_downgrade_threshold(self):CODE
LOW⚡tools/otci/otci/otci.py699 def set_router_downgrade_threshold(self, threshold: int):CODE
LOW⚡tools/otci/otci/otci.py1112 def srp_server_get_addressmode(self):CODE
LOW⚡tools/otci/otci/otci.py1116 def srp_server_set_addressmode(self, mode: Literal['unicast', 'anycast']):CODE
LOW⚡tools/otci/otci/otci.py1120 def srp_server_get_sequence_number(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py1124 def srp_server_set_sequence_number(self, seq: int):CODE
LOW⚡tools/otci/otci/otci.py1256 def srp_client_enable_autostart(self):CODE
LOW⚡tools/otci/otci/otci.py1260 def srp_client_disable_autostart(self):CODE
LOW⚡tools/otci/otci/otci.py1268 def srp_client_enable_callback(self):CODE
LOW⚡tools/otci/otci/otci.py1272 def srp_client_disable_callback(self):CODE
LOW⚡tools/otci/otci/otci.py1304 def srp_client_get_host_addresses(self) -> List[Ip6Addr]:CODE
LOW⚡tools/otci/otci/otci.py1308 def srp_client_set_host_addresses(self, *addrs: Union[str, ipaddress.IPv6Address]):CODE
LOW⚡tools/otci/otci/otci.py1312 def srp_client_get_host_state(self):CODE
LOW⚡tools/otci/otci/otci.py1366 def srp_client_remove_service(self, instance: str, service: str):CODE
LOW⚡tools/otci/otci/otci.py1374 def srp_client_get_key_lease_interval(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py1378 def srp_client_set_key_lease_interval(self, interval: int):CODE
LOW⚡tools/otci/otci/otci.py1382 def srp_client_get_lease_interval(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py1386 def srp_client_set_lease_interval(self, interval: int):CODE
LOW⚡tools/otci/otci/otci.py1398 def srp_client_get_service_key(self) -> bool:CODE
LOW⚡tools/otci/otci/otci.py1402 def srp_client_enable_service_key(self):CODE
LOW⚡tools/otci/otci/otci.py1406 def srp_client_disable_service_key(self):CODE
LOW⚡tools/otci/otci/otci.py1500 def get_child_supervision_interval(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py1504 def set_child_supervision_interval(self, val: int):CODE
LOW⚡tools/otci/otci/otci.py1510 def get_child_supervision_check_timeout(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py1514 def set_child_supervision_check_timeout(self, val: int):CODE
LOW⚡tools/otci/otci/otci.py1901 def network_data_public_prefix(self, prefix: str, flags: str = 'paos', preference: str = 'med'):CODE
LOW⚡tools/otci/otci/otci.py1904 def network_data_unpublish_prefix(self, prefix: str):CODE
LOW⚡tools/otci/otci/otci.py1907 def network_data_unpublish_dnssrp(self):CODE
LOW⚡tools/otci/otci/otci.py2553 def get_backbone_router_jitter(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py2557 def set_backbone_router_jitter(self, val: int):CODE
LOW⚡tools/otci/otci/otci.py2561 def backbone_router_get_multicast_listeners(self) -> List[Tuple[Ip6Addr, int]]:CODE
LOW⚡tools/otci/otci/otci.py2621 def linkmetrics_request_single(self, peer_addr: Union[str, Ip6Addr], link_metrics_flags: str) -> Dict[str, int]:CODE
LOW⚡tools/otci/otci/otci.py2628 def linkmetrics_request_forward(self, peer_addr: Union[str, Ip6Addr], seriesid: int) -> Dict[str, int]:CODE
LOW⚡tools/otci/otci/otci.py2632 def __parse_linkmetrics_mgmt_response(self, peer_addr: Union[str, Ip6Addr], output: List[str]) -> bool:CODE
LOW⚡tools/otci/otci/otci.py2940 def coap_get_test_resource_path(self) -> str:CODE
LOW⚡tools/otci/otci/otci.py2944 def coap_set_test_resource_path(self, path: str):CODE
LOW⚡tools/otci/otci/otci.py2948 def coap_test_set_resource_content(self, content: str):CODE
LOW⚡tools/otci/otci/otci.py3102 def diag_enable_radio_receive_filter(self):CODE
LOW⚡tools/otci/otci/otci.py3106 def diag_disable_radio_receive_filter(self):CODE
LOW⚡tools/otci/otci/otci.py3110 def diag_set_radio_receive_filter_dest_mac_address(self, dest_mac_address: str):CODE
LOW⚡tools/otci/otci/otci.py3344 def get_network_diagnostics_bytes(self, addr: Union[str, Ip6Addr], tlvs: list[int]) -> str:CODE
LOW⚡tools/otci/otci/otci.py3352 def reset_network_diagnostics(self, addr: Union[str, Ip6Addr], diag_type: list[int]):CODE
LOW⚡tools/otci/otci/otci.py3356 def get_network_diagnostics_non_preferred_channels(self) -> int:CODE
LOW⚡tools/otci/otci/otci.py3360 def set_network_diagnostics_non_preferred_channels(self, channels: int):CODE
LOWtools/otci/otci/otci.py171 def set_execute_command_retry(self, n: int):CODE
506 more matches not shown…
Cross-File Repetition49 hits · 245 pts
SeverityFileLineSnippetContext
HIGHtools/tcat_ble_client/bbtc.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/tlv/tcat_tlv.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/ble/udp_stream.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/ble/ble_scanner.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/utils/__init__.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/cli/command.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/cli/cli.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/cli/dataset_commands.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/cli/tlv_commands.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/tlv/tlv.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/tlv/dataset_tlv.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/tlv/advertised_tlv.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/ble/ble_connection_constants.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/ble/ble_advertisement_data.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/tlv/diagnostic_tlv.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/dataset/dataset_entries.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/dataset/dataset.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/ble/ble_stream.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/ble/ble_stream_secure.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/tcat_ble_client/cli/base_commands.py0copyright (c) 2024-2026, the openthread authors. all rights reserved. redistribution and use in source and binary forms,STRING
HIGHtools/harness-thci/OpenThread.py0send exactly one line to the device args: line str: data send to deviceSTRING
HIGHtools/harness-thci/OpenThread_WpanCtl.py0send exactly one line to the device args: line str: data send to deviceSTRING
HIGH…automation/autothreadharness/open_thread_controller.py0send exactly one line to the device args: line str: data send to deviceSTRING
HIGHtools/harness-thci/OpenThread.py0escape cli escapable characters in the given string. args: string (str): utf-8 input string. returns: [str]: the modifieSTRING
HIGHtools/harness-thci/OpenThread_BR.py0escape cli escapable characters in the given string. args: string (str): utf-8 input string. returns: [str]: the modifieSTRING
HIGHtests/scripts/thread-cert/node.py0escape cli escapable characters in the given string. args: string (str): utf-8 input string. returns: [str]: the modifieSTRING
HIGHtools/harness-thci/OpenThread.py0send icmpv6 echo request with a given length to a unicast destination address args: destination: the unicast destinationSTRING
HIGHtools/harness-thci/OpenThread_WpanCtl.py0send icmpv6 echo request with a given length to a unicast destination address args: destination: the unicast destinationSTRING
HIGHtools/harness-thci/OpenThread_BR.py0send icmpv6 echo request with a given length to a unicast destination address args: destination: the unicast destinationSTRING
HIGHtools/harness-thci/OpenThread.py0get expected global unicast ipv6 address of openthreadwpan note: existing filterbyprefix are string of in lowercase. e.gSTRING
HIGHtools/harness-thci/OpenThread_BR.py0get expected global unicast ipv6 address of openthreadwpan note: existing filterbyprefix are string of in lowercase. e.gSTRING
HIGHtools/harness-thci/OpenThread_WpanCtl.py0get expected global unicast ipv6 address of openthreadwpan note: existing filterbyprefix are string of in lowercase. e.gSTRING
HIGH…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py0this function verifies that all nodes in the `node_list` contain an ipv6 address with the given `prefix`.STRING
HIGHtests/toranj/ncp/test-026-slaac-address-wpantund.py0this function verifies that all nodes in the `node_list` contain an ipv6 address with the given `prefix`.STRING
HIGH…cp/test-032-child-attach-with-multiple-ip-addresses.py0this function verifies that all nodes in the `node_list` contain an ipv6 address with the given `prefix`.STRING
HIGHtests/toranj/ncp/test-030-slaac-address-ncp.py0this function verifies that all nodes in the `node_list` contain an ipv6 address with the given `prefix`.STRING
HIGH…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py0this function verifies that the `prefix` is present on all nodes in the `node_list`.STRING
HIGHtests/toranj/ncp/test-024-partition-merge.py0this function verifies that the `prefix` is present on all nodes in the `node_list`.STRING
HIGHtests/toranj/ncp/test-026-slaac-address-wpantund.py0this function verifies that the `prefix` is present on all nodes in the `node_list`.STRING
HIGHtests/toranj/ncp/test-030-slaac-address-ncp.py0this function verifies that the `prefix` is present on all nodes in the `node_list`.STRING
HIGH…/toranj/ncp/test-601-channel-manager-channel-change.py0this function checks the channel on a given list of `nodes` and verifies that all nodes switch to a given `new_channel` STRING
HIGH…ranj/ncp/test-603-channel-manager-announce-recovery.py0this function checks the channel on a given list of `nodes` and verifies that all nodes switch to a given `new_channel` STRING
HIGH…/toranj/ncp/test-602-channel-manager-channel-select.py0this function checks the channel on a given list of `nodes` and verifies that all nodes switch to a given `new_channel` STRING
HIGHtests/nexus/verify_1_3_DIAG_TC_1.py0parses thread diagnostic tlvs from coap payload. returns a list of (type, value) tuples.STRING
HIGHtests/nexus/verify_1_3_DIAG_TC_2.py0parses thread diagnostic tlvs from coap payload. returns a list of (type, value) tuples.STRING
HIGHtests/nexus/verify_1_3_GEN_TC_1.py0parses thread diagnostic tlvs from coap payload. returns a list of (type, value) tuples.STRING
HIGHtests/nexus/verify_1_3_DIAG_TC_1.py0returns the value of the first tlv of a given type.STRING
HIGHtests/nexus/verify_1_3_DIAG_TC_2.py0returns the value of the first tlv of a given type.STRING
HIGHtests/nexus/verify_1_3_GEN_TC_1.py0returns the value of the first tlv of a given type.STRING
Empty Error Handlers40 hits · 200 pts
SeverityFileLineSnippetContext
HIGHtools/tcat_ble_client/bbtc.py103except asyncio.CancelledError:CODE
HIGHtools/tcat_ble_client/bbtc.py162except asyncio.CancelledError:CODE
HIGHtools/tcat_ble_client/ble/ble_stream_secure.py263except asyncio.QueueEmpty:CODE
HIGHtools/tcat_ble_client/cli/tlv_commands.py58except IndexError:CODE
HIGHtools/harness-simulation/posix/otbr_sim/otbr_docker.py108except subprocess.TimeoutExpired:CODE
HIGH…mulation/harness/Thread_Harness/THCI/OpenThread_Sim.py127except Exception:CODE
HIGHtools/harness-thci/OpenThread.py393except Exception:CODE
HIGHtools/harness-thci/OpenThread.py762except Exception:CODE
HIGHtools/harness-thci/OpenThread_BR.py121except Exception:CODE
HIGHtools/harness-thci/OpenThread_BR.py174except Exception:CODE
HIGHtools/otci/tests/test_otci.py126except CommandError:CODE
HIGHtools/otci/otci/command_handlers.py157except queue.Empty:CODE
HIGH…automation/autothreadharness/open_thread_controller.py242except BaseException:CODE
HIGHtools/cp-caps/device_manager.py222except ExpectLineTimeoutError:CODE
HIGHtests/nexus/verify_utils.py486except Exception:CODE
HIGHtests/nexus/verify_utils.py526except AttributeError:CODE
HIGHtests/nexus/verify_utils.py394except (AttributeError, IndexError):CODE
HIGHtests/nexus/verify_utils.py531except AttributeError:CODE
HIGHtests/nexus/verify_utils.py444except (AttributeError, IndexError, ValueError):CODE
HIGHtests/nexus/verify_1_2_MATN_TC_4.py73except (AttributeError, KeyError):CODE
HIGHtests/nexus/verify_1_4_PIC_TC_3.py79except (AttributeError, IndexError):CODE
HIGHtests/nexus/verify_1_4_PIC_TC_3.py130except (AttributeError, IndexError):CODE
HIGHtests/nexus/verify_1_2_MATN_TC_2.py57except (AttributeError, KeyError):CODE
HIGHtests/nexus/verify_1_3_DBR_TC_6.py127except (AttributeError, IndexError):CODE
HIGHtests/scripts/thread-cert/thread_cert.py580except FileNotFoundError:CODE
HIGHtests/scripts/thread-cert/node.py103except subprocess.TimeoutExpired:CODE
HIGHtests/scripts/thread-cert/node.py3927except subprocess.CalledProcessError:CODE
HIGHtests/scripts/thread-cert/node.py3056except UnicodeDecodeError:CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py58except (ValueError, TypeError):CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py77except (ValueError, TypeError):CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py86except (ValueError, TypeError, IndexError):CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py92except Exception:CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py140except ValueError:CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py146except ValueError:CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py164except ValueError:CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py170except ValueError:CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py237except ValueError:CODE
HIGHtests/scripts/thread-cert/pktverify/layer_fields.py64except (ValueError, TypeError):CODE
HIGHtests/scripts/thread-cert/pktverify/packet.py84except (ValueError, TypeError):CODE
HIGHtests/scripts/thread-cert/pktverify/addrs.py78except ipaddress.AddressValueError:CODE
Unused Imports152 hits · 140 pts
SeverityFileLineSnippetContext
LOWtools/tcat_ble_client/tlv/tlv.py29CODE
LOWtools/tcat_ble_client/utils/__init__.py32CODE
LOWtools/tcat_ble_client/cli/command.py33CODE
LOWtools/harness-thci/OpenThread_BR.py99CODE
LOWtools/otci/otci/__init__.py30CODE
LOWtools/otci/otci/__init__.py31CODE
LOWtools/otci/otci/__init__.py31CODE
LOWtools/otci/otci/__init__.py31CODE
LOWtools/otci/otci/__init__.py31CODE
LOWtools/otci/otci/__init__.py32CODE
LOWtools/otci/otci/__init__.py33CODE
LOWtools/otci/otci/__init__.py34CODE
LOWtools/otci/otci/__init__.py35CODE
LOWtools/otci/otci/__init__.py35CODE
LOWtools/otci/otci/__init__.py35CODE
LOWtools/otci/otci/__init__.py35CODE
LOWtools/otci/otci/__init__.py35CODE
LOWtools/otci/otci/__init__.py35CODE
LOWtools/otci/otci/__init__.py35CODE
LOWtools/otci/otci/__init__.py45CODE
LOWtools/otci/otci/__init__.py45CODE
LOWtools/otci/otci/__init__.py45CODE
LOWtools/cp-caps/test_csl.py32CODE
LOWtools/cp-caps/test_frame_formats.py32CODE
LOWtools/cp-caps/test_radio_frame_tx_info.py33CODE
LOWtools/cp-caps/test_data_poll.py32CODE
LOWtools/cp-caps/device_manager.py32CODE
LOWtools/cp-caps/test_diag_commands.py34CODE
LOWtools/cp-caps/test_throughput.py33CODE
LOW…sts/toranj/ncp/test-702-multi-radio-discovery-by-rx.py29CODE
LOWtests/toranj/ncp/test-701-multi-radio-probe.py29CODE
LOWtests/toranj/ncp/test-013-off-mesh-route-traffic.py29CODE
LOW…sts/toranj/ncp/test-703-multi-radio-mesh-header-msg.py29CODE
LOWtests/toranj/ncp/test-700-multi-radio-join.py29CODE
LOWtests/toranj/cli/test-023-mesh-diag.py30CODE
LOWtests/toranj/cli/test-023-mesh-diag.py32CODE
LOWtests/toranj/cli/test-500-two-brs-two-networks.py30CODE
LOWtests/toranj/cli/test-016-child-mode-change.py32CODE
LOWtests/toranj/cli/test-034-fed-parent-search.py30CODE
LOWtests/toranj/cli/test-011-network-data-timeout.py32CODE
LOWtests/toranj/cli/test-020-net-diag-vendor-info.py30CODE
LOWtests/toranj/cli/test-020-net-diag-vendor-info.py32CODE
LOWtests/toranj/cli/test-704-multi-radio-scan.py30CODE
LOWtests/toranj/cli/test-704-multi-radio-scan.py32CODE
LOW…ts/toranj/cli/test-015-clear-addresss-cache-for-sed.py32CODE
LOWtests/toranj/cli/test-035-context-id-change-addr-reg.py30CODE
LOWtests/toranj/cli/test-501-multi-br-failure-recovery.py30CODE
LOWtests/toranj/cli/test-701-multi-radio-probe.py32CODE
LOWtests/toranj/cli/test-010-partition-merge.py32CODE
LOWtests/toranj/cli/test-004-scan.py30CODE
LOW…/toranj/cli/test-401-srp-server-address-cache-snoop.py32CODE
LOWtests/toranj/cli/test-025-mesh-local-prefix-change.py30CODE
LOWtests/toranj/cli/test-030-anycast-forwarding.py32CODE
LOWtests/toranj/cli/test-026-coaps-conn-limit.py30CODE
LOWtests/toranj/cli/test-006-traffic-multi-hop.py32CODE
LOWtests/toranj/cli/test-005-traffic-router-to-child.py30CODE
LOWtests/toranj/cli/test-003-join.py30CODE
LOWtests/toranj/cli/test-032-leader-take-over.py32CODE
LOWtests/toranj/cli/test-024-mle-adv-imax-change.py32CODE
LOWtests/toranj/cli/test-040-history-tracker-query.py30CODE
92 more matches not shown…
Excessive Try-Catch Wrapping118 hits · 106 pts
SeverityFileLineSnippetContext
LOWtools/tcat_ble_client/bbtc.py95 except Exception as e:CODE
LOWtools/tcat_ble_client/ble/ble_stream_secure.py151 except Exception as err:CODE
LOWtools/tcat_ble_client/ble/ble_stream_secure.py290 except Exception as err:CODE
LOWtools/tcat_ble_client/ble/ble_stream_secure.py331 except Exception as err:CODE
LOWtools/tcat_ble_client/ble/ble_stream_secure.py373 except Exception as e:CODE
MEDIUMtools/tcat_ble_client/cli/command.py118 print(f"Error: {self.message}")CODE
LOWtools/tcat_ble_client/cli/dataset_commands.py90 except Exception as e:CODE
MEDIUMtools/tcat_ble_client/cli/base_commands.py393 print("Error: Ping response payload mismatch.")CODE
LOWtools/tcat_ble_client/cli/base_commands.py494 except Exception as e:CODE
LOW…imulation/harness/Thread_Harness/Sniffer/SimSniffer.py333 except Exception:CODE
MEDIUM…imulation/harness/Thread_Harness/Sniffer/SimSniffer.py329def log(self, fmt, *args):CODE
LOW…mulation/harness/Thread_Harness/THCI/OpenThread_Sim.py127 except Exception:CODE
MEDIUM…mulation/harness/Thread_Harness/THCI/OpenThread_Sim.py123def log(self, fmt, *args):CODE
MEDIUMtools/harness-thci/OpenThread.py159def API(api_func):CODE
MEDIUMtools/harness-thci/OpenThread.py388def log(self, fmt, *args):CODE
LOWtools/harness-thci/OpenThread.py127 except Exception as ex:CODE
LOWtools/harness-thci/OpenThread.py148 except Exception:CODE
LOWtools/harness-thci/OpenThread.py162 except Exception:CODE
LOWtools/harness-thci/OpenThread.py393 except Exception:CODE
LOWtools/harness-thci/OpenThread.py762 except Exception:CODE
LOWtools/harness-thci/OpenThread.py1291 except Exception:CODE
LOWtools/harness-thci/OpenThread.py1399 except Exception:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py94 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py102 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py220 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py274 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py325 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py343 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py362 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py379 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py406 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py483 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py500 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py644 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py658 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py680 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py708 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py753 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py782 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py794 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py817 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py838 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py861 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py895 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1021 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1059 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1092 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1121 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1150 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1228 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1308 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1330 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1352 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1384 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1400 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1426 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1478 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1524 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1615 except Exception as e:CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1671 except Exception as e:CODE
58 more matches not shown…
Deep Nesting132 hits · 103 pts
SeverityFileLineSnippetContext
LOWtools/tcat_ble_client/bbtc.py137CODE
LOWtools/tcat_ble_client/ble/ble_stream_secure.py72CODE
LOWtools/tcat_ble_client/ble/ble_stream_secure.py304CODE
LOWtools/tcat_ble_client/dataset/dataset_entries.py47CODE
LOWtools/tcat_ble_client/cli/base_commands.py127CODE
LOWtools/harness-simulation/posix/launch_testbed.py131CODE
LOWtools/harness-thci/OpenThread.py293CODE
LOWtools/harness-thci/OpenThread.py592CODE
LOWtools/harness-thci/OpenThread.py663CODE
LOWtools/harness-thci/OpenThread.py722CODE
LOWtools/harness-thci/OpenThread.py909CODE
LOWtools/harness-thci/OpenThread.py1117CODE
LOWtools/harness-thci/OpenThread.py1686CODE
LOWtools/harness-thci/OpenThread.py1843CODE
LOWtools/harness-thci/OpenThread.py1878CODE
LOWtools/harness-thci/OpenThread.py2252CODE
LOWtools/harness-thci/OpenThread.py2299CODE
LOWtools/harness-thci/OpenThread.py3213CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py189CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py382CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py409CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py520CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py703CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1158CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py1908CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py2125CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py2288CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py2589CODE
LOWtools/harness-thci/OpenThread_BR.py127CODE
LOWtools/otci/otci/command_handlers.py186CODE
LOWtools/otci/otci/otci.py869CODE
LOWtools/otci/otci/otci.py1145CODE
LOWtools/otci/otci/otci.py1176CODE
LOWtools/otci/otci/otci.py1426CODE
LOWtools/otci/otci/otci.py1633CODE
LOWtools/otci/otci/otci.py2081CODE
LOWtools/otci/otci/otci.py2455CODE
LOWtools/otci/otci/otci.py2505CODE
LOWtools/otci/otci/otci.py2653CODE
LOWtools/otci/otci/otci.py3375CODE
LOWtools/harness-automation/parse_topofile.py89CODE
LOWtools/harness-automation/autothreadharness/runner.py176CODE
LOW…s/harness-automation/autothreadharness/harness_case.py193CODE
LOW…s/harness-automation/autothreadharness/harness_case.py377CODE
LOW…s/harness-automation/autothreadharness/harness_case.py495CODE
LOW…s/harness-automation/autothreadharness/harness_case.py869CODE
LOW…s/harness-automation/autothreadharness/harness_case.py931CODE
LOW…s/harness-automation/autothreadharness/harness_case.py1062CODE
LOW…automation/autothreadharness/pdu_controller_factory.py34CODE
LOW…automation/autothreadharness/open_thread_controller.py191CODE
LOWtools/cp-caps/device_manager.py122CODE
LOWtests/toranj/ncp/test-026-slaac-address-wpantund.py65CODE
LOW…s/toranj/ncp/test-015-same-prefix-on-multiple-nodes.py93CODE
LOWtests/toranj/ncp/test-020-router-table.py124CODE
LOWtests/toranj/ncp/test-020-router-table.py149CODE
LOWtests/toranj/ncp/test-020-router-table.py174CODE
LOWtests/toranj/ncp/test-014-ip6-address-add.py122CODE
LOWtests/toranj/ncp/wpan.py566CODE
LOWtests/toranj/ncp/wpan.py630CODE
LOWtests/toranj/ncp/test-030-slaac-address-ncp.py73CODE
72 more matches not shown…
Dead Code65 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py83CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py84CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py86CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py89CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py90CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py91CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py93CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py94CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py95CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py98CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py100CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py101CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py102CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py104CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py110CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py111CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py112CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py114CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py115CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py116CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py118CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py119CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py120CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py121CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py128CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py129CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py130CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py132CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py133CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py134CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py139CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py140CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py141CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py143CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py144CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py147CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py148CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py149CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py151CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py152CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py153CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py158CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py159CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py160CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py163CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py164CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py166CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py167CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py168CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py169CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py170CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py176CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py177CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py179CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py180CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py181CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py182CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py188CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py189CODE
MEDIUM…der_router/internet/test_with_infrastructure_prefix.py190CODE
5 more matches not shown…
Synthetic Comment Markers8 hits · 68 pts
SeverityFileLineSnippetContext
HIGH⚡tests/nexus/verify_1_3_DIAG_TC_1.py472 # - The presence of each TLV (as requested in step 2) MUST be validated, with the exception of Max Child Timeout TCOMMENT
HIGH⚡tests/nexus/verify_1_3_DIAG_TC_1.py484 # - Presence of each TLV (as requested in step 5) MUST be validated.COMMENT
HIGHtests/nexus/verify_1_3_DIAG_TC_1.py112 # Presence of each TLV (as requested in step 2) MUST be validated, with the exception of Max Child Timeout TLVCOMMENT
HIGHtests/nexus/verify_1_3_DIAG_TC_1.py166 # Presence of each TLV (as requested in step 5) MUST be validated.COMMENT
HIGHtests/nexus/verify_1_2_BBR_TC_2.py229 # Skip checks for MLDv2 and BLMR.ntf as requested.COMMENT
HIGHtests/nexus/verify_1_3_DIAG_TC_2.py146 # - Each TLV (as requested in step 2) that is present in the response MUST be validated. AnyCOMMENT
HIGHtests/nexus/verify_1_3_DIAG_TC_2.py240 # - The presence of each TLV (as requested in the previous step) MUST be validated.COMMENT
HIGHsrc/core/radio/ble_secure.cpp246// performs platform calls to start or stop BLE advertisements as requested, and if successfulCOMMENT
AI Slop Vocabulary14 hits · 54 pts
SeverityFileLineSnippetContext
MEDIUMtests/nexus/verify_1_2_MATN_TC_5.py211 # - Description: After (MLR_TIMEOUT_MIN+2) seconds, harness instructs the device to multicast an ICMPv6 Echo (ping)COMMENT
MEDIUM⚡tests/nexus/verify_1_1_9_2_10.py357 # - Description: The harness verifies connectivity by instructing the device to send an ICMPv6 Echo Request to the DCOMMENT
MEDIUM⚡tests/nexus/verify_1_1_5_2_4.py77 # - Description: The harness causes the DUT to attach to any node, 2-hops from the Leader.COMMENT
MEDIUM⚡tests/nexus/verify_1_1_5_2_4.py221 # - Description: The harness verifies connectivity by instructing the device to send an ICMPv6 Echo Request to theCOMMENT
MEDIUM⚡tests/nexus/verify_1_1_7_1_7.py184 # - Description: After Router_2 starts its own partition, the harness modifies Router_2’s network data information:COMMENT
MEDIUM⚡tests/nexus/verify_1_1_9_2_6.py411 # We search from index9 to be robust.COMMENT
MEDIUMtests/nexus/verify_1_2_LP_5_3_4.py55 # The purpose of this test is to validate that a Router is able to successfully maintain a robust CSL connectionCOMMENT
MEDIUM⚡tests/nexus/verify_1_1_9_2_2.py84 # Commissioner without user or harness intervention.COMMENT
MEDIUM⚡tests/nexus/verify_1_1_5_2_3.py76 # - Description: The harness causes Router_31 to attach to the network and send an Address Solicit Request toCOMMENT
MEDIUM⚡tests/nexus/verify_1_1_5_2_3.py117 # - Description: The harness causes Router_32 to attach to any of the active routers, 2-hops from the leader,COMMENT
MEDIUMtests/nexus/verify_1_2_LP_5_3_5.py66 # SSED 1 and 6 are configured to use the Primary and Secondary harnessCOMMENT
MEDIUMtests/nexus/verify_1_1_5_3_8.py150 # We use a suffix match for the IP address to be robust against potential 6LoWPAN decompression issuesCOMMENT
MEDIUMexamples/platforms/simulation/uart.c145 // Absolutely obliterate all output processing.COMMENT
MEDIUMsrc/core/radio/trel_link.cpp168 // used for discovery either disable MAC security or utilizeCOMMENT
Cross-Language Confusion10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHtools/harness-thci/OpenThread_BR.py328 self.bash('ip -6 addr del 910b::1 dev %s || true' % self.backboneNetif)CODE
HIGHtools/harness-thci/OpenThread_BR.py329 self.bash('ip -6 addr del fd00:7d03:7d03:7d03::1 dev %s || true' % self.backboneNetif)CODE
HIGH⚡tools/otci/otci/otci.py1302 return name if name != '(null)' else ''CODE
HIGHtools/otci/otci/otci.py1199 info[k] = list() if v == '(null)' else list(v.split(','))CODE
HIGHtools/harness-automation/autothreadharness/runner.py130 os.system('taskkill /f /im explorer.exe && start explorer.exe')CODE
HIGHtests/toranj/cli/test-400-srp-client-server.py118verify(service['subtypes'] == '(null)')CODE
HIGH…der_router/internet/test_with_infrastructure_prefix.py163 br.bash("service bind9 stop || true")CODE
HIGH…hread-cert/border_router/internet/test_upstream_dns.py94 br.bash('service bind9 stop || true')CODE
HIGH…hread-cert/border_router/internet/test_upstream_dns.py147 dns_server.bash('service bind9 stop || true')STRING
HIGH…rt/border_router/internet/test_single_border_router.py126 br.bash("service bind9 stop || true")CODE
Self-Referential Comments15 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMtools/tcat_ble_client/utils/__init__.py111 # Create the ASCII representation (replace non-printables with '.')COMMENT
MEDIUMtools/tcat_ble_client/auth-generate/create-cert-ca.sh30# Create the certificate of an example CA for TCAT. This single CA creates both theCOMMENT
MEDIUMtools/harness-simulation/posix/launch_testbed.py71 # Create a socketCOMMENT
MEDIUMtools/harness-simulation/posix/sniffer_sim/sniffer.py91 # Create a temporary named pipeCOMMENT
MEDIUM…imulation/harness/Thread_Harness/Sniffer/SimSniffer.py226 # Define the output interface of the socketCOMMENT
MEDIUMtools/harness-automation/doc/conf.py34# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM⚡…s/toranj/ncp/test-034-poor-link-parent-child-attach.py60# Create a poor link between child and parent using MAC fixed RSSI filterCOMMENT
MEDIUMtests/toranj/ncp/wpan.py792 # Create a socket, bind it to the node's interfaceCOMMENT
MEDIUMtests/toranj/ncp/wpan.py915 # Create a socket, bind it to the node's interfaceCOMMENT
MEDIUMtests/toranj/cli/test-003-join.py75# Create a poor link between child and parent using MAC fixed RSSICOMMENT
MEDIUMtests/nexus/verify_1_1_5_3_4.py133 # Create a checkpoint cursor pointing to the first packet of Step 4.COMMENT
MEDIUMtests/nexus/run_nexus_tests.sh276 # Create a temporary directory for test artifactsCOMMENT
MEDIUMtests/scripts/thread-cert/mcast6.py107 # Create a socketCOMMENT
MEDIUMtests/scripts/thread-cert/debug.py34 """This class provides a way to inspect node status of a test case.STRING
MEDIUMsrc/cli/cli_extension_example.c31 * @brief # This file provides an example on how to implement a CLI vendor extension.COMMENT
AI Structural Patterns31 hits · 23 pts
SeverityFileLineSnippetContext
LOWtools/tcat_ble_client/cli/tlv_commands.py61CODE
LOWtools/tcat_ble_client/cli/base_commands.py435CODE
LOWtools/harness-thci/OpenThread.py1614CODE
LOWtools/harness-thci/OpenThread.py2445CODE
LOWtools/harness-thci/OpenThread.py2628CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py2288CODE
LOWtools/harness-thci/OpenThread_WpanCtl.py2487CODE
LOWtools/harness-thci/OpenThread_BR.py432CODE
LOWtools/otci/otci/command_handlers.py143CODE
LOWtools/otci/otci/otci.py2150CODE
LOWtools/otci/otci/otci.py2997CODE
LOWtools/otci/otci/otci.py3274CODE
LOWtools/harness-automation/autothreadharness/runner.py176CODE
LOW…s/toranj/ncp/test-010-on-mesh-prefix-config-gateway.py60CODE
LOWtests/toranj/ncp/test-026-slaac-address-wpantund.py65CODE
LOWtests/toranj/ncp/test-025-network-data-timeout.py57CODE
LOWtests/toranj/ncp/test-024-partition-merge.py60CODE
LOWtests/toranj/ncp/test-040-network-data-stable-full.py61CODE
LOWtests/toranj/ncp/wpan.py431CODE
LOWtests/toranj/ncp/wpan.py488CODE
LOWtests/toranj/ncp/wpan.py610CODE
LOWtests/toranj/ncp/wpan.py624CODE
LOWtests/toranj/ncp/test-030-slaac-address-ncp.py73CODE
LOWtests/scripts/thread-cert/test_network_data.py67CODE
LOWtests/scripts/thread-cert/command.py353CODE
LOWtests/scripts/thread-cert/command.py390CODE
LOWtests/scripts/thread-cert/command.py487CODE
LOWtests/scripts/thread-cert/mac802154.py114CODE
LOWtests/scripts/thread-cert/node.py2673CODE
LOWtests/scripts/thread-cert/node.py2827CODE
LOWtests/scripts/thread-cert/node.py2908CODE
Modern Structural Boilerplate14 hits · 14 pts
SeverityFileLineSnippetContext
LOWtools/tcat_ble_client/bbtc.py45logger = logging.getLogger(__name__)CODE
LOWtools/tcat_ble_client/ble/udp_stream.py33logger = logging.getLogger(__name__)CODE
LOWtools/tcat_ble_client/ble/ble_stream.py38logger = logging.getLogger(__name__)CODE
LOWtools/tcat_ble_client/ble/ble_stream_secure.py42logger = logging.getLogger(__name__)CODE
LOWtools/tcat_ble_client/cli/cli.py47logger = logging.getLogger(__name__)CODE
LOWtools/tcat_ble_client/cli/base_commands.py53logger = logging.getLogger(__name__)CODE
LOWtools/otci/otci/__init__.py57__all__ = [CODE
LOWtools/otci/otci/otci.py2137 def set_dataset_bytes(self, dataset: str, data: bytes) -> None:CODE
LOW…s/harness-automation/autothreadharness/harness_case.py54logger = logging.getLogger(__name__)CODE
LOW…harness-automation/autothreadharness/pdu_controller.py43logger = logging.getLogger(__name__)CODE
LOW…ess-automation/autothreadharness/harness_controller.py38logger = logging.getLogger(__name__)CODE
LOW…s-automation/autothreadharness/rf_shield_controller.py37logger = logging.getLogger(__name__)CODE
LOW…automation/autothreadharness/open_thread_controller.py40__all__ = ['OpenThreadController']CODE
LOW…automation/autothreadharness/open_thread_controller.py41logger = logging.getLogger(__name__)CODE
Redundant / Tautological Comments8 hits · 13 pts
SeverityFileLineSnippetContext
LOWtools/harness-thci/OpenThread.py617 # Set routerselectionjitter to 1 for certain device rolesCOMMENT
LOWtools/gerrit/git-squash-merge.sh114# Check if there is anything stagedCOMMENT
LOWtests/toranj/build.sh94 # Check if the provided log level is validCOMMENT
LOWtests/nexus/verify_1_3_DIAG_TC_1.py356 # Check if it's an RLOC (IID starts with 0000:00ff:fe00)COMMENT
LOWtests/nexus/verify_1_3_DBR_TC_8.py271 # Check if OMR_3 is present in ANY node's Network Data (MLE) or BR_1's RAs.COMMENT
LOW⚡tests/nexus/verify_1_3_GEN_TC_1.py259 # Check if we have diagnostic packets to decide if we should verify themCOMMENT
LOWtests/nexus/verify_retransmission_security.py92 # Check if from LEADER or SSED_1COMMENT
LOWtests/nexus/verify_1_2_MATN_TC_7.py50 # Verify if the default forwarding of multicast on a Primary BBR is correct. Note: this can be changed byCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtools/tcat_ble_client/cli/base_commands.py449Helper function for CLI and commands to establish a new secure connection with a TCAT device. Handles both BLE and STRING
HIGH…ness-simulation/posix/sniffer_sim/sniffer_transport.py75 Receive data sent by other node. Args: bufsize (int): size of buffer for incoming data. STRING
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWexamples/platforms/simulation/misc.c82 // TODO: implement an operation to wake the host from sleep state.COMMENT
LOWsrc/posix/platform/misc.cpp55 // TODO: implement an operation to wake the host from sleep state.COMMENT