ArduPlane, ArduCopter, ArduRover, ArduSub source
This report summarizes scanner evidence for ArduPilot/ardupilot, a C++ project with 16,027 GitHub stars. SynthScan examined 1,203,484 lines of code across 5006 source files, recording 5927 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 5.2 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 5478 finding(s).
Are imports declared and package/API names verified? 106 finding(s).
Are wrappers, guards, and repeated structures necessary? 1046 finding(s).
Which changes need focused human review? 5927 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 5927 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 | COMMENT | |
| LOW | Blimp/config.h | 61 | ////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | Blimp/config.h | 81 | #endif | COMMENT |
| LOW | Blimp/config.h | 121 | # define CH_MODE_DEFAULT 5 | 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: 0 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 |
| 4302 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tools/autotest/helicopter.py | 621 | except AutoTestTimeoutException: | CODE |
| HIGH | Tools/autotest/fakepos.py | 40 | except socket.error: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 105 | except ImportError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 1285 | except KeyError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 1478 | except KeyError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 2015 | except KeyError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 2808 | except OSError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 3218 | except OSError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 3519 | except AttributeError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 9784 | except IOError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 9786 | except OSError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 9797 | except IOError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 9799 | except OSError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 10011 | except IndexError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 14543 | except ValueError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 2665 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 2667 | except AutoTestTimeoutException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 2669 | except ConnectionResetError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 2671 | except socket.error: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 3373 | except IOError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 6142 | except queue.Empty: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 6561 | except AutoTestTimeoutException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 6993 | except pexpect.TIMEOUT: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 7322 | except pexpect.ExceptionPexpect: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 7338 | except FileNotFoundError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 9191 | except (KeyError, AttributeError): | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12157 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12166 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12178 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 14222 | except KeyError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 451 | except Exception: # noqa: BLE001 | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 6793 | except AutoTestTimeoutException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 9394 | except Exception: # noqa: BLE001 | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12134 | except ValueError: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12138 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12145 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12192 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 12199 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/vehicle_test_suite.py | 3299 | except KeyError: | CODE |
| HIGH | Tools/autotest/autotest.py | 265 | except Exception: # noqa: BLE001 | CODE |
| HIGH | Tools/autotest/autotest.py | 496 | except (FileNotFoundError, ValueError): | CODE |
| HIGH | Tools/autotest/quadplane.py | 1574 | except AutoTestTimeoutException: | CODE |
| HIGH | Tools/autotest/quadplane.py | 168 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/test_build_options.py | 613 | except FileNotFoundError: | CODE |
| HIGH | Tools/autotest/arduplane.py | 5399 | except WaitModeTimeout: | CODE |
| HIGH | Tools/autotest/arduplane.py | 215 | except AutoTestTimeoutException: | CODE |
| HIGH | Tools/autotest/rover.py | 4166 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/rover.py | 4220 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/rover.py | 4254 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/rover.py | 4288 | except NotAchievedException: | CODE |
| HIGH | Tools/autotest/test_param_upgrade.py | 214 | except subprocess.CalledProcessError: | CODE |
| HIGH | Tools/autotest/unittest/annotate_params_unittest.py | 90 | except FileNotFoundError: | CODE |
| HIGH | Tools/autotest/unittest/annotate_params_unittest.py | 139 | except FileNotFoundError: | CODE |
| HIGH | Tools/autotest/unittest/annotate_params_unittest.py | 167 | except FileNotFoundError: | CODE |
| HIGH | Tools/autotest/unittest/annotate_params_unittest.py | 185 | except FileNotFoundError: | CODE |
| HIGH | Tools/autotest/unittest/annotate_params_unittest.py | 124 | except FileNotFoundError: | CODE |
| HIGH | Tools/autotest/pysim/util.py | 70 | except (OSError, FileNotFoundError): | CODE |
| HIGH | Tools/autotest/pysim/util.py | 420 | except Exception: # noqa: BLE001 | CODE |
| HIGH | Tools/autotest/pysim/util.py | 424 | except Exception: # noqa: BLE001 | CODE |
| HIGH | Tools/autotest/pysim/util.py | 440 | except Exception: # noqa: BLE001 | CODE |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/mavproxy_modules/sitl_calibration.py | 458 | 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 | 28 | def max_distance_from_startup_location_at_end_of_test(self): | CODE |
| LOW | Tools/autotest/helicopter.py | 55 | def subgroupvarptr_activation_params(self): | CODE |
| LOW | Tools/autotest/helicopter.py | 68 | def get_position_armable_modes_list(): | CODE |
| LOW | Tools/autotest/helicopter.py | 1378 | def autotune_land_and_save_gains(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 4879 | def assert_message_field_values(self, m, fieldvalues, verbose=True, epsilon=None): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 4884 | def assert_cached_message_field_values(self, message, fieldvalues, verbose=True, very_verbose=False, epsilon=None): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 4891 | def assert_received_message_field_values(self, | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5388 | def install_script_content_context(self, scriptname, content): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5395 | def install_example_script_context(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5401 | def install_test_script_context(self, scriptnames): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5410 | def install_test_scripts_context(self, *args, **kwargs): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5414 | def install_test_modules_context(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5420 | def install_script_module_context(self, source, modulename, install_name=None): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5428 | def install_mavlink_module_context(self, modulename="mavlink"): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5434 | def install_applet_script_context(self, scriptname, install_name=None): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5441 | def install_driver_script_context(self, scriptname, install_name=None): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5762 | def sitl_home_string_from_mission(self, filename): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5767 | def sitl_home_string_from_mission_filepath(self, filepath): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5772 | def get_home_tuple_from_mission(self, filename): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5781 | def get_home_location_from_mission(self, filename): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5785 | def get_home_tuple_from_mission_filepath(self, filepath): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5795 | def load_mission_from_filepath(self, | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 5992 | def check_fence_upload_download(self, items): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6000 | def check_mission_upload_download(self, items, strict=True): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6009 | def check_rally_upload_download(self, items): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6018 | def check_dflog_message_rates(self, log_filepath, message_rates): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6288 | def send_mavlink_disarm_command(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6294 | def send_mavlink_run_prearms_command(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6297 | def analog_rangefinder_parameters(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 6306 | def set_analog_rangefinder_parameters(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 7359 | # def context_start_custom_binary(self, extra_defines={}): | COMMENT |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 7954 | def do_set_mode_via_command_long(self, mode, timeout=30): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 7957 | def do_set_mode_via_command_int(self, mode, timeout=30): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 7960 | def mavproxy_do_set_mode_via_command_long(self, mavproxy, mode, timeout=30): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 7995 | def assert_vehicle_location_is_at_startup_location(self, dist_max=1): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 8005 | def max_distance_from_startup_location_at_end_of_test(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 8013 | def assert_simstate_location_is_at_startup_location(self, dist_max=1): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9084 | def _rc_overrides_send_single(self, chan, pwm): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9094 | def _rc_overrides_release_single(self, chan): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9104 | def _check_rc_overrides_cleared_by_pilot_input(self, | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9699 | def script_example_source_path(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9705 | def script_applet_source_path(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9708 | def script_driver_source_path(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9711 | def script_modules_source_path(self, scriptname): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9802 | def mavlink_connection_supports_reconnect_delay(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9810 | def announce_ourselves_to_ardupilot(self): | CODE |
| LOW⚡ | Tools/autotest/vehicle_test_suite.py | 9819 | def announce_ourselves_on_every_connection(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1791 | def dump_dataid_counts_as_progress_messages(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1795 | def dump_sensor_id_poll_counts_as_progress_messages(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1868 | def send_mavlite_param_request_read(self, parameter_name): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 1891 | def send_mavlite_command_long( | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2294 | def mavproxy_ftp_module_has_command(self, command): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2353 | def autotest_connection_string_to_ardupilot(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2383 | def sitl_rcin_commandline_value(self, offset=0): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2406 | def repeatedly_apply_parameter_filepath(self, filepath): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2418 | def repeatedly_apply_parameter_filepath_mavproxy(self, filepath): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2432 | def apply_defaultfile_parameters(self): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2444 | def count_expected_fence_lines_in_filepath(self, filepath): | CODE |
| 612 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 | 1431 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 1934 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 2418 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 2896 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 3212 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 4105 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 4152 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 4828 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 4915 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 5466 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 5636 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 6123 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 6735 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 6943 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7837 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 8480 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 9422 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 9468 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 11038 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 11683 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 11779 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 11922 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 12063 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 12666 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 12981 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 13935 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 14229 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 14368 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 14630 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 15010 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 15230 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 16434 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 16731 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 17325 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 17412 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 18443 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 19554 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 4178 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 11130 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 12992 | CODE | |
| LOW | Tools/autotest/autotest.py | 429 | CODE | |
| LOW | Tools/autotest/autotest.py | 735 | CODE | |
| LOW | Tools/autotest/quadplane.py | 2487 | CODE | |
| LOW | Tools/autotest/quadplane.py | 3829 | CODE | |
| LOW | Tools/autotest/ardusub.py | 1216 | CODE | |
| LOW | Tools/autotest/ardusub.py | 1440 | CODE | |
| LOW | Tools/autotest/antennatracker.py | 214 | CODE | |
| LOW | Tools/autotest/test_mavlink_param_upgrade.py | 82 | CODE | |
| LOW | Tools/autotest/test_build_options.py | 142 | CODE | |
| LOW | Tools/autotest/test_build_options.py | 203 | CODE | |
| LOW | Tools/autotest/arduplane.py | 356 | CODE | |
| LOW | Tools/autotest/arduplane.py | 5939 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 260 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 337 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 662 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 735 | CODE | |
| LOW | Tools/autotest/sim_vehicle.py | 1090 | CODE | |
| LOW | Tools/autotest/rover.py | 1388 | CODE | |
| 207 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 | 444 | def connect(self): | CODE |
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 4178 | def verify_logs(test_log_num): | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 451 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 2673 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3788 | except Exception: | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 3828 | except Exception: | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 4092 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 7228 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 7281 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 9394 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 9885 | except Exception as msg: | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 10092 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 10118 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 10128 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 10179 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 10213 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11410 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11771 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11822 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11912 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 11943 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 12537 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 12604 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 12828 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 14539 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 14700 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 16241 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 16609 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 16640 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 17587 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 17633 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 17681 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 17716 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 17758 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 18036 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 18083 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 18123 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 18183 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 18237 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 18340 | 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 | 265 | except Exception: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/autotest.py | 780 | except Exception as msg: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/autotest.py | 1332 | except Exception: | CODE |
| LOW | Tools/autotest/quadplane.py | 1803 | except Exception: | CODE |
| LOW | Tools/autotest/test_build_options.py | 483 | 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 | 324 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 436 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 537 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 555 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 4633 | except Exception: | CODE |
| LOW | Tools/autotest/arduplane.py | 5401 | except Exception as e: | CODE |
| LOW | Tools/autotest/arduplane.py | 5856 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | Tools/autotest/sim_vehicle.py | 319 | except Exception as e: # noqa: BLE001 | CODE |
| 111 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 | 51 | # 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 | 501 | # 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/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 | 12 | 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/convert_params_4_7.py | 29 | CODE | |
| LOW | Tools/scripts/param_check.py | 32 | CODE | |
| LOW | Tools/scripts/check_branch_conventions.py | 19 | CODE | |
| LOW | Tools/scripts/convert_param_scale.py | 21 | 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 | 12 | CODE | |
| LOW | Tools/scripts/CAN/CAN_playback.py | 13 | CODE | |
| LOW | Tools/scripts/CAN/CAN_playback.py | 15 | 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 | 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 | |
| LOW | Tools/ardupilotwaf/toolchain.py | 20 | CODE | |
| 36 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/ardusub.py | 0 | compare logged ekf2 and ekf3 estimates against simulator truth | STRING |
| HIGH | Tools/autotest/blimp.py | 0 | compare logged ekf2 and ekf3 estimates against simulator truth | STRING |
| HIGH | Tools/autotest/arduplane.py | 0 | compare logged ekf2 and ekf3 estimates against simulator truth | STRING |
| HIGH | Tools/autotest/rover.py | 0 | compare logged ekf2 and ekf3 estimates against simulator truth | 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 |
|---|---|---|---|---|
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 10230 | # the harness performs, because what matters is the state the next | COMMENT |
| MEDIUM | Tools/autotest/arduplane.py | 3941 | # in the future when the test is more robust. | COMMENT |
| MEDIUM | Tools/autotest/arduplane.py | 5699 | # a final reset so the harness sees a disarmed vehicle at the end: | COMMENT |
| LOW | Tools/autotest/arduplane.py | 1258 | # 26.6m/s, *above* the FLAP_1_SPEED we just set, so the flaps deploy on the | COMMENT |
| LOW | Tools/autotest/arduplane.py | 3153 | # 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_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 | 90 | // 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 | 177 | // 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 | 365 | // 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/SITL/examples/Webots/tests/flight_test.py | 42 | # Arming checks and the auto-disarm timer are off because this harness talks | COMMENT |
| MEDIUM | libraries/AP_Param/AP_Param.cpp | 762 | // this makes us more robust to power off while adding a variable | COMMENT |
| MEDIUM | libraries/AP_GPS/GPS_Backend.cpp | 367 | // 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 | 619 | // reset our scratch area so we don't leak data, and can leverage trimming | COMMENT |
| MEDIUM | libraries/GCS_MAVLink/GCS_Common.cpp | 3197 | // note that this is not quite right; we could be more nuanced | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tools/autotest/vehicle_test_suite.py | 17960 | # the size counts both names and the separating null, not the | COMMENT |
| HIGH | Tools/autotest/vehicle_test_suite.py | 16942 | entry means the autopilot emitted a stray null, which makes a client | STRING |
| HIGH | Tools/autotest/arduplane.py | 3721 | # Before the fix WIND.speed was wind.length() (3D); after the fix it | COMMENT |
| HIGH⚡ | Tools/autotest/arduplane.py | 4301 | if gyro.length() > gyro_threshold: | CODE |
| HIGH⚡ | Tools/autotest/arduplane.py | 4304 | if accel.length() > accel_threshold: | CODE |
| HIGH⚡ | Tools/autotest/arduplane.py | 4308 | if gyro.length() > gyro_threshold*2: | CODE |
| HIGH⚡ | Tools/autotest/arduplane.py | 4311 | if accel.length() > accel_threshold*2: | CODE |
| 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 |
|---|---|---|---|---|
| LOW | Tools/autotest/vehicle_test_suite.py | 11628 | # Check if we got the expected message or an unexpected one | COMMENT |
| LOW | Tools/autotest/arduplane.py | 7886 | # Check if all servos wiggle | COMMENT |
| LOW | Tools/autotest/arduplane.py | 4838 | "FENCE_ACTION": 0, # Set action to report | CODE |
| LOW | Tools/autotest/arduplane.py | 4880 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 4921 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 4958 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 5010 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 5073 | "FENCE_ACTION": 8, # Set action to AUTOLAND if possible | CODE |
| LOW | Tools/autotest/arduplane.py | 5139 | "FENCE_ACTION": 1, # Set action to RTL | CODE |
| LOW | Tools/autotest/arduplane.py | 5208 | "FENCE_ACTION": 6, # Set action to GUIDED | CODE |
| LOW | Tools/autotest/rover.py | 6299 | # 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 | 216 | # Loop through the list | COMMENT |
| LOW | Tools/autotest/logger_metadata/parse.py | 231 | # Loop through the list | COMMENT |
| LOW | Tools/autotest/logger_metadata/parse.py | 251 | # Check if the defined format for this field contains its own multiplier | COMMENT |
| LOW | Tools/autotest/logger_metadata/parse.py | 257 | # Check if we have a defined prefix for this multiplier | COMMENT |
| LOW | Tools/scripts/build_binaries.py | 958 | # Check if the compressed output file was created | 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 | 198 | # Check if we need to manually install libtool-bin | COMMENT |
| LOW | Tools/environment_install/install-prereqs-ubuntu.sh | 411 | # Check if we need to manually install realpath | COMMENT |
| LOW | Tools/environment_install/install-prereqs-ubuntu.sh | 417 | # Check if we need to manually install libtool-bin | COMMENT |
| LOW | Tools/environment_install/install-prereqs-ubuntu.sh | 464 | # 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 | 48 | # 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 |
|---|---|---|---|---|
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 6688 | CODE | |
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 6690 | CODE | |
| MEDIUM | Tools/autotest/vehicle_test_suite.py | 6699 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3159 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3161 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3164 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3167 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3169 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3170 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3174 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3175 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3176 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3177 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3179 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3180 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3183 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3184 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3186 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3187 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3190 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3191 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3194 | CODE | |
| MEDIUM | Tools/autotest/arduplane.py | 3195 | CODE | |
| MEDIUM | Tools/autotest/rover.py | 2724 | CODE | |
| MEDIUM | Tools/autotest/rover.py | 2727 | CODE | |
| MEDIUM | Tools/scripts/decode_ICSR.py | 137 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Tools/autotest/quadplane.py | 949 | # Step 2: inject actual motor noise and use the standard length FFT to track it | COMMENT |
| LOW⚡ | Tools/autotest/quadplane.py | 959 | # Step 3: add a FFT dynamic notch and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/quadplane.py | 936 | # Step 1: inject a very precise noise peak at 250hz and make sure the in-flight fft | COMMENT |
| LOW | Tools/autotest/quadplane.py | 993 | # Step 4: take off as a copter land as a plane, make sure we track | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 696 | # Step 1: Attempt the lookup | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 707 | # Step 2: Validate the response object (Handles status_code 403 if no exception was raised) | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 716 | # Step 3: Success logic | 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 | 949 | # Step 2: inject actual motor noise and use the standard length FFT to track it | COMMENT |
| LOW⚡ | Tools/autotest/quadplane.py | 959 | # Step 3: add a FFT dynamic notch and check that the peak is squashed | COMMENT |
| LOW | Tools/autotest/quadplane.py | 936 | # Step 1: inject a very precise noise peak at 250hz and make sure the in-flight fft | COMMENT |
| LOW | Tools/autotest/quadplane.py | 993 | # Step 4: take off as a copter land as a plane, make sure we track | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 696 | # Step 1: Attempt the lookup | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 707 | # Step 2: Validate the response object (Handles status_code 403 if no exception was raised) | COMMENT |
| LOW⚡ | Tools/autotest/sim_vehicle.py | 716 | # Step 3: Success logic | COMMENT |
| LOW | libraries/AP_ESC_Telem/AP_ESC_Telem.cpp | 823 | // 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 | 72 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 2103 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 5566 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7412 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7448 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7521 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 7572 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 13935 | CODE | |
| LOW | Tools/autotest/vehicle_test_suite.py | 15450 | CODE | |
| LOW | Tools/autotest/quadplane.py | 4492 | CODE | |
| LOW | Tools/autotest/quadplane.py | 4545 | CODE | |
| LOW | Tools/autotest/test_build_options.py | 45 | CODE | |
| LOW | Tools/autotest/arduplane.py | 10609 | CODE | |
| LOW | Tools/autotest/arduplane.py | 10905 | 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 | 83 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 183 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 282 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 328 | CODE | |
| LOW | Tools/autotest/pysim/util.py | 596 | CODE | |
| LOW | Tools/autotest/param_metadata/rstemit.py | 55 | CODE | |
| LOW | Tools/scripts/size_compare_branches.py | 64 | CODE | |
| LOW | Tools/scripts/uploader.py | 260 | CODE | |
| LOW | Tools/scripts/build_boards.py | 31 | CODE | |
| LOW | Tools/scripts/build_script_base.py | 362 | CODE | |
| LOW | Tools/scripts/build_script_base.py | 367 | CODE | |
| LOW | Tools/renode/gen_board.py | 2296 | CODE | |
| LOW | Tools/renode/gen_board.py | 2578 | 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| MEDIUM | …_Motors/examples/AP_Motors_test/run_heli_comparison.py | 12 | # --------------- | COMMENT |
| MEDIUM | libraries/SITL/examples/Webots/tests/migrate_worlds.py | 507 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | libraries/SITL/examples/Webots/tests/migrate_worlds.py | 1061 | # ---------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| LOW | Tools/autotest/vehicle_test_suite.py | 277 | def set_alt_m(self, alt_m: float, frame: AltFrame) -> None: | CODE |
| LOW | Tools/autotest/vehicle_test_suite.py | 6701 | 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/decode_devid.py | 41 | __all__ = [ # noqa: F822 (the *_TYPES tables are provided by __getattr__) | CODE |
| LOW | Tools/scripts/run_coverage.py | 225 | def update_stats(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libraries/AP_ADSB/AP_ADSB_MAVLink.cpp | 75 | const uint8_t emStatus = 0; // TODO: implement this ENUM. no emergency = 0 | CODE |