Repository Analysis

mavlink/qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)

7.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of mavlink/qgroundcontrol, a C++ project with 4,876 GitHub stars. SynthScan v2.0 examined 515,064 lines of code across 2364 source files, recording 2215 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 7.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).

7.0
Adjusted Score
7.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
4.9K
Stars
C++
Language
515.1K
Lines of Code
2.4K
Files
2.2K
Pattern Hits
2026-08-29
Scan Date
0.00
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 8MEDIUM 596LOW 1611

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 2215 distinct pattern matches across 16 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 Separators537 hits · 1761 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt1# ============================================================================COMMENT
MEDIUMCMakeLists.txt3# ============================================================================COMMENT
MEDIUMCMakeLists.txt7# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt9# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt21# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt23# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt29# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt31# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt35# ============================================================================COMMENT
MEDIUMCMakeLists.txt37# ============================================================================COMMENT
MEDIUMCMakeLists.txt81# ============================================================================COMMENT
MEDIUMCMakeLists.txt83# ============================================================================COMMENT
MEDIUMCMakeLists.txt85# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt87# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt106# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt108# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt111# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt113# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt118# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt120# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt128# ============================================================================COMMENT
MEDIUMCMakeLists.txt130# ============================================================================COMMENT
MEDIUMCMakeLists.txt140# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt142# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt153# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt155# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt158# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt160# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt165# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt167# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt176# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt178# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt380# ============================================================================COMMENT
MEDIUMCMakeLists.txt382# ============================================================================COMMENT
MEDIUMCMakeLists.txt389# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt391# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt472# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt474# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt482# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt484# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt503# ============================================================================COMMENT
MEDIUMCMakeLists.txt505# ============================================================================COMMENT
MEDIUMCMakeLists.txt509# ============================================================================COMMENT
MEDIUMCMakeLists.txt511# ============================================================================COMMENT
MEDIUMCMakeLists.txt199# ============================================================================COMMENT
MEDIUMCMakeLists.txt201# ============================================================================COMMENT
MEDIUMCMakeLists.txt217# ============================================================================COMMENT
MEDIUMCMakeLists.txt219# ============================================================================COMMENT
MEDIUMCMakeLists.txt285# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt287# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt300# ============================================================================COMMENT
MEDIUMCMakeLists.txt302# ============================================================================COMMENT
MEDIUMCMakeLists.txt346# ============================================================================COMMENT
MEDIUMCMakeLists.txt348# ============================================================================COMMENT
MEDIUMCMakeLists.txt402# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt404# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt416# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt418# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt447# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt449# ----------------------------------------------------------------------------COMMENT
477 more matches not shown…
Hyper-Verbose Identifiers816 hits · 895 pts
SeverityFileLineSnippetContext
LOWtools/pre_commit.py46def ensure_precommit_available() -> bool:CODE
LOWtools/check_deps.py146def parse_gstreamer_package_versions(index_html: str) -> set[tuple[int, int, int]]:CODE
LOWtools/check_deps.py154def latest_common_gstreamer_patch(CODE
LOWtools/check_deps.py180def fetch_gstreamer_package_index(url: str) -> str | None:CODE
LOWtools/check_deps.py216def fetch_latest_common_gstreamer_patch(configured_version: str) -> str | None:CODE
LOWtools/setup/install_qt.py72def resolve_windows_host_arch(arch: str) -> str:CODE
LOWtools/setup/install_dependencies/_packages.py392def _get_categorized_packages(CODE
LOWtools/setup/install_dependencies/_common.py111def run_apt_install_with_retry(CODE
LOWtools/setup/install_dependencies/_common.py146def run_dnf_install_with_retry(CODE
LOWtools/setup/install_dependencies/_common.py164def run_pacman_install_with_retry(CODE
LOWtools/setup/install_dependencies/_common.py248def check_apt_package_available(package: str) -> bool:CODE
LOWtools/setup/install_dependencies/_common.py263def get_available_debian_packages(category: str) -> list[str]:CODE
LOWtools/setup/install_dependencies/_debian.py38def resolve_package_alternatives(packages: list[str]) -> list[str]:CODE
LOWtools/setup/install_dependencies/_windows.py107def install_windows_gstreamer(version: str, dry_run: bool = False) -> bool:CODE
LOWtools/tests/test_tool_version.py14def test_probe_version_three_components() -> None:CODE
LOWtools/tests/test_tool_version.py25def test_probe_version_two_components() -> None:CODE
LOWtools/tests/test_tool_version.py33def test_probe_version_uses_stderr_when_stdout_empty() -> None:CODE
LOWtools/tests/test_tool_version.py41def test_probe_version_missing_tool() -> None:CODE
LOWtools/tests/test_tool_version.py46def test_probe_version_nonzero_exit() -> None:CODE
LOWtools/tests/test_tool_version.py54def test_probe_version_unparseable() -> None:CODE
LOWtools/tests/test_tool_version.py62def test_probe_version_custom_pattern() -> None:CODE
LOWtools/tests/test_tool_version.py71def test_probe_version_custom_args() -> None:CODE
LOWtools/tests/test_tool_version.py83def test_version_prefix_matches_shared_components() -> None:CODE
LOWtools/tests/test_proc.py19def test_run_captured_returns_completed_process() -> None:CODE
LOWtools/tests/test_proc.py26def test_run_captured_check_raises() -> None:CODE
LOWtools/tests/test_proc.py31def test_run_captured_failing_command_does_not_raise_by_default() -> None:CODE
LOWtools/tests/test_proc.py41def test_run_checked_with_retry_uses_linear_backoff() -> None:CODE
LOWtools/tests/test_proc.py69def test_run_checked_with_retry_rejects_invalid_limits(kwargs: dict, message: str) -> None:CODE
LOWtools/tests/test_proc.py74def test_run_checked_with_retry_rejects_empty_command() -> None:CODE
LOWtools/tests/test_proc.py79def test_run_text_returns_stdout() -> None:CODE
LOWtools/tests/test_proc.py83def test_run_text_default_on_missing_binary() -> None:CODE
LOWtools/tests/test_proc.py87def test_run_text_default_on_nonzero_exit() -> None:CODE
LOWtools/tests/test_proc.py91def test_run_tee_streams_output_and_returns_exit_code(tmp_path: Path) -> None:CODE
LOWtools/tests/test_proc.py97def test_run_tee_falls_back_without_bash(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtools/tests/test_proc.py104def test_run_tee_resolves_relative_output_before_changing_cwd(CODE
LOWtools/tests/test_build_gstreamer.py24def test_detect_jobs_with_override() -> None:CODE
LOWtools/tests/test_build_gstreamer.py28def test_detect_jobs_without_override() -> None:CODE
LOWtools/tests/test_build_gstreamer.py33def test_detect_jobs_fallback_when_cpu_count_none() -> None:CODE
LOWtools/tests/test_build_gstreamer.py53def test_build_config_defaults(tmp_path: Path) -> None:CODE
LOWtools/tests/test_build_gstreamer.py61def test_build_config_custom_prefix(tmp_path: Path) -> None:CODE
LOWtools/tests/test_build_gstreamer.py67def test_build_config_archive_name() -> None:CODE
LOWtools/tests/test_build_gstreamer.py72def test_build_config_archive_name_simulator() -> None:CODE
LOWtools/tests/test_build_gstreamer.py77def test_get_meson_args_contains_prefix(tmp_path: Path) -> None:CODE
LOWtools/tests/test_build_gstreamer.py86def test_get_meson_args_macos_arch_flags(tmp_path: Path) -> None:CODE
LOWtools/tests/test_build_gstreamer.py94def test_get_meson_args_macos_universal_no_arch_flags(tmp_path: Path) -> None:CODE
LOWtools/tests/test_build_gstreamer.py102def test_get_meson_args_linux_no_arch_flags(tmp_path: Path) -> None:CODE
LOWtools/tests/test_build_gstreamer.py109def test_get_meson_args_includes_plugins(tmp_path: Path) -> None:CODE
LOWtools/tests/test_net.py11def test_read_url_text_decodes_response() -> None:CODE
LOWtools/tests/test_common_docs.py10def test_common_readme_indexes_every_shared_module() -> None:CODE
LOWtools/tests/test_coverage.py9def test_build_step_summary_includes_metrics() -> None:CODE
LOWtools/tests/test_xml.py14def test_parser_returns_trees_for_plain_and_doctype_xml(tmp_path: Path) -> None:CODE
LOWtools/tests/test_xml.py29def test_parser_rejects_entity_declarations(tmp_path: Path) -> None:CODE
LOWtools/tests/test_vehicle_null_check.py33def test_detects_unsafe_direct_access(sample_violations: list[dict]) -> None:CODE
LOWtools/tests/test_vehicle_null_check.py37def test_detects_unsafe_variable_use(sample_violations: list[dict]) -> None:CODE
LOWtools/tests/test_vehicle_null_check.py41def test_detects_unsafe_get_parameter(sample_violations: list[dict]) -> None:CODE
LOWtools/tests/test_vehicle_null_check.py45def test_ignores_safe_patterns(sample_violations: list[dict]) -> None:CODE
LOWtools/tests/test_vehicle_null_check.py59def test_exit_code_on_violations() -> None:CODE
LOWtools/tests/test_vehicle_null_check.py63def test_exit_code_no_violations(tmp_path: Path) -> None:CODE
LOWtools/tests/test_vehicle_null_check.py81def test_analyze_directory_finds_fixture_violations() -> None:CODE
LOWtools/tests/test_deps.py66def test_pip_install_prefers_project_venv_with_uv(CODE
756 more matches not shown…
Over-Commented Block371 hits · 366 pts
SeverityFileLineSnippetContext
LOWtools/coding-style/CodingStyle.h1// This is an example class header file which is used to describe the QGroundControlCOMMENT
LOWtools/coding-style/CodingStyle.h21// Note how the Qt headers, System headers and the QGroundControl headers above are kept in separate groupsCOMMENT
LOWtools/coding-style/CodingStyle.h41/// Class names are PascalCase. If you override any Qt base class to provide a genericCOMMENT
LOWtools/debuggers/profile.sh1#!/usr/bin/env bashCOMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py501# JS module imports instead.COMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py541RE_BND_LIST_PROP = re.compile(r'property\s+list\s*<')COMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py561# status===Loader.Ready. Binding to Loader.item.prop without aCOMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py581RE_LDR_SOURCE = re.compile(r'^\s*source\s*:')COMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py601# DEL-3: connect() in Component.onCompleted (survives delegate destruction).COMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py621# STA-2: Transition without from/to (catch-all).COMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py641# IMG-2: Image with network source without asynchronous:trueCOMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py681# (glyph shaping, line breaking). Use scale transform on the TextCOMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py701COMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py721COMMENT
LOW…-example/src/MissionManager/PerimeterScanComplexItem.h1#pragma onceCOMMENT
LOWtest/UnitTestList.h1#pragma onceCOMMENT
LOWtest/QmlUITests/RemoteIDSettingsUITest.h1#pragma onceCOMMENT
LOWtest/QmlUITests/QmlUITestBase.h21/// The base class overrides cleanup() to call stopUI() automatically, so theCOMMENT
LOWtest/QmlUITests/QmlUITestBase.h61 /// Convenience: closeUIWindow() followed by destroyUIEngine().COMMENT
LOWtest/QmlUITests/QmlUITestBase.h81 /// the item cannot be found or cannot be clicked.COMMENT
LOWtest/QmlUITests/QmlUITestBase.h101 /// Clicks the Q logo, waits up to \a timeoutMs for the entry to appear, thenCOMMENT
LOWtest/QmlUITests/QmlUITestBase.h121COMMENT
LOWtest/QmlUITests/QmlUITestBase.h141 /// item is missing, the property does not exist, or the value never matches.COMMENT
LOWtest/QmlUITests/QmlUITestBase.h161 /// std::nullopt when it cannot be determined (caller must fail the test).COMMENT
LOWtest/QmlUITests/QmlUITestBase.h181 ///COMMENT
LOWtest/QmlUITests/VehicleConfigUITestBase.h21 void navigateToConfigureView();COMMENT
LOWtest/QmlUITests/VehicleConfigUITestBase.h41COMMENT
LOWtest/QmlUITests/VehicleConfigUITestBase.h61 /// callers must check QTest::currentTestFailed() after calling.COMMENT
LOWtest/QmlUITests/AppCloseWarningUITest.h1#pragma onceCOMMENT
LOWtest/QmlUITests/APMSensorsCalibrationUITest.h1#pragma onceCOMMENT
LOWtest/Utilities/QGCCommandLineParserTest.h1#pragma onceCOMMENT
LOWtest/Utilities/StateMachine/states/StateTestCommon.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/UnitTest.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/UnitTest.h41// ============================================================================COMMENT
LOWtest/UnitTestFramework/UnitTest.h61/// @param labels The labels to formatCOMMENT
LOWtest/UnitTestFramework/UnitTest.h81/// Register a pure-logic test that needs no QGCApplication (no QML engine, no vehicle,COMMENT
LOWtest/UnitTestFramework/UnitTest.h141/// Declare a parameterized test function pairCOMMENT
LOWtest/UnitTestFramework/UnitTest.h421 static void _addTest(UnitTest* test);COMMENT
LOWtest/UnitTestFramework/UnitTest.h461 /// Emits a one-time failure context dump for the currently running test function.COMMENT
LOWtest/UnitTestFramework/UnitTest.h481 /// Verify and consume the next pending expectLogMessage() expectation.COMMENT
LOWtest/UnitTestFramework/UnitTestTileGenerator.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/UnitTestTileGenerator.h21/// Initializes the global map engine (tile cache worker) with a fresh temp databaseCOMMENT
LOWtest/UnitTestFramework/MultiSignalSpy.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/MultiSignalSpy.h21/// signal counts, wait for signals, and extract arguments.COMMENT
LOWtest/UnitTestFramework/BaseClasses/StateMachineTest.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/BaseClasses/StateMachineTest.h21/// void _testMyState() {COMMENT
LOWtest/UnitTestFramework/BaseClasses/MissionTest.h21/// @codeCOMMENT
LOWtest/UnitTestFramework/BaseClasses/MissionTest.h81/// Example usage:COMMENT
LOWtest/UnitTestFramework/BaseClasses/ParameterTest.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/BaseClasses/TestBaseClasses.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/BaseClasses/JsonTest.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/BaseClasses/VehicleTest.h41/// @fileCOMMENT
LOWtest/UnitTestFramework/BaseClasses/CommsTest.h1#pragma onceCOMMENT
LOW…itTestFramework/BaseClasses/VehicleTestManualConnect.h1#pragma onceCOMMENT
LOWtest/UnitTestFramework/BaseClasses/TerrainTest.h1#pragma onceCOMMENT
LOW…st/UnitTestFramework/PropertyTesting/PropertyTesting.h1#pragma onceCOMMENT
LOW…st/UnitTestFramework/PropertyTesting/PropertyTesting.h21/// const auto lat = *rc::gen::inRange(-90.0, 90.0);COMMENT
LOW…st/UnitTestFramework/PropertyTesting/PropertyTesting.h41///COMMENT
LOW…st/UnitTestFramework/PropertyTesting/PropertyTesting.h61/// RC_TAG("label"); // Tag unconditionallyCOMMENT
LOW…st/UnitTestFramework/PropertyTesting/PropertyTesting.h81/// @param name Description of the property being testedCOMMENT
311 more matches not shown…
Unused Imports285 hits · 262 pts
SeverityFileLineSnippetContext
LOWtools/moccache.py32CODE
LOWtools/generate_docs.py4CODE
LOWtools/pre_commit.py4CODE
LOWtools/build_profile.py4CODE
LOWtools/release.py15CODE
LOWtools/clean.py11CODE
LOWtools/configure.py17CODE
LOWtools/run_tests.py16CODE
LOWtools/_bootstrap.py3CODE
LOWtools/check_deps.py4CODE
LOWtools/android_mem_capture.py18CODE
LOWtools/coverage.py4CODE
LOWtools/analyze.py20CODE
LOWtools/analyzers/cppcheck.py3CODE
LOWtools/analyzers/clang_format.py3CODE
LOWtools/analyzers/clazy.py3CODE
LOWtools/analyzers/clang_tidy.py3CODE
LOWtools/analyzers/qmllint.py3CODE
LOWtools/setup/install_python.py14CODE
LOWtools/setup/build_android_openssl.py20CODE
LOWtools/setup/build-gstreamer.py28CODE
LOWtools/setup/install_qt.py15CODE
LOWtools/setup/run_with_retry.py3CODE
LOWtools/setup/setup_vscode.py3CODE
LOWtools/setup/read_config.py20CODE
LOWtools/setup/install_dependencies/_fedora.py3CODE
LOWtools/setup/install_dependencies/_macos.py3CODE
LOWtools/setup/install_dependencies/_packages.py3CODE
LOWtools/setup/install_dependencies/_cli.py3CODE
LOWtools/setup/install_dependencies/_common.py10CODE
LOWtools/setup/install_dependencies/_common.py27CODE
LOWtools/setup/install_dependencies/_common.py28CODE
LOWtools/setup/install_dependencies/_debian.py3CODE
LOWtools/setup/install_dependencies/__init__.py13CODE
LOWtools/setup/install_dependencies/__init__.py15CODE
LOWtools/setup/install_dependencies/__init__.py16CODE
LOWtools/setup/install_dependencies/__init__.py16CODE
LOWtools/setup/install_dependencies/__init__.py16CODE
LOWtools/setup/install_dependencies/__init__.py16CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py17CODE
LOWtools/setup/install_dependencies/__init__.py38CODE
LOWtools/setup/install_dependencies/__init__.py38CODE
225 more matches not shown…
Excessive Try-Catch Wrapping71 hits · 123 pts
SeverityFileLineSnippetContext
MEDIUMtools/configure.py161 print("Error: qt-cmake not found; pass --no-qt-cmake to use cmake", file=sys.stderr)CODE
LOWtools/_bootstrap.py61 except Exception:CODE
MEDIUMtools/_bootstrap.py57def _unraisablehook(unraisable) -> None:CODE
MEDIUMtools/setup/install_python.py291 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMtools/setup/install_python.py315 print(f"Error: Command failed with exit code {e.returncode}", file=sys.stderr)CODE
MEDIUMtools/setup/install_python.py318 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMtools/setup/read_config.py107 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMtools/setup/read_config.py110 print(f"Error: Invalid JSON in config file: {e}", file=sys.stderr)CODE
MEDIUMtools/setup/read_config.py121 print(f"Error: Key '{key}' not found in config", file=sys.stderr)CODE
LOWtools/setup/install_dependencies/_common.py385 except Exception as e:CODE
LOWtools/tests/test_patterns.py82 except Exception:CODE
LOWtools/simulation/mock_ntrip_caster.py156 except Exception as e:CODE
MEDIUMtools/simulation/mock_ntrip_caster.py151def run(self):CODE
MEDIUMtools/simulation/mock_vehicle.py38 print("Error: pymavlink not installed")CODE
LOWtools/common/io.py145 except Exception:CODE
MEDIUMtools/common/github_runs.py92 print(f"Error: {exc}", file=sys.stderr)CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py102def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py110def children(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py141def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py161def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py181def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py218def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py233def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py248def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py272def to_string(self):CODE
MEDIUMtools/debuggers/gdb-pretty-printers/qt6.py302def to_string(self):CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py44 except Exception as e:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py66 except Exception as e:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py107 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py122 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py148 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py168 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py208 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py223 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py238 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py255 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py262 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py292 except Exception:CODE
LOWtools/debuggers/gdb-pretty-printers/qt6.py316 except Exception:CODE
MEDIUM…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py1454 print("Error: no input files specified", file=sys.stderr)CODE
MEDIUM…t-cpp-review/references/lint-scripts/qt_review_lint.py757 print("Error: no input files specified", file=sys.stderr)CODE
MEDIUMtools/generators/mavlink_enums.py177 print(f"Error: {mavlink_dir} is not a directory", file=sys.stderr)STRING
MEDIUMtools/generators/mavlink_enums.py182 print(f"Error: no dialect headers found in {mavlink_dir}", file=sys.stderr)STRING
MEDIUMtools/generators/mavlink_instance_fields.py109 print(f"Error: Could not find {dialect}.xml in {xml_dir}", file=sys.stderr)CODE
MEDIUMtools/generators/config_qml/generate_pages.py58 print(f"Error: {args.pages_dir} is not a directory", file=sys.stderr)CODE
MEDIUMtools/translations/qgc_lupdate_json.py114 print(f"Error: Duplicate filenames: {path.name} paths: {path} {entry[1]}")CODE
MEDIUMtools/translations/qgc_lupdate.py125 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMtools/translations/qgc_lupdate.py131 print(f"Error: lupdate failed with exit code {e.returncode}", file=sys.stderr)CODE
MEDIUM.github/scripts/coverage_comment.py28 print(f"Error parsing {xml_path}: {e}", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py213 print("Error: Failed to download ccache archive", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py217 print("Error: Failed to download signature file", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py222 print("Error: Failed to setup minisign", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py226 print("Error: Signature verification failed", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py293 print(f"Error extracting ccache: {e}", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py298 print(f"Error: ccache binary not found at {ccache_bin}", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py306 print(f"Error copying ccache: {result.stderr}", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py311 print(f"Error setting permissions: {result.stderr}", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py315 print(f"Error installing ccache: {e}", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py251 print(f"Error extracting minisign: {e}", file=sys.stderr)CODE
MEDIUM.github/scripts/ccache_helper.py256 print(f"Error: minisign binary not found at {minisign_bin}", file=sys.stderr)CODE
11 more matches not shown…
Example Usage Blocks28 hits · 42 pts
SeverityFileLineSnippetContext
LOWtools/debuggers/profile.sh8# Usage:COMMENT
LOWtest/UnitTestFramework/BaseClasses/MissionTest.h20/// Example usage:COMMENT
LOWtest/UnitTestFramework/BaseClasses/MissionTest.h81/// Example usage:COMMENT
LOWtest/UnitTestFramework/BaseClasses/ParameterTest.h14/// Example usage:COMMENT
LOWtest/UnitTestFramework/BaseClasses/VehicleTest.h47/// Example usage:COMMENT
LOWtest/UnitTestFramework/BaseClasses/CommsTest.h17/// Example usage:COMMENT
LOWdeploy/docker/run-docker.sh4# Usage:COMMENT
LOWsrc/Utilities/StateMachine/QGCStateMachine.h278 /// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/QGCStateMachine.h477 /// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/EventQueuedState.h13/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/LoopState.h12/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/RollbackState.h12/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/FallbackChainState.h12/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/SkippableAsyncState.h16/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/ProgressState.h15/// Example usage:COMMENT
LOW…ies/StateMachine/States/RetryableRequestMessageState.h19/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/SequenceState.h13/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/States/CircuitBreakerState.h20/// Example usage:COMMENT
LOW…c/Utilities/StateMachine/Transitions/RetryTransition.h15/// Example usage:COMMENT
LOW…Utilities/StateMachine/Transitions/TimeoutTransition.h14/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/Helpers/StateMachineLogger.h24/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/Helpers/StateContext.h16/// Example usage:COMMENT
LOW…/Utilities/StateMachine/Helpers/ErrorRecoveryBuilder.h16/// Example usage:COMMENT
LOWsrc/Utilities/StateMachine/Helpers/ErrorHandlers.h17/// Example usage:COMMENT
LOWsrc/Utilities/FileSystem/QGCFileWatcher.h18/// Example usage:COMMENT
LOWsrc/Utilities/Compression/QGCArchiveFile.h14/// Example usage:COMMENT
LOWsrc/Utilities/Compression/QGCDecompressDevice.h13/// Example usage:COMMENT
LOWsrc/Utilities/Compression/QGCArchiveWatcher.h17/// Example usage:COMMENT
Deep Nesting42 hits · 38 pts
SeverityFileLineSnippetContext
LOWtools/moccache.py118CODE
LOWtools/moccache.py454CODE
LOWtools/pre_commit.py54CODE
LOWtools/pre_commit.py144CODE
LOWtools/configure.py89CODE
LOWtools/android_mem_capture.py137CODE
LOWtools/analyzers/qt_translate_noop_check.py139CODE
LOWtools/analyzers/vehicle_null_check.py71CODE
LOWtools/setup/install_dependencies/_macos.py22CODE
LOWtools/setup/install_dependencies/_cli.py28CODE
LOWtools/setup/install_dependencies/_cli.py158CODE
LOWtools/setup/install_dependencies/_common.py346CODE
LOWtools/setup/install_dependencies/_debian.py91CODE
LOWtools/setup/install_dependencies/_debian.py159CODE
LOWtools/simulation/mock_ntrip_caster.py238CODE
LOWtools/common/cmake.py13CODE
LOWtools/common/file_traversal.py73CODE
LOWtools/common/gh_actions.py101CODE
LOWtools/debuggers/gst_latency_parser.py48CODE
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py882CODE
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py1045CODE
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py1300CODE
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py1374CODE
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py212CODE
LOW…t-cpp-review/references/lint-scripts/qt_review_lint.py473CODE
LOW…profiler/references/scripts/parse-qmlprofiler-trace.py32CODE
LOWtools/generators/mavlink_instance_fields.py35CODE
LOWtools/generators/settings_qml/model.py128CODE
LOWtools/generators/settings_qml/emit.py44CODE
LOWtools/generators/settings_qml/emit.py290CODE
LOWtools/translations/qgc_lupdate_json.py29CODE
LOWtools/translations/qgc_lupdate_json.py104CODE
LOWtools/translations/qgc_lupdate.py33CODE
LOW.github/scripts/generate_build_results_comment.py171CODE
LOW.github/scripts/ccache_helper.py501CODE
LOW.github/scripts/ccache_helper.py173CODE
LOW.github/scripts/download_artifacts.py171CODE
LOW.github/scripts/collect_artifact_sizes.py52CODE
LOW.github/scripts/install_dependencies_helper.py43CODE
LOW.github/scripts/android_boot_test.py260CODE
LOW.github/scripts/tests/test_bootstrap_sparse_checkout.py52CODE
LOW.github/scripts/tests/test_bootstrap_sparse_checkout.py67CODE
Modern Structural Boilerplate33 hits · 33 pts
SeverityFileLineSnippetContext
LOWtools/setup/install_dependencies/_fedora.py39__all__ = ["install_fedora"]CODE
LOWtools/setup/install_dependencies/_macos.py103__all__ = ["get_gstreamer_macos_urls", "install_macos"]CODE
LOWtools/setup/install_dependencies/_packages.py431__all__ = [CODE
LOWtools/setup/install_dependencies/_cli.py226__all__ = ["list_packages", "main", "parse_args", "print_packages"]CODE
LOWtools/setup/install_dependencies/_common.py297def _set_env_var_ci(name: str, value: str) -> None:CODE
LOWtools/setup/install_dependencies/_common.py303def _set_env_var_local(name: str, value: str) -> None:CODE
LOWtools/setup/install_dependencies/_common.py314def set_env_var(name: str, value: str) -> None:CODE
LOWtools/setup/install_dependencies/_common.py391__all__ = [CODE
LOWtools/setup/install_dependencies/_debian.py227__all__ = [CODE
LOWtools/setup/install_dependencies/__init__.py73__all__ = [CODE
LOWtools/setup/install_dependencies/_arch.py42__all__ = ["install_arch"]CODE
LOWtools/setup/install_dependencies/_windows.py232__all__ = [CODE
LOWtools/common/git.py18__all__ = ["get_default_branch_ref", "run_git"]CODE
LOWtools/common/deps.py26__all__ = ["check_and_report", "check_dependencies", "pip_install", "require_tool"]CODE
LOWtools/common/env.py12__all__ = [CODE
LOWtools/common/proc.py23__all__ = ["run_bytes", "run_captured", "run_checked_with_retry", "run_tee", "run_text"]CODE
LOWtools/common/opener.py18__all__ = ["open_in_default_app"]CODE
LOWtools/common/cmake.py8__all__ = ["read_cache_dict", "read_cache_var"]CODE
LOWtools/common/net.py23__all__ = ["download_file", "download_with_retry", "read_url_text", "run_with_retries"]CODE
LOWtools/common/io.py20__all__ = [CODE
LOWtools/common/analyzer.py20__all__ = ["AnalysisResult", "AnalyzerBase"]CODE
LOWtools/common/xml.py15__all__ = ["XMLParseError", "xml_parse"]CODE
LOWtools/common/format.py12__all__ = ["format_bytes", "format_delta_bytes"]CODE
LOWtools/common/aws.py13__all__ = [CODE
LOWtools/common/cobertura.py15__all__ = ["CoberturaError", "CoberturaMetrics", "read_cobertura"]CODE
LOWtools/common/platform.py15__all__ = [CODE
LOWtools/common/markdown.py15__all__ = ["md_table"]CODE
LOWtools/common/artifact_metadata.py14__all__ = [CODE
LOWtools/common/tool_version.py20__all__ = ["DEFAULT_VERSION_RE", "probe_version", "uv_lock_version", "version_prefix_matches"]CODE
LOWtools/generators/settings_qml/page_generator.py25__all__ = [CODE
LOWtools/generators/config_qml/page_generator.py24__all__ = [CODE
LOW.github/scripts/generate_build_results_comment.py27logger = logging.getLogger(__name__)CODE
LOW.github/scripts/verify_executable.py26def _setup_gstreamer_env(build_dir: Path) -> None:CODE
Cross-Language Confusion7 hits · 32 pts
SeverityFileLineSnippetContext
HIGHtools/tests/test_settings_qml_generator.py908 showWhen="sink && sink.enabled",CODE
HIGHtools/tests/test_settings_qml_generator.py923 assert "visible: sink && sink.enabled" in qmlCODE
HIGHtools/tests/test_version_drift.py43 "Run: (cd tools && uv lock) and commit the result.\n\n"CODE
HIGH…t-run/references/scripts/parse-qmltestrunner-output.py32 "failure_message": str | null,STRING
HIGHtools/generators/settings_qml/emit.py220 section_vis = f"(sectionFilter === -1 || sectionFilter === {grp_idx})"CODE
HIGHtools/generators/config_qml/model.py134 are composed with && so the control is only visible when the param existsSTRING
HIGH.github/scripts/tests/test_cache_contracts.py88 assert "event.pull_request.head.repo.fork != true && format('type=registry" not in actionCODE
Modern AI Meta-Vocabulary6 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUM…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py844# Tier B: Match + context window check.COMMENT
MEDIUM…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py1014 # Build context windowCOMMENT
MEDIUM…t-cpp-review/references/lint-scripts/qt_review_lint.py85 scope_aware: bool = True # Truncate context window at function-scope boundaries (column-0 closing brace)CODE
MEDIUM…t-cpp-review/references/lint-scripts/qt_review_lint.py370# Tier B: Match + context window check.COMMENT
MEDIUM…t-cpp-review/references/lint-scripts/qt_review_lint.py425# Scope-aware context window builderCOMMENT
MEDIUM…t-cpp-review/references/lint-scripts/qt_review_lint.py601 # Build context window (use comment-stripped lines)COMMENT
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/tests/test_settings_qml_generator.py1216 "controls": [{"setting": "appSettings.x", "placeholder": "a\\b"}],CODE
LOWtools/tests/test_settings_qml_generator.py1220 with pytest.raises(ValueError, match="placeholder"):CODE
LOW…kills/qt-qml-test/references/qt-quick-test-controls.md397 emailField.text = qsTr("user@example.com")CODE
LOW…kills/qt-qml-test/references/qt-quick-test-template.md133 emailField.text = qsTr("user@example.com")CODE
LOW…kills/qt-qml-test/references/qt-quick-test-template.md134 compare(emailField.text, qsTr("user@example.com"))CODE
LOWtools/generators/settings_qml/model.py123 "placeholder", "value", "component", "properties",CODE
LOWtools/generators/settings_qml/model.py170 ctrl_data.get("placeholder", ""), "control placeholder", json_pathCODE
LOWsrc/AppSettings/pages/NTRIP.SettingsUI.json56 "placeholder": "e.g. 1005,1077,1087"CODE
Redundant / Tautological Comments5 hits · 7 pts
SeverityFileLineSnippetContext
LOWtools/simulation/run-arducopter-sitl.sh16# Check if Docker is availableCOMMENT
LOWtools/simulation/run-arducopter-sitl.sh63# Check if runningCOMMENT
LOWtools/debuggers/profile.sh217 # Check if we have permissionsCOMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py925 # Check if this property was bound with : in the fileCOMMENT
LOW…s/qt-qml-review/references/lint-scripts/qt_qml_lint.py954 # Check if the property has a dynamic bindingCOMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/setup/install_qt.py174Pick the primary Android Qt root from installed ABIs. Args: abis: Semicolon-separated ABI list (e.g. "arm64STRING
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/generators/common/controls.py140CODE
LOWtools/generators/common/controls.py263CODE
LOWtools/generators/common/controls.py607CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/docker/lib/setup-venv.sh2# Create the qgc venv and install hash-locked build-time Python deps: jinja2/COMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/Vehicle/VehicleSetup/Bootloader.h37 /// IMPORTANT: Make sure this id does not conflict with any newly added real board idsCOMMENT