AI Slop Code Risk Monitor

iNavFlight/inav

SlopCodeMonitor badge for iNavFlight/inav Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

INAV: Navigation-enabled flight control software

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for iNavFlight/inav, a C project with 4,283 GitHub stars. SynthScan examined 3,873,501 lines of code across 12635 source files, recording 15661 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low 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.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
4.3K
Stars
C
Language
3.9M
Lines of Code
12.6K
Files
15.7K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 15.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.5/100 · LOW

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

PR Review Velocity Impact 18.7/100 · LOW

Which changes need focused human review? 15661 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 3HIGH 7MEDIUM 155LOW 15496

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 15661 distinct pattern matches across 19 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.

Over-Commented Block15288 hits · 12272 pts
SeverityFileLineSnippetContext
LOWAGENTS.md141### Conditional CompilationCOMMENT
LOWcmake/validate-pg-for-release.sh1#!/bin/bashCOMMENT
LOWdocs/1wire.md41COMMENT
LOWdocs/development/targets/overview.md61#pragma onceCOMMENT
LOW.github/stale.yml41COMMENT
LOW.github/workflows/ci-size-report.yml1name: CI Size ReportCOMMENT
LOW.github/workflows/ci-size-report.yml21# are pruned to the newest 50 per branch (plus a global cap) so theCOMMENT
LOW.github/workflows/ci-size-report.yml61 steps:COMMENT
LOW.github/workflows/cleanup-pr-test-builds.yml1name: Cleanup PR Test BuildCOMMENT
LOW.github/scripts/fetch-size-baseline.sh1#!/bin/bashCOMMENT
LOW.github/scripts/fetch-size-baseline.sh21# baseline tag found. Nightly baselines exist only for commits that wereCOMMENT
LOW.github/scripts/size-diff-comment.js1// Pure logic for the "PR RAM/Flash usage delta" comment: diffs a PR'sCOMMENT
LOW.github/scripts/publish-size-baseline.sh1#!/bin/bashCOMMENT
LOW.github/scripts/publish-size-baseline.sh21# <report-json> merged size-report.json artifactCOMMENT
LOW.github/scripts/publish-size-baseline.sh81 publish_asset "$COMMIT_TAG" "Size baseline: ${COMMIT_SHA}" \COMMENT
LOW.github/scripts/publish-size-baseline.test.sh1#!/bin/bashCOMMENT
LOW.github/scripts/extract-size-report.sh1#!/bin/bashCOMMENT
LOW…ed/include/uavcan.equipment.range_sensor.Measurement.h1#pragma onceCOMMENT
LOW…ed/include/uavcan.equipment.range_sensor.Measurement.h121#ifdef __cplusplusCOMMENT
LOW…ecan/dsdlc_generated/include/uavcan.tunnel.Targetted.h1#pragma onceCOMMENT
LOW…/dsdlc_generated/include/uavcan.equipment.esc.Status.h1#pragma onceCOMMENT
LOW…/dsdlc_generated/include/uavcan.equipment.esc.Status.h121#ifdef __cplusplusCOMMENT
LOW…dsdlc_generated/include/uavcan.protocol.file.GetInfo.h1#pragma onceCOMMENT
LOW…lc_generated/include/uavcan.equipment.esc.RPMCommand.h1#pragma onceCOMMENT
LOW…sdlc_generated/include/uavcan.protocol.file.Read_res.h1#pragma onceCOMMENT
LOW…/include/uavcan.equipment.air_data.StaticTemperature.h1#pragma onceCOMMENT
LOW…/include/uavcan.equipment.air_data.StaticTemperature.h81#ifdef CANARD_DSDLC_TEST_BUILDCOMMENT
LOW…nerated/include/uavcan.equipment.power.CircuitStatus.h1#pragma onceCOMMENT
LOW…nerated/include/uavcan.equipment.power.CircuitStatus.h101#ifdef __cplusplusCOMMENT
LOW…lc_generated/include/uavcan.protocol.file.Delete_res.h1#pragma onceCOMMENT
LOW…lc_generated/include/uavcan.protocol.file.Delete_res.h61struct uavcan_protocol_file_DeleteResponse sample_uavcan_protocol_file_DeleteResponse_msg(void);COMMENT
LOW…enerated/include/uavcan.protocol.GetDataTypeInfo_res.h1#pragma onceCOMMENT
LOW…enerated/include/uavcan.protocol.GetDataTypeInfo_res.h121#include <canard/cxx_wrappers.h>COMMENT
LOW…/main/Dronecan/dsdlc_generated/include/dronecan_msgs.h1#pragma onceCOMMENT
LOW…/main/Dronecan/dsdlc_generated/include/dronecan_msgs.h21#include "uavcan.equipment.actuator.Status.h"COMMENT
LOW…/main/Dronecan/dsdlc_generated/include/dronecan_msgs.h41#include "uavcan.equipment.esc.StatusExtended.h"COMMENT
LOW…/main/Dronecan/dsdlc_generated/include/dronecan_msgs.h61#include "uavcan.navigation.GlobalNavigationSolution.h"COMMENT
LOW…/main/Dronecan/dsdlc_generated/include/dronecan_msgs.h81#include "uavcan.protocol.dynamic_node_id.server.RequestVote.h"COMMENT
LOW…/main/Dronecan/dsdlc_generated/include/dronecan_msgs.h101#include "uavcan.tunnel.SerialConfig.h"COMMENT
LOW…erated/include/uavcan.equipment.camera_gimbal.Status.h1#pragma onceCOMMENT
LOW…erated/include/uavcan.equipment.camera_gimbal.Status.h121#ifdef CANARD_DSDLC_TEST_BUILDCOMMENT
LOW…dlc_generated/include/uavcan.protocol.debug.KeyValue.h1#pragma onceCOMMENT
LOW…dlc_generated/include/uavcan.protocol.debug.KeyValue.h101#endifCOMMENT
LOW…ed/include/uavcan.equipment.indication.LightsCommand.h1#pragma onceCOMMENT
LOW…ed/include/uavcan.equipment.indication.LightsCommand.h101#include <canard/cxx_wrappers.h>COMMENT
LOW…n/dsdlc_generated/include/uavcan.protocol.file.Write.h1#pragma onceCOMMENT
LOW…vcan.protocol.dynamic_node_id.server.RequestVote_res.h1#pragma onceCOMMENT
LOW…nerated/include/uavcan.equipment.air_data.RawAirData.h1#pragma onceCOMMENT
LOW…include/uavcan.protocol.file.BeginFirmwareUpdate_req.h1#pragma onceCOMMENT
LOW…c_generated/include/uavcan.protocol.debug.LogMessage.h1#pragma onceCOMMENT
LOW…c_generated/include/uavcan.protocol.debug.LogMessage.h121#ifdef DRONECAN_CXX_WRAPPERSCOMMENT
LOW…ed/include/uavcan.equipment.ice.reciprocating.Status.h1#pragma onceCOMMENT
LOW…ed/include/uavcan.equipment.ice.reciprocating.Status.h21#define UAVCAN_EQUIPMENT_ICE_RECIPROCATING_STATUS_FLAG_TEMPERATURE_ABOVE_NOMINAL 32COMMENT
LOW…ed/include/uavcan.equipment.ice.reciprocating.Status.h281 return false; /* success */COMMENT
LOW…_generated/include/uavcan.protocol.GetTransportStats.h1#pragma onceCOMMENT
LOW…an.protocol.dynamic_node_id.server.AppendEntries_res.h1#pragma onceCOMMENT
LOW…de/uavcan.equipment.ice.reciprocating.CylinderStatus.h121#endifCOMMENT
LOW…include/uavcan.protocol.dynamic_node_id.server.Entry.h81#endifCOMMENT
LOW…can/dsdlc_generated/include/dronecan.remoteid.System.h1#pragma onceCOMMENT
LOW…/Dronecan/dsdlc_generated/include/uavcan.tunnel.Call.h1#pragma onceCOMMENT
15228 more matches not shown…
Decorative Section Separators80 hits · 240 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/publish-size-baseline.sh86# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/scripts/publish-size-baseline.sh88# ---------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM7l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM7l_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…DSP_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLld_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…DSP_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLld_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_FVP/cortexM7lfsp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_FVP/cortexM7lfsp_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…DSP_Lib_TestSuite/DspLibTest_FVP/cortexM4lf_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…DSP_Lib_TestSuite/DspLibTest_FVP/cortexM4lf_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/ARMv8MBLl_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/ARMv8MBLl_config.txt11#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLldfsp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLldfsp_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM4l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM4l_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM3l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM3l_config.txt8#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLlfsp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLlfsp_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLl_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/ARMv8MMLl_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_FVP/cortexM7lfdp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_FVP/cortexM7lfdp_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM0l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…/DSP_Lib_TestSuite/DspLibTest_FVP/cortexM0l_config.txt8#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM7l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM7l_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…Lib_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLld_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…Lib_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLld_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…b_TestSuite/DspLibTest_SV_MPS2/cortexM7lfsp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…b_TestSuite/DspLibTest_SV_MPS2/cortexM7lfsp_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…Lib_TestSuite/DspLibTest_SV_MPS2/cortexM4lf_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…Lib_TestSuite/DspLibTest_SV_MPS2/cortexM4lf_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/ARMv8MBLl_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/ARMv8MBLl_config.txt11#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLldfsp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLldfsp_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM4l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM4l_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM3l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM3l_config.txt8#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…b_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLlfsp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…b_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLlfsp_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLl_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/ARMv8MMLl_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…b_TestSuite/DspLibTest_SV_MPS2/cortexM7lfdp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…b_TestSuite/DspLibTest_SV_MPS2/cortexM7lfdp_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM0l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_MPS2/cortexM0l_config.txt8#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_SV_FVP/cortexM7l_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_SV_FVP/cortexM7l_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_FVP/ARMv8MMLld_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_FVP/ARMv8MMLld_config.txt13#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…ib_TestSuite/DspLibTest_SV_FVP/cortexM7lfsp_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…ib_TestSuite/DspLibTest_SV_FVP/cortexM7lfsp_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_FVP/cortexM4lf_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…_Lib_TestSuite/DspLibTest_SV_FVP/cortexM4lf_config.txt9#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_SV_FVP/ARMv8MBLl_config.txt3#----------------------------------------------------------------------------------------------COMMENT
MEDIUM…P_Lib_TestSuite/DspLibTest_SV_FVP/ARMv8MBLl_config.txt11#----------------------------------------------------------------------------------------------COMMENT
20 more matches not shown…
Self-Referential Comments33 hits · 99 pts
SeverityFileLineSnippetContext
MEDIUM…M32H7/Middlewares/Third_Party/mbedTLS/tests/ssl-opt.sh5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…TM32H7/Middlewares/Third_Party/mbedTLS/tests/compat.sh5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…ares/Third_Party/mbedTLS/tests/git-scripts/pre-push.sh4# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…hird_Party/mbedTLS/tests/scripts/travis-log-failure.sh5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…/Third_Party/mbedTLS/tests/scripts/basic-build-test.sh5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…d_Party/mbedTLS/tests/scripts/check-generated-files.sh3# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…d_Party/mbedTLS/tests/scripts/check-generated-files.sh48 # Create a grep regular expression that we can check against theCOMMENT
MEDIUM…Party/mbedTLS/tests/scripts/test_generate_test_code.py19# This file is part of Mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…hird_Party/mbedTLS/tests/scripts/check-python-files.sh3# This file is part of Mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…/Third_Party/mbedTLS/tests/scripts/list-identifiers.sh3# Create a file named identifiers containing identifiers from internal headerCOMMENT
MEDIUM…/Third_Party/mbedTLS/tests/scripts/test-ref-configs.pl5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…hird_Party/mbedTLS/tests/scripts/generate_test_code.py19# This file is part of Mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…ares/Third_Party/mbedTLS/tests/scripts/mbedtls_test.py18# This file is part of Mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…wares/Third_Party/mbedTLS/tests/scripts/check-names.sh3# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…7/Middlewares/Third_Party/mbedTLS/tests/scripts/all.sh5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…s/Third_Party/mbedTLS/tests/scripts/run-test-suites.pl5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…iddlewares/Third_Party/mbedTLS/scripts/bump_version.sh3# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…32H7/Middlewares/Third_Party/mbedTLS/scripts/config.pl3# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…32H7/Middlewares/Third_Party/mbedTLS/scripts/rename.pl3# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…7/Middlewares/Third_Party/mbedTLS/scripts/footprint.sh3# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUM…/Middlewares/Third_Party/mbedTLS/scripts/output_env.sh5# This file is part of mbed TLS (https://tls.mbed.org)COMMENT
MEDIUMsrc/utils/assistnow.py4# Create a file named tokens.yamlCOMMENT
MEDIUMsrc/utils/settings.rb3# This file is part of INAV.COMMENT
MEDIUMsrc/utils/settings.rb14# This file is free software: you may copy, redistribute and/or modifyCOMMENT
MEDIUMsrc/utils/settings.rb19# This file is distributed in the hope that it will be useful, butCOMMENT
MEDIUMsrc/utils/intelhex.rb2## This file is part of INAV.COMMENT
MEDIUMsrc/utils/build_stamp.rb3# This file is part of INAV.COMMENT
MEDIUMsrc/utils/build_stamp.rb14# This file is free software: you may copy, redistribute and/or modifyCOMMENT
MEDIUMsrc/utils/build_stamp.rb19# This file is distributed in the hope that it will be useful, butCOMMENT
MEDIUMsrc/utils/compiler.rb3# This file is part of INAV.COMMENT
MEDIUMsrc/utils/compiler.rb14# This file is free software: you may copy, redistribute and/or modifyCOMMENT
MEDIUMsrc/utils/compiler.rb19# This file is distributed in the hope that it will be useful, butCOMMENT
MEDIUMsrc/utils/draft_rn_settings.rb5## This file is part of INAV.COMMENT
Structural Annotation Overuse42 hits · 70 pts
SeverityFileLineSnippetContext
LOWdocs/Fixed Wing Pitch To Throttle Tuning.md61### Step 1: Baseline TestCOMMENT
LOW⚡docs/Fixed Wing Pitch To Throttle Tuning.md73### Step 2: AdjustCOMMENT
LOW⚡docs/Fixed Wing Pitch To Throttle Tuning.md82### Step 3: IterateCOMMENT
LOW⚡docs/Fixed Wing Pitch To Throttle Tuning.md87### Step 4: Edge CasesCOMMENT
LOWdocs/development/pid-to-servo-computation.md98### Step 1: Apply Servo RateCOMMENT
LOWdocs/development/pid-to-servo-computation.md106### Step 2: Apply Asymmetric ScalingCOMMENT
LOWdocs/development/pid-to-servo-computation.md120### Step 3: Add MidpointCOMMENT
LOWdocs/development/pid-to-servo-computation.md126### Step 4: Constrain to LimitsCOMMENT
LOWdocs/development/Backup Restore Architecture.md48### Step 1: Create the JSON profileCOMMENT
LOWdocs/development/Backup Restore Architecture.md91### Step 2: Register the profileCOMMENT
LOWdocs/development/release-create.md568# Step 1: Publish firmware releaseCOMMENT
LOWdocs/development/release-create.md581# Step 3: Publish configurator release (only after firmware verified in flasher)COMMENT
LOWdocs/development/settings/registration-guide.md17### Step 1: Define Your Configuration StructCOMMENT
LOWdocs/development/settings/registration-guide.md38### Step 2: Declare the Parameter GroupCOMMENT
LOWdocs/development/settings/registration-guide.md83### Step 3: Register the Parameter GroupCOMMENT
LOWdocs/development/settings/registration-guide.md142### Step 4: Provide Default ValuesCOMMENT
LOWdocs/development/settings/registration-guide.md182### Step 5: Add Settings to settings.yamlCOMMENT
LOW⚡docs/development/targets/troubleshooting-guide.md186### Step 1: Verify Basic BuildCOMMENT
LOW⚡docs/development/targets/troubleshooting-guide.md194### Step 2: Compare with Working TargetCOMMENT
LOW⚡docs/development/targets/troubleshooting-guide.md204### Step 3: Check Git HistoryCOMMENT
LOW⚡docs/development/targets/troubleshooting-guide.md214### Step 4: Isolate ProblemCOMMENT
LOWdocs/development/targets/troubleshooting-guide.md227### Step 5: Test on HardwareCOMMENT
LOWdocs/development/targets/creating-targets.md26## Step 1: Create Target DirectoryCOMMENT
LOWdocs/development/targets/creating-targets.md33## Step 2: Create CMakeLists.txtCOMMENT
LOWdocs/development/targets/creating-targets.md50## Step 3: Create target.hCOMMENT
LOWdocs/development/targets/creating-targets.md88## Step 4: Pin Mapping from SchematicCOMMENT
LOWdocs/development/targets/creating-targets.md119## Step 5: Create target.c (Optional)COMMENT
LOWdocs/development/targets/creating-targets.md144## Step 6: Create config.c (Optional)COMMENT
LOWdocs/development/targets/creating-targets.md169## Step 7: Build TargetCOMMENT
LOWdocs/development/targets/creating-targets.md182## Step 8: Test on HardwareCOMMENT
LOWdocs/development/targets/creating-targets.md191## Step 9: Iterate and FixCOMMENT
LOW.github/scripts/fetch-size-baseline.sh3# WARNING: This script is invoked from a GitHub Actions job viaCOMMENT
LOW.github/scripts/publish-size-baseline.sh3# WARNING: This script is invoked from a GitHub Actions job viaCOMMENT
LOW⚡…/Third_Party/mbedTLS/tests/scripts/basic-build-test.sh55# Step 0 - print build environment infoCOMMENT
LOW⚡…/Third_Party/mbedTLS/tests/scripts/basic-build-test.sh65# Step 1 - Make and instrumented build for code coverageCOMMENT
LOW⚡…/Third_Party/mbedTLS/tests/scripts/basic-build-test.sh74# Step 2 - Execute the testsCOMMENT
LOW…/Third_Party/mbedTLS/tests/scripts/basic-build-test.sh101# Step 3 - Process the coverage reportCOMMENT
LOW…/Third_Party/mbedTLS/tests/scripts/basic-build-test.sh106# Step 4 - Summarise the test reportCOMMENT
LOW…sdk/src/rp2_common/pico_bootrom/include/pico/bootrom.h76// NOTE: This function does not validate the buffer for NS access. This must be validated beforeCOMMENT
LOWsrc/main/flight/pid.c2102 // Step 2: Read targetCOMMENT
LOWsrc/main/flight/pid.c2131 // Step 3: Run control for ANGLE_MODE, HORIZON_MODE and ANGLEHOLD_MODECOMMENT
LOWsrc/main/flight/pid.c2177 // Step 4: Run gyro-driven controlCOMMENT
Hyper-Verbose Identifiers57 hits · 58 pts
SeverityFileLineSnippetContext
LOW⚡.github/scripts/compute-region-sizes.test.py24 def test_zero_address_allocated_section_is_counted(self):CODE
LOW⚡.github/scripts/compute-region-sizes.test.py32 def test_non_allocated_sections_are_never_passed_in(self):CODE
LOW⚡.github/scripts/compute-region-sizes.test.py42 def test_normal_ram_region_matching_unaffected(self):CODE
LOW⚡.github/scripts/compute-region-sizes.test.py51 def test_section_outside_any_region_is_dropped(self):CODE
LOW⚡.github/scripts/compute-region-sizes.test.py56 def test_empty_regions_yields_empty_result(self):CODE
LOW.github/scripts/compute-region-sizes.test.py83 def test_itcm_section_at_zero_address_is_allocated(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py78 def test_disabled_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py97 def test_mixed_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py116 def test_empty_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py127 def test_large_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py160 def test_disabled_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py171 def test_mixed_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py182 def test_empty_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py192 def test_large_dependencies_list(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py394 def test_no_end_header_comment(self):STRING
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py463 def test_function_dependencies(self):STRING
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py739 def test_functio_name_on_newline(self, parse_function_arguments_mock,STRING
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py1254 def test_not_defined_dependency(self):STRING
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py1328 def test_no_test_dependencies(self):STRING
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py1462 def test_hex_format_int_param(self):CODE
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py1564 def test_empty_suite_dependencies(self):STRING
LOW…Party/mbedTLS/tests/scripts/test_generate_test_code.py1616 def test_intermediate_data_file(func_mock1,STRING
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py295def gen_dependencies_one_line(dependencies):CODE
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py439def parse_function_dependencies(line):STRING
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py952def read_code_from_input_files(platform_file, helpers_file,STRING
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py1009def generate_intermediate_data_file(data_file, out_data_file,STRING
LOW…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py76 def check_abi_tools_are_installed():CODE
LOW…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py81 def _get_clean_worktree_for_git_revision(self, version):CODE
LOW…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py166 def _get_abi_dumps_from_shared_libraries(self, version):CODE
LOW⚡…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py207 def _remove_children_with_tag(self, parent, tag):CODE
LOW⚡…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py215 def _remove_extra_detail_from_report(self, report_root):CODE
LOW⚡…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py225 def get_abi_compatibility_report(self):CODE
LOW…H7/Middlewares/Third_Party/FreeRTOS/Source/History.txt2006 + In the PC ports: Add function prvSetTickFrequencyDefault() to set theCODE
LOW…H7/Middlewares/Third_Party/FreeRTOS/Source/History.txt2122 + Added function xTaskGetCurrentTaskHandle().CODE
LOW…H7/Middlewares/Third_Party/FreeRTOS/Source/History.txt2252 + The function usPortCheckFreeStackSpace() has been renamedCODE
LOW⚡…/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c2425 Dummy implementation of the callback function vApplicationMallocFailedHook().CODE
LOW⚡…/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c2432 Dummy implementation of the callback function vApplicationDaemonTaskStartupHook().CODE
LOW⚡…/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c2439 Dummy implementation of the callback function vApplicationStackOverflowHook().CODE
LOWsrc/test/mavlink/missions/mavlink_mission_tester.py419 def learn_target_from_heartbeat(self, message: Any) -> None:CODE
LOWsrc/test/mavlink/missions/mavlink_mission_tester.py443 def handle_background_message(self, message: Any) -> None:CODE
LOWsrc/test/mavlink/missions/mavlink_mission_tester.py528 def verify_legacy_download_uses_item_int(self, expected_count: int) -> dict[str, Any]:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py132def wait_for_configured_ports(config: dict) -> None:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py182def build_cli_config_commands(config: dict) -> list[str]:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py244def open_mavlink_tcp_connection(port: int, source_system: int, source_component: int, timeout_s: float):CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py260def open_mavlink_udp_listener(port: int, source_system: int, source_component: int):CODE
LOWsrc/test/mavlink/tunnel/mavlink_msp_tunnel_smoketest.py176def normalize_mavlink_endpoint(endpoint: str) -> str:CODE
LOWsrc/test/mavlink/tunnel/mavlink_msp_tunnel_smoketest.py225 def learn_target_from_heartbeat(self, message: object) -> None:CODE
LOWsrc/test/mavlink/tunnel/mavlink_msp_tunnel_smoketest.py354 def wait_for_reboot_reconnect(self, timeout_s: float) -> None:CODE
LOW…est/mavlink/routing/mavlink_routing_compliance_test.py84def collect_command_observations(connections: Dict[str, Any], command_id: int, observation_window_s: float) -> Dict[str,CODE
LOWsrc/test/mavlink/ports/mav_multi_benchmark.py132def build_cli_config_commands(config: Dict[str, Any], mavlink_port_count: int) -> List[str]:CODE
LOWsrc/test/mavlink/ports/mav_multi_benchmark.py207def open_mavlink_tcp_connection(port: int, source_system: int, source_component: int, timeout_s: float) -> Any:CODE
LOWsrc/test/mavlink/ports/mav_multi_benchmark.py690def summarize_command_failures(port_result: Dict[int, Dict[str, Any]]) -> Dict[str, float]:CODE
LOWsrc/utils/check_msp.py87def reject_duplicate_json_keys(pairs: list[tuple[str, Any]]) -> dict[str, Any]:CODE
LOWsrc/utils/check_msp.py102def strip_block_comments_preserve_lines(text: str) -> str:CODE
LOWsrc/utils/openocd_flash.py10def openocd_telnet_await_prompt(s):CODE
LOWsrc/utils/gen_msp_md.py175def flatten_fields_with_repeats(fields: List[Dict[str, Any]]) -> List[Dict[str, Any]]:CODE
LOWsrc/main/drivers/dronecan/libcanard/canard.h464 * the function canardGetPoolAllocatorStatistics().COMMENT
Slop Phrases25 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUM…/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_jpeg.c142 (#) To control JPEG state you can use the following function: HAL_JPEG_GetState()CODE
MEDIUM…/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.c81 (#) To control LTDC state you can use the following function: HAL_LTDC_GetState()CODE
MEDIUM…/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dcmi.c53 (#) To control DCMI state you can use the function HAL_DCMI_GetState().CODE
MEDIUM…7/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dsi.c66 (#) To control DSI state you can use the following function: HAL_DSI_GetState()CODE
MEDIUM…/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dcmi.c53 (#) To control DCMI state you can use the function HAL_DCMI_GetState().CODE
MEDIUM…/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_ltdc.c81 (#) To control LTDC state you can use the following function: HAL_LTDC_GetState()CODE
MEDIUM…7/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dsi.c66 (#) To control DSI state you can use the following function: HAL_DSI_GetState()CODE
MEDIUM…/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_jpeg.c142 (#) To control JPEG state you can use the following function: HAL_JPEG_GetState()CODE
MEDIUM…IS/docs/RTOS2/html/group__CMSIS__RTOS__EventFlags.html170<p>Here is a simple example that shows how two thread can communicate with each others using event flags:</p>CODE
MEDIUM…TM32H7/Drivers/CMSIS/docs/SVD/html/svd_Example_pg.html122 for demonstration purposes only.CODE
MEDIUM…SIS/docs/RTOS/html/group__CMSIS__RTOS__SignalMgmt.html149<p>Here is a simple example that shows how two thread can communicate with each others using signals:</p>CODE
LOW…d_Party/LwIP/doc/doxygen/output/html/group__netif.html402IPv6: Don't forget to call <a class="el" href="group__netif__ip6.html#gae864211a5eb052deb5da7bc7e3427fb9">netif_create_iCODE
LOW…/STM32H7/Middlewares/Third_Party/LwIP/src/core/netif.c269 * IPv6: Don't forget to call netif_create_ip6_linklocal_address() afterCOMMENT
LOW…lewares/Third_Party/mbedTLS/include/mbedtls/blowfish.h42#define MBEDTLS_BLOWFISH_ROUNDS 16 /**< Rounds to use. When increasing this value, make sure to extend the COMMENT
MEDIUM…Drivers/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c52 (#) To control CAN events you can use one of the following two methods:CODE
MEDIUM…rivers/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c49 (#) To control HASH events you can use one of the following wo methods:CODE
MEDIUM…rivers/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c36 (#) To control CRYP events you can use one of the following two methods:CODE
MEDIUM…Drivers/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c40 (#) Optionally, if the Circular mode is enabled, you can use the Double buffer mode by configuringCODE
MEDIUM…Drivers/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c64 (#) To control DMA events you can use one of the following two methods:CODE
MEDIUM…Drivers/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c74 (#) Optionally, if Circular mode and Double Buffer mode are enabled, you can modifyCODE
MEDIUM…_extract/stm32f7xx_hal_driver/Src/stm32f7xx_hal_jpeg.c142 (#) To control JPEG state you can use the following function: HAL_JPEG_GetState()CODE
MEDIUM…_extract/stm32f7xx_hal_driver/Src/stm32f7xx_hal_ltdc.c81 (#) To control LTDC state you can use the following function: HAL_LTDC_GetState()CODE
MEDIUM…_extract/stm32f7xx_hal_driver/Src/stm32f7xx_hal_dcmi.c53 (#) To control DCMI state you can use the function HAL_DCMI_GetState().CODE
MEDIUM…7_extract/stm32f7xx_hal_driver/Src/stm32f7xx_hal_dsi.c66 (#) To control DSI state you can use the following function: HAL_DSI_GetState()CODE
LOWsrc/main/drivers/exti.c185 // don't forget to match cleanup with configCOMMENT
Excessive Try-Catch Wrapping26 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM⚡…2H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog_SV.py14 print ("Error: Unkown toolchain '{0}'".format(toolchain))CODE
MEDIUM⚡…2H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog_SV.py18 print ("Error: Unkown core '{0}'".format(core))CODE
MEDIUM⚡…2H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog_SV.py22 print ("Error: Unkown test '{0}'".format(test))CODE
MEDIUM⚡…TM32H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog.py14 print ("Error: Unkown toolchain '{0}'".format(toolchain))CODE
MEDIUM⚡…TM32H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog.py18 print ("Error: Unkown core '{0}'".format(core))CODE
MEDIUM⚡…TM32H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog.py22 print ("Error: Unkown test '{0}'".format(test))CODE
MEDIUM…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py368 print("Error: {} is not a directory".format(abi_args.report_dir))CODE
LOW…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py398 except Exception: # pylint: disable=broad-exceptCODE
MEDIUM…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py301def run_main():CODE
MEDIUMsrc/test/mock_msp_gps.py344 print("Error: uNAVlib not installed. Install with:")CODE
MEDIUMsrc/test/mock_msp_gps.py371 print(f"Error: Could not connect to {device}")CODE
MEDIUMsrc/test/mock_msp_gps.py398 print(f"Error: Could not reconnect to {device}")CODE
LOWsrc/test/mock_msp_gps.py414 except Exception as e:CODE
MEDIUMsrc/test/mock_msp_gps.py415 print(f"Error: {e}")CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py401 except Exception as exc:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py417 except Exception as exc:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py438 except Exception as exc:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py455 except Exception as exc:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py811 except Exception as exc:CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py847 except Exception:CODE
MEDIUMsrc/test/mavlink/sanity/mavlink_sitl_sanity.py54def _reader(self) -> None:CODE
LOWsrc/utils/gen_enum_md.py63 except Exception:CODE
MEDIUMsrc/utils/gen_enum_md.py401 print(f"Error: {path} not found", file=sys.stderr)CODE
LOWsrc/utils/gen_msp_md.py348 except Exception:CODE
LOWsrc/main/target/RP2350_PICO/debug/openocd_helper.py66 except Exception:CODE
LOWsrc/main/target/RP2350_PICO/debug/openocd_helper.py90 except Exception as e:CODE
Hallucination Indicators3 hits · 40 pts
SeverityFileLineSnippetContext
CRITICAL…ty/LwIP/doc/doxygen/output/html/group__snmp__core.html256<p>'device enterprise oid' is used for 'device OID' field in trap PDU's (for identification of generating device) as welCODE
CRITICAL…Middlewares/Third_Party/LwIP/src/apps/snmp/snmp_core.c255 * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a)COMMENT
CRITICAL…Middlewares/Third_Party/LwIP/src/apps/snmp/snmp_core.c256 * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b)COMMENT
Deep Nesting34 hits · 34 pts
SeverityFileLineSnippetContext
LOW.github/scripts/check-pg-versions.py33CODE
LOW…32H7/Drivers/CMSIS/NN/Scripts/NNFunctions/table_gen.py40CODE
LOW…2H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog_SV.py12CODE
LOW…STM32H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/log2txt.py9CODE
LOW…TM32H7/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/parseLog.py12CODE
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py459CODE
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py535CODE
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py595CODE
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py664CODE
LOW…ares/Third_Party/mbedTLS/tests/scripts/mbedtls_test.py249CODE
LOW…wares/Third_Party/mbedTLS/tests/scripts/check-files.py239CODE
LOW…7/Middlewares/Third_Party/mbedTLS/scripts/abi_check.py225CODE
LOWsrc/test/mavlink/missions/mavlink_mission_tester.py734CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py116CODE
LOW…est/mavlink/routing/mavlink_routing_compliance_test.py84CODE
LOWsrc/test/mavlink/ports/mav_multi_benchmark.py67CODE
LOWsrc/test/mavlink/ports/mav_multi_benchmark.py227CODE
LOWsrc/utils/get_all_inav_enums_h.py30CODE
LOWsrc/utils/rename-ifdefs.py63CODE
LOWsrc/utils/rename-ifdefs.py64CODE
LOWsrc/utils/openocd_flash.py52CODE
LOWsrc/utils/bf2inav.py582CODE
LOWsrc/utils/bf2inav.py756CODE
LOWsrc/utils/bf2inav.py948CODE
LOWsrc/utils/gen_enum_md.py37CODE
LOWsrc/utils/gen_enum_md.py201CODE
LOWsrc/utils/gen_msp_md.py56CODE
LOWsrc/utils/gen_msp_md.py112CODE
LOWsrc/utils/gen_msp_md.py175CODE
LOWsrc/utils/update_cli_docs.py45CODE
LOWsrc/utils/update_cli_docs.py138CODE
LOWsrc/utils/update_cli_docs.py165CODE
LOWsrc/main/target/RP2350_PICO/debug/openocd_helper.py71CODE
LOWsrc/main/target/RP2350_PICO/debug/openocd_helper.py117CODE
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsrc/test/mock_msp_gps.py94except:CODE
HIGHsrc/test/mavlink/ports/mav_multi_benchmark.py366except (ConnectionRefusedError, OSError):CODE
HIGHsrc/test/mavlink/ports/mav_multi_benchmark.py512except (ConnectionRefusedError, OSError):CODE
HIGHsrc/utils/scan_target_headers.py42except IndexError:CODE
HIGHsrc/main/target/RP2350_PICO/debug/openocd_helper.py66except Exception:CODE
HIGHsrc/main/target/RP2350_PICO/debug/openocd_helper.py152except ValueError:CODE
Unused Imports28 hits · 28 pts
SeverityFileLineSnippetContext
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…ain/STM32H7/Drivers/CMSIS/DSP/PythonWrapper/example.py4CODE
LOW…Third_Party/OpenAMP/open-amp/docs/img-src/gen-graph.py1CODE
LOWsrc/test/mock_msp_gps.py30CODE
LOWsrc/test/mavlink/missions/mavlink_mission_tester.py13CODE
LOWsrc/test/mavlink/sanity/mavlink_sitl_sanity.py8CODE
LOWsrc/test/mavlink/sanity/mavlink_test_rc.py8CODE
LOWsrc/test/mavlink/tunnel/mavlink_msp_tunnel_smoketest.py8CODE
LOW…est/mavlink/routing/mavlink_routing_compliance_test.py7CODE
LOWsrc/test/mavlink/ports/mav_multi_benchmark.py8CODE
LOWsrc/test/mavlink/ports/mav_multi_sweep.py8CODE
LOWsrc/utils/elf2uf2.py11CODE
LOWsrc/utils/check_msp.py21CODE
LOWsrc/utils/assistnow.py12CODE
LOWsrc/utils/assistnow.py13CODE
LOWsrc/utils/assistnow.py14CODE
LOWsrc/utils/assistnow.py18CODE
LOWsrc/utils/openocd_flash.py3CODE
LOWsrc/utils/bf2inav.py16CODE
LOWsrc/utils/gen_msp_md.py17CODE
AI Slop Vocabulary7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM…SIS/docs/RTOS2/html/group__CMSIS__RTOS__MutexMgmt.html347<p>Robust mutexes are automatically released if the owning thread is terminated (either by <a class="el" href="group__CMCODE
MEDIUM…SIS/docs/RTOS2/html/group__CMSIS__RTOS__MutexMgmt.html365</div><!-- fragment --><p>Due to <a class="el" href="group__CMSIS__RTOS__MutexMgmt.html#gaf0e1dee376798b4d516d1649815267CODE
LOW…iddlewares/Third_Party/LwIP/src/include/lwip/sockets.h205#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
MEDIUM…src/rp2350/hardware_regs/include/hardware/regs/rp_ap.h650// manager and the switched-core. Essentially that is everythjingCOMMENT
MEDIUMlib/main/pico-sdk/src/rp2_common/pico_stdlib/stdlib.c18 // this is mostly for backwards compatibility - stdio_uart_init is a bit more nuanced, and usually likely to be presCOMMENT
MEDIUMsrc/main/drivers/sdcard/sdmmc_sdio_hal.c213 // Setting all the SDIO pins to high for a short time results in more robustCOMMENT
MEDIUMsrc/main/terrain/terrain_nav_hold_core.h147// that the switch to the stock writer is seamlessCOMMENT
Overly Generic Function Names13 hits · 13 pts
SeverityFileLineSnippetContext
LOW…/main/STM32H7/Drivers/CMSIS/docs/RTOS2/html/navtree.js43function getData(varName)CODE
LOW…b/main/STM32H7/Drivers/CMSIS/docs/Core/html/navtree.js48function getData(varName)CODE
LOWlib/main/STM32H7/Drivers/CMSIS/docs/NN/html/navtree.js26function getData(varName)CODE
LOW…main/STM32H7/Drivers/CMSIS/docs/Core_A/html/navtree.js38function getData(varName)CODE
LOW…ain/STM32H7/Drivers/CMSIS/docs/General/html/navtree.js27function getData(varName)CODE
LOW…main/STM32H7/Drivers/CMSIS/docs/Driver/html/navtree.js58function getData(varName)CODE
LOW…b/main/STM32H7/Drivers/CMSIS/docs/Zone/html/navtree.js28function getData(varName)CODE
LOW…b/main/STM32H7/Drivers/CMSIS/docs/Pack/html/navtree.js121function getData(varName)CODE
LOWlib/main/STM32H7/Drivers/CMSIS/docs/SVD/html/navtree.js24function getData(varName)CODE
LOW…b/main/STM32H7/Drivers/CMSIS/docs/RTOS/html/navtree.js41function getData(varName)CODE
LOWlib/main/STM32H7/Drivers/CMSIS/docs/DAP/html/navtree.js21function getData(varName)CODE
LOWlib/main/STM32H7/Drivers/CMSIS/docs/DSP/html/navtree.js30function getData(varName)CODE
LOW…es/Third_Party/LwIP/doc/doxygen/output/html/navtree.js5function getData(varName)CODE
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWcmake/docker.sh13# Check if CMake has never been initializedCOMMENT
LOWcmake/docker.sh18# Check if CMake was initialized for a different Git revision (new targets may have been added)COMMENT
LOW…M32H7/Middlewares/Third_Party/mbedTLS/tests/ssl-opt.sh457 # Check if the ServerHello time was printedCOMMENT
LOW…M32H7/Middlewares/Third_Party/mbedTLS/tests/ssl-opt.sh556 # Check if test uses filesCOMMENT
LOW…d_Party/mbedTLS/tests/scripts/check-generated-files.sh9# Check if generated files are up-to-date.COMMENT
LOW…d_Party/mbedTLS/tests/scripts/check-generated-files.sh59 # Check if there are any new filesCOMMENT
LOW…32H7/Middlewares/Third_Party/mbedTLS/scripts/config.pl140 # Check if the argument is an optionCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/main/common/filter.c211 // Check for Nyquist frequency and if it's not possible to initialize filter as requested - set to no filtering at aCOMMENT
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/main/flight/mixer.c991 // airmode - we need to check if we are allowing navigation to override MOTOR_STOPCOMMENT
LOWsrc/main/flight/pid.c2102 // Step 2: Read targetCOMMENT
LOWsrc/main/flight/pid.c2131 // Step 3: Run control for ANGLE_MODE, HORIZON_MODE and ANGLEHOLD_MODECOMMENT
LOWsrc/main/flight/pid.c2177 // Step 4: Run gyro-driven controlCOMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…hird_Party/mbedTLS/tests/scripts/generate_test_code.py661CODE
LOW…ares/Third_Party/mbedTLS/tests/scripts/mbedtls_test.py84CODE
LOWsrc/test/mock_msp_gps.py98CODE
LOWsrc/test/mavlink/missions/mavlink_mission_tester.py170CODE
LOWsrc/utils/declination.py165CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…M32H7/Middlewares/Third_Party/mbedTLS/tests/ssl-opt.sh3241# Tests for event-driven I/O: exercise a variety of handshake flowsCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…est/mavlink/routing/mavlink_routing_compliance_test.py55def set_source_identity(connection: Any, system_id: int, component_id: int) -> None:CODE