Repository Analysis

openthread/openthread

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

14.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of openthread/openthread, a C++ project with 3,984 GitHub stars. SynthScan v2.0 examined 718,973 lines of code across 2248 source files, recording 6484 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 14.0 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

14.0
Adjusted Score
14.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.0K
Stars
C++
Language
719.0K
Lines of Code
2.2K
Files
6.5K
Pattern Hits
2026-07-14
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 69MEDIUM 749LOW 5666

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 6484 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators645 hits · 2220 pts
SeverityFileLineSnippetContext
MEDIUMtools/otci/otci/otci.py3501 # -----------------------------------------------------------COMMENT
MEDIUMtools/otci/otci/otci.py3503 # -----------------------------------------------------------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
MEDIUMtests/toranj/ncp/test-009-insecure-traffic-join.py32# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-009-insecure-traffic-join.py39# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-009-insecure-traffic-join.py45# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/toranj/ncp/test-009-insecure-traffic-join.py50# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/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
MEDIUMtests/toranj/ncp/test-704-multi-radio-scan.py53# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/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
LOWtests/unit/test_nat64.cpp396 // Step 2: Release the mapping table item.COMMENT
LOWtests/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
LOWtests/nexus/verify_1_1_6_1_4.py108 # Step 3: REED_1, REED_2COMMENT
LOWtests/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
LOWtests/nexus/verify_1_1_8_2_2.py113 # Step 0: AllCOMMENT
LOWtests/nexus/verify_1_1_8_2_2.py119 # Step 1: Joiner_1COMMENT
LOWtests/nexus/verify_1_1_8_2_2.py124 # Step 2: CommissionerCOMMENT
LOWtests/nexus/verify_1_1_8_2_2.py129 # Step 3: Joiner_1COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py63 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_1_5_5_5.py68 # Step 2: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py78 # Step 3: Router_3COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py83 # Step 4: Router_1COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py121 # Step 6: Router_1COMMENT
LOWtests/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
LOWtests/nexus/verify_1_2_LP_5_3_8.py72 # Step 0: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py77 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py82 # Step 2: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py154 # Step 6: HarnessCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py159 # Step 7: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py214 # Step 10: HarnessCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py219 # Step 11: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py249 # Step 12: LeaderCOMMENT
LOWtests/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
LOWtests/nexus/verify_1_1_6_3_2.py74 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py79 # Step 2: LeaderCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py119 # Step 4: LeaderCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py128 # Step 5: SED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_3_2.py136 # Step 6: UserCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py141 # Step 7: Test HarnessCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py147 # Step 8: LeaderCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py160 # Step 9: UserCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py167 # Step 10: MED_1 (DUT)COMMENT
LOWtests/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
LOWtests/unit/test_nat64.cpp396 // Step 2: Release the mapping table item.COMMENT
LOWtests/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
LOWtests/nexus/verify_1_1_6_1_4.py108 # Step 3: REED_1, REED_2COMMENT
LOWtests/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
LOWtests/nexus/verify_1_1_8_2_2.py113 # Step 0: AllCOMMENT
LOWtests/nexus/verify_1_1_8_2_2.py119 # Step 1: Joiner_1COMMENT
LOWtests/nexus/verify_1_1_8_2_2.py124 # Step 2: CommissionerCOMMENT
LOWtests/nexus/verify_1_1_8_2_2.py129 # Step 3: Joiner_1COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py63 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_1_5_5_5.py68 # Step 2: REED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py78 # Step 3: Router_3COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py83 # Step 4: Router_1COMMENT
LOWtests/nexus/verify_1_1_5_5_5.py121 # Step 6: Router_1COMMENT
LOWtests/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
LOWtests/nexus/verify_1_2_LP_5_3_8.py72 # Step 0: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py77 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py82 # Step 2: SSED_1COMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py154 # Step 6: HarnessCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py159 # Step 7: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py214 # Step 10: HarnessCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py219 # Step 11: LeaderCOMMENT
LOWtests/nexus/verify_1_2_LP_5_3_8.py249 # Step 12: LeaderCOMMENT
LOWtests/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
LOWtests/nexus/verify_1_1_6_3_2.py74 # Step 1: AllCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py79 # Step 2: LeaderCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py119 # Step 4: LeaderCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py128 # Step 5: SED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_3_2.py136 # Step 6: UserCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py141 # Step 7: Test HarnessCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py147 # Step 8: LeaderCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py160 # Step 9: UserCOMMENT
LOWtests/nexus/verify_1_1_6_3_2.py167 # Step 10: MED_1 (DUT)COMMENT
LOWtests/nexus/verify_1_1_6_3_2.py185 # Step 11: LeaderCOMMENT
1201 more matches not shown…
Over-Commented Block2130 hits · 1940 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 #COMMENT
LOWtools/otci/otci/otci.py2681 # If the Enhanced-ACK Based Probing is enabled, the CLI will output the followingCOMMENT
LOWtools/otci/otci/otci.py3121 def diag_get_radio_state(self) -> str:COMMENT
LOWtools/otci/otci/otci.py3401COMMENT
LOWtools/otci/otci/otci.py3441 :param length: Length of buffer to read or write (default None).COMMENT
LOWtools/otci/otci/otci.py3501 # -----------------------------------------------------------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
2070 more matches not shown…
Hyper-Verbose Identifiers565 hits · 518 pts
SeverityFileLineSnippetContext
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
LOWtools/otci/otci/otci.py617 def get_preferred_partition_id(self) -> PartitionId:CODE
LOWtools/otci/otci/otci.py621 def set_preferred_partition_id(self, parid: int):CODE
LOWtools/otci/otci/otci.py625 def __get_partition_preferred_cmd(self) -> str:CODE
LOWtools/otci/otci/otci.py687 def get_router_upgrade_threshold(self) -> int:CODE
LOWtools/otci/otci/otci.py691 def set_router_upgrade_threshold(self, threshold: int):CODE
LOWtools/otci/otci/otci.py695 def get_router_downgrade_threshold(self):CODE
LOWtools/otci/otci/otci.py699 def set_router_downgrade_threshold(self, threshold: int):CODE
LOWtools/otci/otci/otci.py1112 def srp_server_get_addressmode(self):CODE
LOWtools/otci/otci/otci.py1116 def srp_server_set_addressmode(self, mode: Literal['unicast', 'anycast']):CODE
LOWtools/otci/otci/otci.py1120 def srp_server_get_sequence_number(self) -> int:CODE
LOWtools/otci/otci/otci.py1124 def srp_server_set_sequence_number(self, seq: int):CODE
LOWtools/otci/otci/otci.py1256 def srp_client_enable_autostart(self):CODE
LOWtools/otci/otci/otci.py1260 def srp_client_disable_autostart(self):CODE
LOWtools/otci/otci/otci.py1268 def srp_client_enable_callback(self):CODE
LOWtools/otci/otci/otci.py1272 def srp_client_disable_callback(self):CODE
LOWtools/otci/otci/otci.py1304 def srp_client_get_host_addresses(self) -> List[Ip6Addr]:CODE
LOWtools/otci/otci/otci.py1308 def srp_client_set_host_addresses(self, *addrs: Union[str, ipaddress.IPv6Address]):CODE
LOWtools/otci/otci/otci.py1312 def srp_client_get_host_state(self):CODE
LOWtools/otci/otci/otci.py1366 def srp_client_remove_service(self, instance: str, service: str):CODE
LOWtools/otci/otci/otci.py1374 def srp_client_get_key_lease_interval(self) -> int:CODE
LOWtools/otci/otci/otci.py1378 def srp_client_set_key_lease_interval(self, interval: int):CODE
LOWtools/otci/otci/otci.py1382 def srp_client_get_lease_interval(self) -> int:CODE
LOWtools/otci/otci/otci.py1386 def srp_client_set_lease_interval(self, interval: int):CODE
LOWtools/otci/otci/otci.py1398 def srp_client_get_service_key(self) -> bool:CODE
LOWtools/otci/otci/otci.py1402 def srp_client_enable_service_key(self):CODE
LOWtools/otci/otci/otci.py1406 def srp_client_disable_service_key(self):CODE
LOWtools/otci/otci/otci.py1500 def get_child_supervision_interval(self) -> int:CODE
LOWtools/otci/otci/otci.py1504 def set_child_supervision_interval(self, val: int):CODE
LOWtools/otci/otci/otci.py1510 def get_child_supervision_check_timeout(self) -> int:CODE
LOWtools/otci/otci/otci.py1514 def set_child_supervision_check_timeout(self, val: int):CODE
LOWtools/otci/otci/otci.py1901 def network_data_public_prefix(self, prefix: str, flags: str = 'paos', preference: str = 'med'):CODE
LOWtools/otci/otci/otci.py1904 def network_data_unpublish_prefix(self, prefix: str):CODE
LOWtools/otci/otci/otci.py1907 def network_data_unpublish_dnssrp(self):CODE
LOWtools/otci/otci/otci.py2560 def get_backbone_router_jitter(self) -> int:CODE
LOWtools/otci/otci/otci.py2564 def set_backbone_router_jitter(self, val: int):CODE
LOWtools/otci/otci/otci.py2568 def backbone_router_get_multicast_listeners(self) -> List[Tuple[Ip6Addr, int]]:CODE
LOWtools/otci/otci/otci.py2628 def linkmetrics_request_single(self, peer_addr: Union[str, Ip6Addr], link_metrics_flags: str) -> Dict[str, int]:CODE
LOWtools/otci/otci/otci.py2635 def linkmetrics_request_forward(self, peer_addr: Union[str, Ip6Addr], seriesid: int) -> Dict[str, int]:CODE
LOWtools/otci/otci/otci.py2639 def __parse_linkmetrics_mgmt_response(self, peer_addr: Union[str, Ip6Addr], output: List[str]) -> bool:CODE
LOWtools/otci/otci/otci.py2947 def coap_get_test_resource_path(self) -> str:CODE
LOWtools/otci/otci/otci.py2951 def coap_set_test_resource_path(self, path: str):CODE
LOWtools/otci/otci/otci.py2955 def coap_test_set_resource_content(self, content: str):CODE
LOWtools/otci/otci/otci.py3109 def diag_enable_radio_receive_filter(self):CODE
LOWtools/otci/otci/otci.py3113 def diag_disable_radio_receive_filter(self):CODE
LOWtools/otci/otci/otci.py3117 def diag_set_radio_receive_filter_dest_mac_address(self, dest_mac_address: str):CODE
LOWtools/otci/otci/otci.py3352 def get_network_diagnostics_bytes(self, addr: Union[str, Ip6Addr], tlvs: list[int]) -> str:CODE
LOWtools/otci/otci/otci.py3360 def reset_network_diagnostics(self, addr: Union[str, Ip6Addr], diag_type: list[int]):CODE
LOWtools/otci/otci/otci.py3364 def get_network_diagnostics_non_preferred_channels(self) -> int:CODE
LOWtools/otci/otci/otci.py3368 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
LOWtools/otci/otci/otci.py455 def get_preferred_channel_mask(self) -> int:CODE
505 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
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.py372 print("Error: Ping response payload mismatch.")CODE
LOWtools/tcat_ble_client/cli/base_commands.py473 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 · 104 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.py3214CODE
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.py2462CODE
LOWtools/otci/otci/otci.py2512CODE
LOWtools/otci/otci/otci.py2660CODE
LOWtools/otci/otci/otci.py3383CODE
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
HIGHtests/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
HIGHtests/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.cpp239// 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
MEDIUMtests/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
MEDIUMtests/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
MEDIUMtests/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
MEDIUMtests/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
MEDIUMtests/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
MEDIUMtests/nexus/verify_1_1_9_2_2.py84 # Commissioner without user or harness intervention.COMMENT
MEDIUMtests/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
MEDIUMtests/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.cpp165 // 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
HIGHtools/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.py414CODE
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.py2153CODE
LOWtools/otci/otci/otci.py3004CODE
LOWtools/otci/otci/otci.py3281CODE
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.py2140 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.sh87 # 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
LOWtests/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.py428Helper 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