ArduPlane, ArduCopter, ArduRover, ArduSub source
This report presents the forensic synthetic code analysis of ArduPilot/ardupilot, a C++ project with 15,462 GitHub stars. SynthScan v2.0 examined 1,123,650 lines of code across 4748 source files, recording 5444 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 4.8 places this repository in the Likely human-written 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).
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.
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.
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.
The scanner identified 5444 distinct pattern matches across 20 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 121 | # # Use to check python typing to show errors. | COMMENT |
| LOW | Blimp/Parameters.cpp | 21 | */ | COMMENT |
| LOW | Blimp/Parameters.cpp | 41 | // @Range: 0 10 | COMMENT |
| LOW | Blimp/Parameters.cpp | 61 | // @Param: FS_GCS_ENABLE | COMMENT |
| LOW | Blimp/Parameters.cpp | 81 | COMMENT | |
| LOW | Blimp/Parameters.cpp | 101 | // @DisplayName: Flight Mode 1 | COMMENT |
| LOW | Blimp/Parameters.cpp | 121 | // @DisplayName: Flight Mode 4 | COMMENT |
| LOW | Blimp/Parameters.cpp | 141 | // @User: Advanced | COMMENT |
| LOW | Blimp/Parameters.cpp | 161 | COMMENT | |
| LOW | Blimp/Parameters.cpp | 181 | // @Range: 0.6 1.0 | COMMENT |
| LOW | Blimp/Parameters.cpp | 201 | // @Description: Sets the maximum acceleration for waypoint navigation | COMMENT |
| LOW | Blimp/Parameters.cpp | 221 | GSCALAR(wp_radius, "WP_RADIUS", 1.0), | COMMENT |
| LOW | Blimp/Parameters.cpp | 241 | // @Description: Simple mode for Position control - "forward" moves blimp in +ve X direction world-frame | COMMENT |
| LOW | Blimp/Parameters.cpp | 261 | COMMENT | |
| LOW | Blimp/Parameters.cpp | 281 | // @Path: ../libraries/AP_Baro/AP_Baro.cpp | COMMENT |
| LOW | Blimp/Parameters.cpp | 301 | #endif | COMMENT |
| LOW | Blimp/Parameters.cpp | 361 | // @Param: FRAME_CLASS | COMMENT |
| LOW | Blimp/Parameters.cpp | 381 | // @Range: 50 500 | COMMENT |
| LOW | Blimp/Log.cpp | 241 | LOG_COMMON_STRUCTURES, | COMMENT |
| LOW | Blimp/Log.cpp | 261 | // @Field: F2A: Fin 2 Amplitude | COMMENT |
| LOW | Blimp/Log.cpp | 321 | }, | COMMENT |
| LOW | Blimp/Log.cpp | 341 | // @Field: TimeUS: Time since system startup | COMMENT |
| LOW | Blimp/version.h | 1 | #pragma once | COMMENT |
| LOW | Blimp/config.h | 1 | // | COMMENT |
| LOW | Blimp/config.h | 21 | #ifndef ARMING_DELAY_SEC | COMMENT |
| LOW | Blimp/config.h | 41 | // Radio failsafe while using RC_override | COMMENT |
| LOW | Blimp/config.h | 61 | #ifndef FS_EKF_THRESHOLD_DEFAULT | COMMENT |
| LOW | Blimp/config.h | 81 | # define FLIGHT_MODE_5 Mode::Number::MANUAL | COMMENT |
| LOW | Blimp/config.h | 121 | MASK_LOG_MOTBATT | COMMENT |
| LOW | Blimp/Loiter.cpp | 1 | #include "Blimp.h" | COMMENT |
| LOW | Blimp/Loiter.cpp | 21 | // @Description: X axis velocity controller I gain maximum. Constrains the maximum that the I term will output | COMMENT |
| LOW | Blimp/Loiter.cpp | 41 | // @DisplayName: X axis velocity controller target frequency in Hz | COMMENT |
| LOW | Blimp/Loiter.cpp | 61 | // @Units: Hz | COMMENT |
| LOW | Blimp/Loiter.cpp | 81 | // @Range: 0 0.02 | COMMENT |
| LOW | Blimp/Loiter.cpp | 101 | // @Range: 0.01 0.5 | COMMENT |
| LOW | Blimp/Loiter.cpp | 121 | // @Description: Y axis velocity controller D gain. Compensates for short-term change in desired Y velocity vs actu | COMMENT |
| LOW | Blimp/Loiter.cpp | 141 | // @Param: VELY_FLTE | COMMENT |
| LOW | Blimp/Loiter.cpp | 161 | // @Increment: 0.5 | COMMENT |
| LOW | Blimp/Loiter.cpp | 181 | // @Range: 1 8 | COMMENT |
| LOW | Blimp/Loiter.cpp | 201 | // @Range: 0.01 2.0 | COMMENT |
| LOW | Blimp/Loiter.cpp | 221 | // @Description: Z axis velocity controller feed forward | COMMENT |
| LOW | Blimp/Loiter.cpp | 241 | COMMENT | |
| LOW | Blimp/Loiter.cpp | 261 | // @Increment: 0.01 | COMMENT |
| LOW | Blimp/Loiter.cpp | 281 | // @User: Advanced | COMMENT |
| LOW | Blimp/Loiter.cpp | 301 | // @Range: 0 1 | COMMENT |
| LOW | Blimp/Loiter.cpp | 321 | // @Description: Yaw axis velocity controller target frequency in Hz | COMMENT |
| LOW | Blimp/Loiter.cpp | 341 | // @User: Standard | COMMENT |
| LOW | Blimp/Loiter.cpp | 361 | // @Increment: 0.0001 | COMMENT |
| LOW | Blimp/Loiter.cpp | 381 | // @Increment: 0.005 | COMMENT |
| LOW | Blimp/Loiter.cpp | 401 | // @Range: 0.0 0.05 | COMMENT |
| LOW | Blimp/Loiter.cpp | 421 | // @DisplayName: X axis position controller error frequency in Hz | COMMENT |
| LOW | Blimp/Loiter.cpp | 441 | // @User: Advanced | COMMENT |
| LOW | Blimp/Loiter.cpp | 461 | // @User: Advanced | COMMENT |
| LOW | Blimp/Loiter.cpp | 481 | // @Increment: 0.01 | COMMENT |
| LOW | Blimp/Loiter.cpp | 501 | // @Range: 0 0.5 | COMMENT |
| LOW | Blimp/Loiter.cpp | 521 | // @Param: POSY_FLTD | COMMENT |
| LOW | Blimp/Loiter.cpp | 541 | // @User: Advanced | COMMENT |
| LOW | Blimp/Loiter.cpp | 561 | AP_SUBGROUPINFO(pid_pos_y, "POSY_", 5, Loiter, AC_PID), | COMMENT |
| LOW | Blimp/Loiter.cpp | 581 | // @Increment: 0.01 | COMMENT |
| LOW | Blimp/Loiter.cpp | 601 | // @Range: 5 100 | COMMENT |
| 4160 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/mavproxy_modules/sitl_calibration.py | 446 | def cmd_sitl_autonomous_magcal(self, args): | CODE |
| LOW | Tools/mavproxy_modules/lib/magcal_graph_ui.py | 87 | def update_status_from_mavlink(self, m): | CODE |
| LOW | Tools/autotest/helicopter.py | 40 | def subgroupvarptr_activation_params(self): | CODE |
| LOW | Tools/autotest/helicopter.py | 53 | def get_position_armable_modes_list(): | CODE |
| LOW | Tools/autotest/helicopter.py | 1338 | def autotune_land_and_save_gains(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 4654 | def assert_message_field_values(self, m, fieldvalues, verbose=True, epsilon=None): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 4659 | def assert_cached_message_field_values(self, message, fieldvalues, verbose=True, very_verbose=False, epsilon=None): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 4666 | def assert_received_message_field_values(self, | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5163 | def install_script_content_context(self, scriptname, content): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5170 | def install_example_script_context(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5176 | def install_test_script_context(self, scriptnames): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5185 | def install_test_scripts_context(self, *args, **kwargs): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5189 | def install_test_modules_context(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5195 | def install_mavlink_module_context(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5201 | def install_applet_script_context(self, scriptname, **kwargs): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5211 | def ardupilot_stores_frame_for_cmd(self, t): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5523 | def sitl_home_string_from_mission(self, filename): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5528 | def sitl_home_string_from_mission_filepath(self, filepath): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5533 | def get_home_tuple_from_mission(self, filename): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5542 | def get_home_location_from_mission(self, filename): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5546 | def get_home_tuple_from_mission_filepath(self, filepath): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5556 | def load_mission_from_filepath(self, | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5753 | def check_fence_upload_download(self, items): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5761 | def check_mission_upload_download(self, items, strict=True): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5770 | def check_rally_upload_download(self, items): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5779 | def check_dflog_message_rates(self, log_filepath, message_rates): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6060 | def send_mavlink_disarm_command(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6066 | def send_mavlink_run_prearms_command(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6069 | def analog_rangefinder_parameters(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6078 | def set_analog_rangefinder_parameters(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 6909 | # def context_start_custom_binary(self, extra_defines={}): | COMMENT |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 7486 | def do_set_mode_via_command_long(self, mode, timeout=30): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 7489 | def do_set_mode_via_command_int(self, mode, timeout=30): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 7492 | def mavproxy_do_set_mode_via_command_long(self, mavproxy, mode, timeout=30): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 8560 | def _rc_overrides_send_single(self, chan, pwm): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 8570 | def _rc_overrides_release_single(self, chan): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 8580 | def _check_rc_overrides_cleared_by_pilot_input(self, | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9172 | def script_example_source_path(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9178 | def script_applet_source_path(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9181 | def script_modules_source_path(self, scriptname): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1635 | def dump_dataid_counts_as_progress_messages(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1639 | def dump_sensor_id_poll_counts_as_progress_messages(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1712 | def send_mavlite_param_request_read(self, parameter_name): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1735 | def send_mavlite_command_long( | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2162 | def autotest_connection_string_to_ardupilot(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2187 | def repeatedly_apply_parameter_filepath(self, filepath): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2199 | def repeatedly_apply_parameter_filepath_mavproxy(self, filepath): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2213 | def apply_defaultfile_parameters(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2225 | def count_expected_fence_lines_in_filepath(self, filepath): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2242 | def load_fence_using_mavproxy(self, mavproxy, filename): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2288 | def reboot_check_valgrind_log(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2301 | def run_cmd_enable_high_latency(self, new_state, run_cmd=None): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2373 | def send_cmd_enter_cpu_lockup(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2530 | def test_adsb_send_threatening_adsb_message(self, here, offset_ne=None): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2551 | def subgroupvarptr_activation_params(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2569 | def test_parameter_documentation_get_all_parameters(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3096 | def initialise_after_reboot_sitl(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3262 | def apply_default_parameter_list(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3352 | def set_heartbeat_interval_ms(self, interval_ms): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3673 | def assert_home_position_not_set(self): | CODE |
| 443 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/gittools/pre_commit_copyright.py | 89 | except Exception as e: # noqa: BLE001 Path.read_text() can raise many exceptions | CODE |
| MEDIUM | Tools/gittools/pre_commit_copyright.py | 90 | print(f"Error reading {file_path}: {e}") | CODE |
| LOW | Tools/autotest/bisect-helper.py | 378 | except Exception as e: # noqa: BLE001 | CODE |
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 305 | def connect(self): | CODE |
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 3937 | def verify_logs(test_log_num): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 312 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2440 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3544 | except Exception: | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3584 | except Exception: | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3851 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 8883 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 9283 | except Exception as msg: | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 9477 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 9500 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 9510 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 9571 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 10589 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 10950 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11001 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11091 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11122 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11716 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11783 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11938 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 13426 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 13585 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 14944 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 15306 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 15311 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 15339 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/autotest.py | 103 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/autotest.py | 117 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/autotest.py | 253 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/autotest.py | 756 | except Exception as msg: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/autotest.py | 1274 | except Exception: | CODE |
| LOW | Tools/autotest/quadplane.py | 1511 | except Exception: | CODE |
| LOW | Tools/autotest/test_build_options.py | 474 | except Exception: | CODE |
| LOW | Tools/autotest/balancebot.py | 88 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/examples.py | 134 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/arduplane.py | 314 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 426 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 527 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 543 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 4585 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 4923 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/sim_vehicle.py | 318 | except Exception as e: # noqa: BLE001 | CODE |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 700 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/sim_vehicle.py | 799 | except Exception as e: # noqa: BLE001 | CODE |
| MEDIUM | Tools/autotest/sim_vehicle.py | 336 | def run_gui(cmd_opts): | CODE |
| LOW | Tools/autotest/arducopter.py | 2378 | except Exception as e: | CODE |
| LOW | Tools/autotest/arducopter.py | 2505 | except Exception as e: | CODE |
| LOW | Tools/autotest/arducopter.py | 2937 | except Exception as e: | CODE |
| LOW | Tools/autotest/arducopter.py | 3082 | except Exception as e: | CODE |
| LOW | Tools/autotest/arducopter.py | 3934 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/arducopter.py | 5606 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/arducopter.py | 5958 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/arducopter.py | 10473 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/arducopter.py | 11737 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/arducopter.py | 11765 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/arducopter.py | 11786 | except Exception: # noqa: BLE001 | CODE |
| 101 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/mavproxy_modules/lib/magcal_graph_ui.py | 208 | CODE | |
| LOW | Tools/autotest/bisect-helper.py | 217 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 1275 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 1778 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 2199 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 2663 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 2979 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 3864 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 3911 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 4603 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 4690 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 5225 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 5397 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 5884 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 6503 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 6711 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7369 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7985 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 8911 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 8957 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 10294 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 10862 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 10958 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 11101 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 11242 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 12091 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 13130 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 13269 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 13515 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 13884 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 14104 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 15137 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 15425 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 16574 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 3937 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 10386 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 12100 | CODE | |
| LOW | Tools/autotest/autotest.py | 407 | CODE | |
| LOW | Tools/autotest/autotest.py | 711 | CODE | |
| LOW | Tools/autotest/quadplane.py | 2132 | CODE | |
| LOW | Tools/autotest/ardusub.py | 1146 | CODE | |
| LOW | Tools/autotest/ardusub.py | 1349 | CODE | |
| LOW | Tools/autotest/antennatracker.py | 208 | CODE | |
| LOW | Tools/autotest/test_build_options.py | 142 | CODE | |
| LOW | Tools/autotest/test_build_options.py | 203 | CODE | |
| LOW | Tools/autotest/arduplane.py | 346 | CODE | |
| LOW | Tools/autotest/arduplane.py | 4976 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 260 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 336 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 663 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 736 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 1083 | CODE | |
| LOW | Tools/autotest/arducopter.py | 3626 | CODE | |
| LOW | Tools/autotest/arducopter.py | 3862 | CODE | |
| LOW | Tools/autotest/arducopter.py | 4861 | CODE | |
| LOW | Tools/autotest/arducopter.py | 5557 | CODE | |
| LOW | Tools/autotest/arducopter.py | 6139 | CODE | |
| LOW | Tools/autotest/arducopter.py | 6578 | CODE | |
| LOW | Tools/autotest/arducopter.py | 9597 | CODE | |
| LOW | Tools/autotest/arducopter.py | 12019 | CODE | |
| 143 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tools/mavproxy_modules/magcal_graph.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/mavproxy_modules/magcal_graph.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | Tools/mavproxy_modules/sitl_calibration.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/mavproxy_modules/sitl_calibration.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | Tools/mavproxy_modules/lib/geodesic_grid.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/mavproxy_modules/lib/geodesic_grid.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | Tools/mavproxy_modules/lib/magcal_graph_ui.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/mavproxy_modules/lib/magcal_graph_ui.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | Tools/autotest/run_in_terminal_window.sh | 48 | # Create a new pane to run | COMMENT |
| MEDIUM⚡ | …s/autotest/unittest/extract_param_defaults_unittest.py | 154 | # Define a list of parameter names | COMMENT |
| MEDIUM⚡ | …s/autotest/unittest/extract_param_defaults_unittest.py | 169 | # Define a list of parameter names | COMMENT |
| MEDIUM⚡ | Tools/autotest/unittest/annotate_params_unittest.py | 38 | # Create a temporary directory | COMMENT |
| MEDIUM⚡ | Tools/autotest/unittest/annotate_params_unittest.py | 41 | # Create a temporary file | COMMENT |
| MEDIUM⚡ | Tools/autotest/unittest/annotate_params_unittest.py | 44 | # Create a dictionary of parameter documentation | COMMENT |
| MEDIUM | Tools/autotest/unittest/annotate_params_unittest.py | 277 | # Define the input | STRING |
| MEDIUM | Tools/autotest/unittest/annotate_params_unittest.py | 293 | # Define the expected output | STRING |
| MEDIUM | Tools/ros2/ardupilot_sitl/src/ardupilot_sitl/launch.py | 499 | # Create an instance directory to store eeprom.bin. | COMMENT |
| MEDIUM | Tools/ardupilotwaf/ap_library.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/ardupilotwaf/ap_library.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | Tools/ardupilotwaf/cmake.py | 5 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/ardupilotwaf/cmake.py | 10 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | Tools/ardupilotwaf/cxx_checks.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/ardupilotwaf/cxx_checks.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | Tools/ardupilotwaf/build_summary.py | 5 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | Tools/ardupilotwaf/build_summary.py | 10 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | libraries/AP_Camera/examples/gst_rtsp_to_wx.py | 74 | # Create a sink to get data | COMMENT |
| MEDIUM | libraries/AP_Camera/examples/gst_udp_to_wx.py | 77 | # Create a sink to get data | COMMENT |
| MEDIUM | …_Motors/examples/AP_Motors_test/run_heli_comparison.py | 211 | # Create the new directory | COMMENT |
| MEDIUM | libraries/AP_NavEKF3/derivation/generate_2.py | 439 | # Define the state vectors | COMMENT |
| MEDIUM | libraries/AP_NavEKF3/derivation/generate_1.py | 450 | # Define the state vectors | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/icosahedron.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/icosahedron.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/grid.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/grid.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/plot.py | 3 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/plot.py | 8 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/geodesic_grid.py | 5 | # This file is free software: you can redistribute it and/or modify it | COMMENT |
| MEDIUM | libraries/AP_Math/tools/geodesic_grid/geodesic_grid.py | 10 | # This file is distributed in the hope that it will be useful, but | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/mavproxy_modules/magcal_graph.py | 63 | CODE | |
| LOW | Tools/mavproxy_modules/lib/magcal_graph_ui.py | 20 | CODE | |
| LOW | Tools/mavproxy_modules/lib/magcal_graph_ui.py | 24 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 8 | CODE | |
| LOW | Tools/autotest/arducopter.py | 7 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 5 | CODE | |
| LOW | Tools/autotest/param_metadata/xmlemit.py | 7 | CODE | |
| LOW | …ests/test/ardupilot_dds_tests/test_joy_msg_received.py | 31 | CODE | |
| LOW | …ests/test/ardupilot_dds_tests/test_joy_msg_received.py | 38 | CODE | |
| LOW | Tools/scripts/build_binaries.py | 11 | CODE | |
| LOW | Tools/scripts/filter_size_compare_branches_csv.py | 7 | CODE | |
| LOW | Tools/scripts/test_new_boards.py | 19 | CODE | |
| LOW | Tools/scripts/make_intel_hex.py | 5 | CODE | |
| LOW | Tools/scripts/param_check.py | 32 | CODE | |
| LOW | Tools/scripts/check_branch_conventions.py | 18 | CODE | |
| LOW | Tools/scripts/convert_param_scale.py | 15 | CODE | |
| LOW | Tools/scripts/param_check_all.py | 9 | CODE | |
| LOW | Tools/scripts/size_compare_branches.py | 19 | CODE | |
| LOW | Tools/scripts/param_check_unittests.py | 9 | CODE | |
| LOW | Tools/scripts/tempcal_IMU.py | 26 | CODE | |
| LOW | Tools/scripts/tempcal_IMU.py | 27 | CODE | |
| LOW | Tools/scripts/tfminiplus.py | 8 | CODE | |
| LOW | Tools/scripts/build_boards.py | 16 | CODE | |
| LOW | Tools/scripts/build_script_base.py | 7 | CODE | |
| LOW | Tools/scripts/build_examples.py | 3 | CODE | |
| LOW | Tools/scripts/build_peripherals.py | 10 | CODE | |
| LOW | Tools/scripts/build_peripherals.py | 12 | CODE | |
| LOW | Tools/scripts/size_history.py | 18 | CODE | |
| LOW | Tools/scripts/CAN/CAN_playback.py | 13 | CODE | |
| LOW | Tools/scripts/CAN/CAN_playback.py | 14 | CODE | |
| LOW | Tools/scripts/CAN/CAN_playback.py | 16 | CODE | |
| LOW | Tools/scripts/CAN/fix2_gap.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 10 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 10 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 11 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 11 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 12 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 16 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 19 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 20 | CODE | |
| LOW | Tools/ardupilotwaf/esp32.py | 21 | CODE | |
| LOW | Tools/ardupilotwaf/gbenchmark.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/gbenchmark.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/gbenchmark.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/gbenchmark.py | 12 | CODE | |
| LOW | Tools/ardupilotwaf/embed.py | 12 | CODE | |
| LOW | Tools/ardupilotwaf/chibios.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/chibios.py | 16 | CODE | |
| LOW | Tools/ardupilotwaf/dronecangen.py | 9 | CODE | |
| LOW | Tools/ardupilotwaf/dronecangen.py | 10 | CODE | |
| LOW | Tools/ardupilotwaf/dronecangen.py | 13 | CODE | |
| LOW | Tools/ardupilotwaf/mavgen.py | 10 | CODE | |
| LOW | Tools/ardupilotwaf/mavgen.py | 10 | CODE | |
| LOW | Tools/ardupilotwaf/mavgen.py | 11 | CODE | |
| LOW | Tools/ardupilotwaf/toolchain.py | 17 | CODE | |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tools/gittools/pre_commit_copyright.py | 0 | ardupilot imu filter test class this program is free software: you can redistribute it and/or modify it under the terms | STRING |
| HIGH | Tools/FilterTestTool/BiquadFilter.py | 0 | ardupilot imu filter test class this program is free software: you can redistribute it and/or modify it under the terms | STRING |
| HIGH | Tools/FilterTestTool/run_filter_test.py | 0 | ardupilot imu filter test class this program is free software: you can redistribute it and/or modify it under the terms | STRING |
| HIGH | Tools/FilterTestTool/FilterTest.py | 0 | ardupilot imu filter test class this program is free software: you can redistribute it and/or modify it under the terms | STRING |
| HIGH | Tools/autotest/vehicle_test_suite.py | 0 | in lockup plane should copy rc inputs to rc outputs | STRING |
| HIGH | Tools/autotest/quadplane.py | 0 | in lockup plane should copy rc inputs to rc outputs | STRING |
| HIGH | Tools/autotest/arduplane.py | 0 | in lockup plane should copy rc inputs to rc outputs | STRING |
| HIGH | Tools/autotest/arduplane.py | 0 | ensure a guided destination outside the fence is rejected | STRING |
| HIGH | Tools/autotest/arducopter.py | 0 | ensure a guided destination outside the fence is rejected | STRING |
| HIGH | Tools/autotest/rover.py | 0 | ensure a guided destination outside the fence is rejected | STRING |
| HIGH | Tools/autotest/arduplane.py | 0 | test utm_global_position waypoint fields in auto and guided | STRING |
| HIGH | Tools/autotest/arducopter.py | 0 | test utm_global_position waypoint fields in auto and guided | STRING |
| HIGH | Tools/autotest/rover.py | 0 | test utm_global_position waypoint fields in auto and guided | STRING |
| HIGH | …ests/test/ardupilot_dds_tests/test_joy_msg_received.py | 0 | try to arm. returns true on success, or false if arming fails or times out. | STRING |
| HIGH | …upilot_dds_tests/ardupilot_dds_tests/copter_takeoff.py | 0 | try to arm. returns true on success, or false if arming fails or times out. | STRING |
| HIGH | …s_tests/ardupilot_dds_tests/plane_waypoint_follower.py | 0 | try to arm. returns true on success, or false if arming fails or times out. | STRING |
| HIGH | …ests/test/ardupilot_dds_tests/test_joy_msg_received.py | 0 | try to switch mode. returns true on success, or false if mode switch fails or times out. | STRING |
| HIGH | …upilot_dds_tests/ardupilot_dds_tests/copter_takeoff.py | 0 | try to switch mode. returns true on success, or false if mode switch fails or times out. | STRING |
| HIGH | …s_tests/ardupilot_dds_tests/plane_waypoint_follower.py | 0 | try to switch mode. returns true on success, or false if mode switch fails or times out. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/autotest/vehicle_test_suite.py | 10807 | # Check if we got the expected message or an unexpected one | COMMENT |
| LOW | Tools/autotest/arduplane.py | 6901 | # Check if all servos wiggle | COMMENT |
| LOW | Tools/autotest/arduplane.py | 4023 | "FENCE_ACTION": 0, # Set action to report | CODE |
| LOW | Tools/autotest/arduplane.py | 4064 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 4105 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 4142 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 4194 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 4257 | "FENCE_ACTION": 8, # Set action to AUTOLAND if possible | CODE |
| LOW | Tools/autotest/arduplane.py | 4323 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 4392 | "FENCE_ACTION": 6, # Set action to GUIDED | CODE |
| LOW | Tools/autotest/arducopter.py | 11538 | # Check if the vehicle is stuck. | COMMENT |
| LOW | Tools/autotest/rover.py | 6209 | # Set FRAME_CLASS to start receiving WATER_DEPTH messages & logging DPTH | COMMENT |
| LOW | …s/autotest/unittest/extract_param_defaults_unittest.py | 102 | # Check if the defaults dictionary contains the correct parameters and values | COMMENT |
| LOW⚡ | …s/autotest/unittest/extract_param_defaults_unittest.py | 160 | # Check if the parameters were sorted correctly | COMMENT |
| LOW⚡ | …s/autotest/unittest/extract_param_defaults_unittest.py | 175 | # Check if the parameters were sorted correctly | COMMENT |
| LOW⚡ | …s/autotest/unittest/extract_param_defaults_unittest.py | 194 | # Check if the print function was called with the correct parameters | COMMENT |
| LOW⚡ | …s/autotest/unittest/extract_param_defaults_unittest.py | 206 | # Check if the print function was called with the correct parameters | COMMENT |
| LOW⚡ | …s/autotest/unittest/extract_param_defaults_unittest.py | 219 | # Check if the print function was called with the correct parameters | COMMENT |
| LOW | …s/autotest/unittest/extract_param_defaults_unittest.py | 233 | # Check if the print function was called with the correct parameters | COMMENT |
| LOW | …s/autotest/unittest/extract_param_defaults_unittest.py | 248 | # Check if the print function was called with the correct parameters | COMMENT |
| LOW | …s/autotest/unittest/extract_param_defaults_unittest.py | 263 | # Check if the print function was called with the correct parameters | COMMENT |
| LOW | …s/autotest/unittest/extract_param_defaults_unittest.py | 315 | # Check if the print function was called with the correct parameters | COMMENT |
| LOW⚡ | Tools/autotest/unittest/annotate_params_unittest.py | 454 | # Check if the SystemExit exception contains the expected message | STRING |
| LOW⚡ | Tools/autotest/unittest/annotate_params_unittest.py | 487 | # Check if the parameter name was logged | STRING |
| LOW⚡ | Tools/autotest/unittest/annotate_params_unittest.py | 522 | # Check if the warnings were logged | STRING |
| LOW⚡ | Tools/autotest/unittest/annotate_params_unittest.py | 535 | # Check if the file is still empty | STRING |
| LOW | Tools/autotest/unittest/annotate_params_unittest.py | 322 | # Check if the file has been updated correctly | STRING |
| LOW | Tools/autotest/logger_metadata/parse.py | 212 | # Loop through the list | COMMENT |
| LOW | Tools/autotest/logger_metadata/parse.py | 227 | # Loop through the list | COMMENT |
| LOW | Tools/autotest/logger_metadata/parse.py | 247 | # Check if the defined format for this field contains its own multiplier | COMMENT |
| LOW | Tools/autotest/logger_metadata/parse.py | 253 | # Check if we have a defined prefix for this multiplier | COMMENT |
| LOW | Tools/scripts/annotate_params.py | 94 | # Check if the locally cached file exists | COMMENT |
| LOW | Tools/scripts/annotate_params.py | 318 | # Check if the target is a file or a directory | COMMENT |
| LOW | Tools/scripts/param_check.py | 219 | # Check if the bit is set, and if so, if it's described in the metadata | COMMENT |
| LOW | Tools/scripts/param_check.py | 507 | # Check if any files failed (i.e. have error messages) | COMMENT |
| LOW | Tools/environment_install/install-prereqs-ubuntu.sh | 184 | # Check if we need to manually install libtool-bin | COMMENT |
| LOW | Tools/environment_install/install-prereqs-ubuntu.sh | 394 | # Check if we need to manually install realpath | COMMENT |
| LOW | Tools/environment_install/install-prereqs-ubuntu.sh | 400 | # Check if we need to manually install libtool-bin | COMMENT |
| LOW | Tools/environment_install/install-prereqs-ubuntu.sh | 446 | # Check if venv already exists in ARDUPILOT_ROOT (check both venv-ardupilot and venv) | COMMENT |
| LOW | Tools/environment_install/install-prereqs-arch.sh | 90 | # Check if file exists and verify checksum | COMMENT |
| LOW | Tools/ardupilotwaf/esp32.py | 53 | #Check if esp-idf env are loaded, or load it | COMMENT |
| LOW | Tools/debug/crash_debugger.py | 83 | # Check if already in hardfault | COMMENT |
| LOW | …es/AP_Motors/examples/AP_Motors_test/MotorTestSweep.sh | 3 | # Output results to files for comparison | COMMENT |
| LOW | …M_Control/examples/AP_FW_Controller_test/TestMatrix.sh | 3 | # Output results to files for comparison | COMMENT |
| LOW | libraries/SITL/examples/follow-copter.sh | 30 | # Check if SITL copter has been built | COMMENT |
| LOW | libraries/SITL/examples/follow-copter.sh | 39 | # Check if Platform is Native Linux, WSL or Cygwin | COMMENT |
| LOW | libraries/SITL/examples/Airsim/follow-copter.sh | 23 | # Check if Platform is Native Linux, WSL or Cygwin | COMMENT |
| LOW | libraries/SITL/examples/JSON/pybullet/walking_robot.py | 212 | # Check if the fame is in expected order | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tools/autotest/arduplane.py | 3335 | # Before the fix WIND.speed was wind.length() (3D); after the fix it | COMMENT |
| HIGH⚡ | Tools/autotest/arduplane.py | 3823 | if gyro.length() > gyro_threshold: | CODE |
| HIGH⚡ | Tools/autotest/arduplane.py | 3826 | if accel.length() > accel_threshold: | CODE |
| HIGH⚡ | Tools/autotest/arduplane.py | 3830 | if gyro.length() > gyro_threshold*2: | CODE |
| HIGH⚡ | Tools/autotest/arduplane.py | 3833 | if accel.length() > accel_threshold*2: | CODE |
| HIGH | Tools/autotest/arducopter.py | 9998 | if vel.length() > 0.5: | CODE |
| HIGH | Tools/ardupilotwaf/chibios.py | 664 | rule="touch Makefile && BUILDDIR=${BUILDDIR_REL} BUILDROOT=${BUILDROOT} CRASHCATCHER=${CC_ROOT_REL} CHIBIOS=${CH | STRING |
| HIGH | libraries/AP_InertialSensor/examples/coning.py | 39 | theta = vec.length() | CODE |
| HIGH | libraries/AP_Math/tools/geodesic_grid/icosahedron.py | 51 | return (1.0 / self.length()) * self | CODE |
| HIGH | libraries/AP_Math/tools/geodesic_grid/grid.py | 22 | alpha = a.length() / (2.0 * ico.g) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tools/autotest/autotest.py | 503 | # we are running in conjunction with a supplementary app | COMMENT |
| MEDIUM | Tools/autotest/arduplane.py | 3467 | # in the future when the test is more robust. | COMMENT |
| LOW | Tools/autotest/arduplane.py | 2839 | # mcReady tests don't work ATM, so just return early: | COMMENT |
| MEDIUM | Tools/scripts/unpack_mp.sh | 4 | # to facilitate upgrade of existing MissionPlanner installs | COMMENT |
| MEDIUM | Tools/AP_Periph/AP_Periph.cpp | 39 | // but it forms part of a series of measures to give a robust recovery | COMMENT |
| LOW | Tools/ardupilotwaf/chibios.py | 104 | # Solution: simply call "python.exe" instead of 'python' which magically calls it from the windows | COMMENT |
| MEDIUM | libraries/AP_ADSB/AP_ADSB_uAvionix_MAVLink.cpp | 145 | // utilize the upper unused 8bits of the icao with special flags. | COMMENT |
| MEDIUM | libraries/AP_HAL_Linux/RCOutput_Bebop.cpp | 212 | // sync our state from status. This makes us more robust to i2c errors | COMMENT |
| MEDIUM | libraries/AP_Logger/LogStructure.h | 89 | // Essentially "format" simply tells you the C-type, and format-type h | COMMENT |
| MEDIUM | libraries/AP_L1_Control/AP_L1_Control.cpp | 451 | // point where the commands cross over to achieve a seamless transfer | COMMENT |
| MEDIUM | libraries/AP_NavEKF3/AP_NavEKF3_MagFusion.cpp | 174 | // attempt to use EKF-GSF estimate if available as it is more robust to GPS glitches | COMMENT |
| MEDIUM | libraries/AP_NavEKF3/AP_NavEKF3_MagFusion.cpp | 264 | // use the EKF-GSF yaw estimator output as this is more robust than the EKF can achieve without a yaw measur | COMMENT |
| MEDIUM | libraries/AP_InertialSensor/AP_InertialSensor.cpp | 779 | // assume this is the same sensor and save its ID to allow seamless | COMMENT |
| MEDIUM | libraries/AP_InertialSensor/AP_InertialSensor.cpp | 851 | // assume this is the same sensor and save its ID to allow seamless | COMMENT |
| MEDIUM | libraries/SITL/SIM_SensAItion.cpp | 77 | // However, the most robust way in ArduPilot SITL is to use the | COMMENT |
| MEDIUM | libraries/AP_Param/AP_Param.cpp | 742 | // this makes us more robust to power off while adding a variable | COMMENT |
| MEDIUM | libraries/AP_GPS/GPS_Backend.cpp | 361 | // if the reported distance is less then the minimum separation it's not sufficiently robust | COMMENT |
| MEDIUM | libraries/AP_GPS/AP_GPS_NMEA.h | 33 | /// robust in the face of occasional corruption in the input stream. It | COMMENT |
| MEDIUM | libraries/GCS_MAVLink/GCS_FTP.cpp | 547 | // reset our scratch area so we don't leak data, and can leverage trimming | COMMENT |
| MEDIUM | libraries/GCS_MAVLink/GCS_Common.cpp | 3193 | // note that this is not quite right; we could be more nuanced | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 6460 | CODE | |
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 6462 | CODE | |
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 6471 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2845 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2847 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2850 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2853 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2855 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2856 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2860 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2861 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2862 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2863 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2865 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2866 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2869 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2870 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2872 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2873 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2876 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2877 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2880 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 2881 | CODE | |
| MEDIUM | Tools/autotest/arducopter.py | 15360 | CODE | |
| MEDIUM | Tools/autotest/arducopter.py | 15371 | CODE | |
| MEDIUM | Tools/autotest/rover.py | 2679 | CODE | |
| MEDIUM | Tools/autotest/rover.py | 2682 | CODE | |
| MEDIUM | Tools/scripts/decode_ICSR.py | 137 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/autotest/quadplane.py | 651 | # Step 1: inject a very precise noise peak at 250hz and make sure the in-flight fft | COMMENT |
| LOW⚡ | Tools/autotest/quadplane.py | 664 | # Step 2: inject actual motor noise and use the standard length FFT to track it | COMMENT |
| LOW⚡ | Tools/autotest/quadplane.py | 674 | # Step 3: add a FFT dynamic notch and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/quadplane.py | 708 | # Step 4: take off as a copter land as a plane, make sure we track | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 697 | # Step 1: Attempt the lookup | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 708 | # Step 2: Validate the response object (Handles status_code 403 if no exception was raised) | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 717 | # Step 3: Success logic | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8792 | # Step 1: inject actual motor noise and use the FFT to track it | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8807 | # Step 2: add a second harmonic and check the first is still tracked | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8826 | # Step 3: switch harmonics mid flight and check for tracking | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8851 | # Step 4: dynamic harmonic | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8924 | # Step 1: inject a very precise noise peak at 250hz and make sure the in-flight fft | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8962 | # Step 2: inject actual motor noise and use the standard length FFT to track it | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8983 | # Step 3: add a FFT dynamic notch and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9023 | # Step 4: loop sample rate test with larger window | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9079 | # Step 1: inject actual motor noise and use the FFT to track it | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9120 | # Step 2: now rerun the test and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9134 | # Step 3: add a second harmonic and check the first is still tracked | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 266 | // Step 1: Calculate the vector from the tether anchor to the vehicle | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 270 | // Step 2: Check if tether is taut (length exceeds maximum allowed length) or stuck | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 308 | // Step 3: Calculate the weight of the tether being lifted | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 312 | // Step 4: Calculate the tension force | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 315 | // Step 5: Apply the total force to the vehicle | COMMENT |
| LOW | libraries/SITL/SIM_JSON.cpp | 421 | // So we need to check if it changed and act accordingly | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/autotest/quadplane.py | 651 | # Step 1: inject a very precise noise peak at 250hz and make sure the in-flight fft | COMMENT |
| LOW⚡ | Tools/autotest/quadplane.py | 664 | # Step 2: inject actual motor noise and use the standard length FFT to track it | COMMENT |
| LOW⚡ | Tools/autotest/quadplane.py | 674 | # Step 3: add a FFT dynamic notch and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/quadplane.py | 708 | # Step 4: take off as a copter land as a plane, make sure we track | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 697 | # Step 1: Attempt the lookup | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 708 | # Step 2: Validate the response object (Handles status_code 403 if no exception was raised) | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 717 | # Step 3: Success logic | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8792 | # Step 1: inject actual motor noise and use the FFT to track it | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8807 | # Step 2: add a second harmonic and check the first is still tracked | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8826 | # Step 3: switch harmonics mid flight and check for tracking | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8851 | # Step 4: dynamic harmonic | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8924 | # Step 1: inject a very precise noise peak at 250hz and make sure the in-flight fft | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8962 | # Step 2: inject actual motor noise and use the standard length FFT to track it | COMMENT |
| LOW | Tools/autotest/arducopter.py | 8983 | # Step 3: add a FFT dynamic notch and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9023 | # Step 4: loop sample rate test with larger window | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9079 | # Step 1: inject actual motor noise and use the FFT to track it | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9120 | # Step 2: now rerun the test and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/arducopter.py | 9134 | # Step 3: add a second harmonic and check the first is still tracked | COMMENT |
| LOW | libraries/AP_ESC_Telem/AP_ESC_Telem.cpp | 819 | // NOTE: This function should only be used to check timeouts other than | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 266 | // Step 1: Calculate the vector from the tether anchor to the vehicle | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 270 | // Step 2: Check if tether is taut (length exceeds maximum allowed length) or stuck | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 308 | // Step 3: Calculate the weight of the tether being lifted | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 312 | // Step 4: Calculate the tension force | COMMENT |
| LOW⚡ | libraries/SITL/SIM_Tether.cpp | 315 | // Step 5: Apply the total force to the vehicle | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/autotest/helicopter.py | 57 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 1947 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 5325 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 6944 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 6980 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7053 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7104 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 14316 | CODE | |
| LOW | Tools/autotest/test_build_options.py | 45 | CODE | |
| LOW | Tools/autotest/arducopter.py | 14633 | CODE | |
| LOW | Tools/autotest/arducopter.py | 14661 | CODE | |
| LOW | Tools/autotest/arducopter.py | 14711 | CODE | |
| LOW | Tools/autotest/arducopter.py | 14783 | CODE | |
| LOW | Tools/autotest/arducopter.py | 14799 | CODE | |
| LOW | Tools/autotest/arducopter.py | 18284 | CODE | |
| LOW | Tools/autotest/arducopter.py | 18455 | CODE | |
| LOW | Tools/autotest/arducopter.py | 18506 | CODE | |
| LOW | Tools/autotest/test_param_upgrade.py | 220 | CODE | |
| LOW | Tools/autotest/test_param_upgrade.py | 225 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 81 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 181 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 280 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 326 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 510 | CODE | |
| LOW | Tools/autotest/param_metadata/rstemit.py | 55 | CODE | |
| LOW | Tools/scripts/size_compare_branches.py | 64 | CODE | |
| LOW | Tools/scripts/uploader.py | 254 | CODE | |
| LOW | Tools/scripts/build_boards.py | 31 | CODE | |
| LOW | Tools/scripts/build_script_base.py | 352 | CODE | |
| LOW | Tools/scripts/build_script_base.py | 357 | CODE | |
| LOW | …rollers/ardupilot_vehicle_controller/webots_vehicle.py | 54 | CODE | |
| LOW | libraries/AP_Declination/generate/generate.py | 94 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …es/AP_ExternalAHRS/AP_ExternalAHRS_SensAItion_Parser.h | 68 | // Accuracy Metrics (Vectors as requested) | COMMENT |
| HIGH | libraries/AP_AccelCal/AccelCalibrator.cpp | 292 | // time as requested by user/GCS | COMMENT |
| HIGH | libraries/AP_Winch/AP_Winch_PWM.cpp | 69 | // update distance estimate assuming winch will move exactly as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tools/autotest/arducopter.py | 12048 | # you can use terrain - if you don't the vehicle just uses a | COMMENT |
| MEDIUM | Tools/environment_install/install-ROS-ubuntu.sh | 157 | # If you experience issues connecting to the keyserver, you can try substituting hkp://pgp.mit.edu:80 or hkp://keyserver | COMMENT |
| LOW | …P_HAL/examples/RCInputToRCOutput/RCInputToRCOutput.cpp | 6 | don't forget to push it to enable the PWM output. | CODE |
| LOW | libraries/AP_HAL/examples/RCOutput/RCOutput.cpp | 4 | don't forget to push it to enable the PWM output. | CODE |
| LOW | libraries/AP_HAL/examples/RCOutput2/RCOutput.cpp | 4 | don't forget to push it to enable the PWM output. | CODE |
| LOW | libraries/AP_CheckFirmware/monocypher.h | 238 | // Don't forget to add authentication. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tools/scripts/annotate_params.py | 273 | Extracts the parameter name from a line and validates it. Args: line (str): The line to extract the par | STRING |
| HIGH | Tools/scripts/param_check.py | 373 | Generates and returns metadata for a specific vehicle. Runs an external script to generate the metadata for the spe | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/autotest/vehicle_test_suite.py | 6473 | def set_parameter_bit(self, name: str, bit_offset: int) -> None: | CODE |
| LOW | Tools/autotest/pysim/fdpexpect.py | 13 | __all__ = ['fdspawn'] | CODE |
| LOW | Tools/scripts/annotate_params.py | 301 | def update_parameter_documentation(doc: Dict[str, Any], target: str = '.', sort_type: str = 'none') -> None: | CODE |
| LOW | Tools/scripts/run_coverage.py | 193 | def update_stats(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …_Motors/examples/AP_Motors_test/run_heli_comparison.py | 12 | # --------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libraries/AP_ADSB/AP_ADSB_uAvionix_MAVLink.cpp | 75 | const uint8_t emStatus = 0; // TODO: implement this ENUM. no emergency = 0 | CODE |