a Python API for your car
This report presents the forensic synthetic code analysis of commaai/opendbc, a Python project with 3,369 GitHub stars. SynthScan v2.0 examined 53,292 lines of code across 314 source files, recording 388 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 9.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
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 388 distinct pattern matches across 14 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⚡ | opendbc/car/interfaces.py | 172 | def get_steer_feedforward_default(desired_angle, v_ego): | CODE |
| LOW⚡ | opendbc/car/interfaces.py | 176 | def get_steer_feedforward_function(self): | CODE |
| LOW⚡ | opendbc/car/interfaces.py | 179 | def torque_from_lateral_accel_linear(self, lateral_acceleration: float, torque_params: structs.CarParams.LateralTorque | CODE |
| LOW⚡ | opendbc/car/interfaces.py | 183 | def torque_from_lateral_accel(self) -> TorqueFromLateralAccelCallbackType: | CODE |
| LOW⚡ | opendbc/car/interfaces.py | 186 | def lateral_accel_from_torque_linear(self, torque: float, torque_params: structs.CarParams.LateralTorqueTuning) -> flo | CODE |
| LOW⚡ | opendbc/car/interfaces.py | 189 | def lateral_accel_from_torque(self) -> LateralAccelFromTorqueCallbackType: | CODE |
| LOW | opendbc/car/interfaces.py | 317 | def update_blinker_from_stalk(self, blinker_time: int, left_blinker_stalk: bool, right_blinker_stalk: bool): | CODE |
| LOW | opendbc/car/lateral.py | 70 | def apply_driver_steer_torque_limits(apply_torque: int, apply_torque_last: int, driver_torque: float, LIMITS, steer_max: | CODE |
| LOW | opendbc/car/lateral.py | 93 | def apply_dist_to_meas_limits(val, val_last, val_meas, | CODE |
| LOW | opendbc/car/lateral.py | 115 | def apply_meas_steer_torque_limits(apply_torque, apply_torque_last, motor_torque, LIMITS): | CODE |
| LOW | opendbc/car/lateral.py | 121 | def apply_std_steer_angle_limits(apply_angle: float, apply_angle_last: float, v_ego: float, steering_angle: float, | CODE |
| LOW | opendbc/car/lateral.py | 150 | def apply_steer_angle_limits_vm(apply_angle: float, apply_angle_last: float, v_ego_raw: float, steering_angle: float, | CODE |
| LOW | opendbc/car/ccp.py | 205 | def set_memory_transfer_address(self, mta_num: int, addr_ext: int, addr: int) -> None: | CODE |
| LOW | opendbc/car/ccp.py | 368 | def start_stop_synchronised_transmission(self, mode: int) -> None: | CODE |
| LOW | opendbc/car/ccp.py | 374 | def get_active_calibration_page(self): | CODE |
| LOW | opendbc/car/docs.py | 52 | def build_sorted_car_docs_list(platforms, footnotes=None): | CODE |
| LOW | opendbc/car/vehicle_model.py | 170 | def create_dyn_state_matrices(u: float, VM: VehicleModel) -> tuple[np.ndarray, np.ndarray]: | CODE |
| LOW | opendbc/car/uds.py | 679 | def diagnostic_session_control(self, session_type: SESSION_TYPE): | CODE |
| LOW | opendbc/car/uds.py | 724 | def secured_data_transmission(self, data: bytes): | CODE |
| LOW⚡ | opendbc/car/uds.py | 792 | def read_scaling_data_by_identifier(self, data_identifier_type: DATA_IDENTIFIER_TYPE): | CODE |
| LOW⚡ | opendbc/car/uds.py | 800 | def read_data_by_periodic_identifier(self, transmission_mode_type: TRANSMISSION_MODE_TYPE, periodic_data_identifier: i | CODE |
| LOW⚡ | opendbc/car/uds.py | 805 | def dynamically_define_data_identifier(self, dynamic_definition_type: DYNAMIC_DEFINITION_TYPE, dynamic_data_identifier | CODE |
| LOW | opendbc/car/uds.py | 855 | def clear_diagnostic_information(self, dtc_group_type: DTC_GROUP_TYPE): | CODE |
| LOW | opendbc/car/uds.py | 897 | def input_output_control_by_identifier(self, data_identifier_type: DATA_IDENTIFIER_TYPE, control_parameter_type: CONTR | CODE |
| LOW | opendbc/car/ecu_addrs.py | 9 | def _is_tester_present_response(msg: CanData, subaddr: int | None = None) -> bool: | CODE |
| LOW | opendbc/car/fingerprints.py | 28 | def eliminate_incompatible_cars(msg, candidate_cars): | CODE |
| LOW | opendbc/car/fingerprints.py | 52 | def all_legacy_fingerprint_cars(): | CODE |
| LOW | opendbc/car/volkswagen/mlbcan.py | 21 | def create_acc_buttons_control(packer, bus, gra_stock_values, cancel=False, resume=False): | CODE |
| LOW | opendbc/car/volkswagen/carstate.py | 385 | def parse_mlb_mqb_steering_state(self, ret, pt_cp): | CODE |
| LOW | opendbc/car/volkswagen/pqcan.py | 35 | def create_acc_buttons_control(packer, bus, gra_stock_values, cancel=False, resume=False): | CODE |
| LOW | opendbc/car/volkswagen/mqbcan.py | 55 | def create_acc_buttons_control(packer, bus, gra_stock_values, cancel=False, resume=False): | CODE |
| LOW | opendbc/car/volkswagen/mqbcan.py | 175 | def volkswagen_mqb_meb_checksum(address: int, sig, d: bytearray) -> int: | CODE |
| LOW | opendbc/car/volkswagen/mqbcan.py | 188 | def volkswagen_mqb_meb_dyn_len_checksum(address: int, sig, d: bytearray, length: int, const: list[int]) -> int: | CODE |
| LOW | opendbc/car/volkswagen/mqbcan.py | 200 | def volkswagen_meb_alt_crc_checksum(address: int, sig, d: bytearray) -> int: | CODE |
| LOW | opendbc/car/volkswagen/mebcan.py | 246 | def create_capacitive_wheel_touch(packer, bus, lat_active, klr_stock_values): | CODE |
| LOW | opendbc/car/volkswagen/tests/test_volkswagen.py | 21 | def test_same_torque_mitigation(self): | CODE |
| LOW | opendbc/car/volkswagen/tests/test_volkswagen.py | 33 | def test_spare_part_fw_pattern(self): | CODE |
| LOW | opendbc/car/volkswagen/tests/test_volkswagen.py | 56 | def test_custom_fuzzy_fingerprinting(self): | CODE |
| LOW | opendbc/car/ford/values.py | 268 | def ford_asbuilt_block_request(block_id: int): | CODE |
| LOW | opendbc/car/ford/values.py | 272 | def ford_asbuilt_block_response(block_id: int): | CODE |
| LOW | opendbc/car/ford/radar_interface.py | 72 | def _create_delphi_esr_radar_can_parser(CP) -> CANParser: | CODE |
| LOW | opendbc/car/ford/radar_interface.py | 79 | def _create_delphi_mrr_radar_can_parser(CP) -> CANParser: | CODE |
| LOW | opendbc/car/ford/tests/test_ford.py | 68 | def test_platform_codes_fuzzy_fw(self, fuzzy): | CODE |
| LOW | opendbc/car/ford/tests/test_ford.py | 72 | def test_platform_codes_spot_check(self): | CODE |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 77 | def test_fuzzy_match_ecu_count(self, brand, car_model, ecus): | CODE |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 118 | def test_all_addrs_map_to_one_ecu(self): | CODE |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 128 | def test_data_collection_ecus(self): | CODE |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 151 | def test_missing_versions_and_configs(self): | CODE |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 169 | def test_fw_request_ecu_whitelist(self): | CODE |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 183 | def test_request_ecus_in_versions(self): | CODE |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 220 | def fake_set_obd_multiplexing(self, obd_multiplexing): | CODE |
| LOW | opendbc/car/tests/test_vehicle_model.py | 26 | def test_dyn_ss_sol_against_yaw_rate(self): | CODE |
| LOW | opendbc/car/tests/test_models.py | 108 | def get_testing_data_from_logreader(cls, lr): | CODE |
| LOW | opendbc/car/tests/test_models.py | 231 | def test_panda_safety_rx_checks(self): | CODE |
| LOW | opendbc/car/tests/test_models.py | 284 | def test_panda_safety_tx_cases(self): | CODE |
| LOW | opendbc/car/tests/test_models.py | 323 | def test_panda_safety_carstate_fuzzy(self, fuzzy): | CODE |
| LOW | opendbc/car/tests/test_models.py | 376 | def test_panda_safety_carstate(self): | CODE |
| LOW | opendbc/car/tesla/teslacan.py | 31 | def create_longitudinal_command(self, acc_state, accel, counter, v_ego, active): | CODE |
| LOW | opendbc/car/hyundai/carstate.py | 66 | def recent_button_interaction(self) -> bool: | CODE |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 122 | def test_correct_ecu_response_database(self): | CODE |
| 136 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opendbc/car/interfaces.py | 378 | CODE | |
| LOW | opendbc/car/ccp.py | 136 | CODE | |
| LOW | opendbc/car/vin.py | 32 | CODE | |
| LOW | opendbc/car/fw_versions.py | 54 | CODE | |
| LOW | opendbc/car/fw_versions.py | 104 | CODE | |
| LOW | opendbc/car/fw_versions.py | 173 | CODE | |
| LOW | opendbc/car/fw_versions.py | 252 | CODE | |
| LOW | opendbc/car/uds.py | 366 | CODE | |
| LOW | opendbc/car/uds.py | 474 | CODE | |
| LOW | opendbc/car/uds.py | 498 | CODE | |
| LOW | opendbc/car/uds.py | 805 | CODE | |
| LOW | opendbc/car/xcp.py | 150 | CODE | |
| LOW | opendbc/car/ecu_addrs.py | 31 | CODE | |
| LOW | opendbc/car/isotp_parallel_query.py | 76 | CODE | |
| LOW | opendbc/car/isotp.py | 69 | CODE | |
| LOW | opendbc/car/car_helpers.py | 42 | CODE | |
| LOW | opendbc/car/volkswagen/values.py | 71 | CODE | |
| LOW | opendbc/car/volkswagen/interface.py | 17 | CODE | |
| LOW | opendbc/car/volkswagen/mebcan.py | 97 | CODE | |
| LOW | opendbc/car/volkswagen/carcontroller.py | 63 | CODE | |
| LOW | opendbc/car/volkswagen/tests/test_volkswagen.py | 33 | CODE | |
| LOW | opendbc/car/volkswagen/tests/test_volkswagen.py | 41 | CODE | |
| LOW | opendbc/car/volkswagen/tests/test_volkswagen.py | 56 | CODE | |
| LOW | opendbc/car/ford/interface.py | 31 | CODE | |
| LOW | opendbc/car/ford/fordcan.py | 146 | CODE | |
| LOW | opendbc/car/ford/fordcan.py | 225 | CODE | |
| LOW | opendbc/car/tests/test_docs.py | 34 | CODE | |
| LOW | opendbc/car/tests/test_docs.py | 50 | CODE | |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 101 | CODE | |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 110 | CODE | |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 136 | CODE | |
| LOW | opendbc/car/tests/test_fw_fingerprint.py | 247 | CODE | |
| LOW | opendbc/car/tests/test_vehicle_model.py | 41 | CODE | |
| LOW | opendbc/car/tests/test_models.py | 108 | CODE | |
| LOW | opendbc/car/tests/test_models.py | 231 | CODE | |
| LOW | opendbc/car/tests/test_models.py | 376 | CODE | |
| LOW | opendbc/car/tests/car_diff.py | 35 | CODE | |
| LOW | opendbc/car/tests/car_diff.py | 250 | CODE | |
| LOW | opendbc/car/hyundai/values.py | 645 | CODE | |
| LOW | opendbc/car/hyundai/values.py | 18 | CODE | |
| LOW | opendbc/car/hyundai/carstate.py | 25 | CODE | |
| LOW | opendbc/car/hyundai/carstate.py | 72 | CODE | |
| LOW | opendbc/car/hyundai/hyundaicanfd.py | 236 | CODE | |
| LOW | opendbc/car/hyundai/carcontroller.py | 128 | CODE | |
| LOW | opendbc/car/hyundai/carcontroller.py | 174 | CODE | |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 108 | CODE | |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 139 | CODE | |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 158 | CODE | |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 173 | CODE | |
| LOW | opendbc/car/toyota/values.py | 404 | CODE | |
| LOW | opendbc/car/toyota/interface.py | 25 | CODE | |
| LOW | opendbc/car/toyota/radar_interface.py | 57 | CODE | |
| LOW | opendbc/car/toyota/carcontroller.py | 78 | CODE | |
| LOW | opendbc/car/toyota/tests/test_toyota.py | 68 | CODE | |
| LOW | opendbc/car/toyota/tests/test_toyota.py | 82 | CODE | |
| LOW | opendbc/car/toyota/tests/test_toyota.py | 93 | CODE | |
| LOW | opendbc/car/nissan/carstate.py | 27 | CODE | |
| LOW | opendbc/car/subaru/interface.py | 14 | CODE | |
| LOW | opendbc/car/subaru/carcontroller.py | 26 | CODE | |
| LOW | opendbc/car/rivian/tests/test_rivian.py | 8 | CODE | |
| 39 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | opendbc/car/volkswagen/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/ford/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/mazda/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/body/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/tesla/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/hyundai/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/toyota/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/nissan/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/subaru/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/rivian/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/gm/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/chrysler/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/psa/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | opendbc/car/honda/fingerprints.py | 0 | auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there. | STRING |
| HIGH | …dbc/generator/hyundai/hyundai_kia_mando_front_radar.py | 0 | version "" ns_ : ns_desc_ cm_ ba_def_ ba_ val_ cat_def_ cat_ filter ba_def_def_ ev_data_ envvar_data_ sgtype_ sgtype_val | STRING |
| HIGH | …bc/generator/hyundai/hyundai_kia_mando_corner_radar.py | 0 | version "" ns_ : ns_desc_ cm_ ba_def_ ba_ val_ cat_def_ cat_ filter ba_def_def_ ev_data_ envvar_data_ sgtype_ sgtype_val | STRING |
| HIGH | …endbc/dbc/generator/rivian/rivian_mando_front_radar.py | 0 | version "" ns_ : ns_desc_ cm_ ba_def_ ba_ val_ cat_def_ cat_ filter ba_def_def_ ev_data_ envvar_data_ sgtype_ sgtype_val | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | opendbc/car/lateral.py | 71 | # some safety modes utilize a dynamic max steer | COMMENT |
| MEDIUM | opendbc/car/docs_definitions.py | 40 | CUSTOM = "Custom" # Upstream, but don't have a harness available or need an unusual custom install | CODE |
| MEDIUM | opendbc/car/docs_definitions.py | 97 | has_connector: bool = True # without are hidden on the harness connector page | CODE |
| LOW | opendbc/car/volkswagen/values.py | 321 | # chassis code is already listed below, don't add a new CAR, just add to the | COMMENT |
| MEDIUM | opendbc/car/volkswagen/interface.py | 43 | ret.dashcamOnly = is_release # Release support needs HCA timeout fix, safety validation, revised J533 harness | CODE |
| MEDIUM | opendbc/car/volkswagen/interface.py | 75 | # only allow gateway harness to escalate Emergency Assist | COMMENT |
| MEDIUM | opendbc/car/volkswagen/radar_interface.py | 25 | # With the MEB gateway harness, we do not have access to the raw points from the radar. | COMMENT |
| MEDIUM | opendbc/car/hyundai/values.py | 573 | # TODO: 2021 MY harness is unknown | COMMENT |
| MEDIUM | opendbc/car/hyundai/values.py | 583 | # TODO: Hyundai P is likely the correct harness for HDA II for 2.5T (unsupported due to missing ADAS ECU, is that | COMMENT |
| MEDIUM | opendbc/car/hyundai/hyundaicanfd.py | 15 | # have a different harness than the LFA steering variants in order to split | COMMENT |
| MEDIUM | opendbc/car/toyota/values.py | 73 | # these cars can utilize 2.0 m/s^2 | COMMENT |
| LOW | opendbc/car/toyota/tests/test_toyota.py | 15 | # TODO: just use the FW patterns, need to support all chunks | COMMENT |
| MEDIUM | opendbc/car/gm/values.py | 113 | # Don't show in docs until the harness is sold. See https://github.com/commaai/openpilot/issues/32471 | COMMENT |
| MEDIUM | opendbc/car/gm/values.py | 276 | # We're integrated at the camera with VOACC on these cars (instead of ASCM w/ OBD-II harness) | COMMENT |
| MEDIUM | opendbc/car/gm/interface.py | 124 | else: # ASCM, OBD-II harness | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opendbc/car/tesla/tests/test_tesla.py | 21 | # After the comma, the version string decomposes into: | COMMENT |
| LOW | opendbc/car/hyundai/values.py | 81 | # message, ADAS DRV ECU forwards it as LFA to MDPS. For longitudinal, disable ADAS | COMMENT |
| LOW | opendbc/car/hyundai/hyundaican.py | 41 | CAR.HYUNDAI_SANTA_FE_PHEV_2022, CAR.KIA_STINGER_2022, CAR.KIA_K5_HEV_2020, CAR.KIA_CEED, | COMMENT |
| LOW | opendbc/car/toyota/values.py | 481 | COMMENT | |
| LOW | opendbc/car/toyota/values.py | 501 | # - fwdCamera: describes actual features related to ADAS. For example, on the Avalon it describes | COMMENT |
| LOW | opendbc/car/toyota/values.py | 561 | # Responds to KWP (0x1a8801): | COMMENT |
| LOW | opendbc/car/rivian/carstate.py | 61 | # * ACM_FaultStatus will stay 0 since ACM itself isn't faulted | COMMENT |
| LOW | opendbc/safety/declarations.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/declarations.h | 21 | #define SAFETY_ALLOUTPUT 17U | COMMENT |
| LOW | opendbc/safety/declarations.h | 301 | struct sample_t meas; // last 6 steer curvatures | COMMENT |
| LOW | opendbc/safety/safety.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/safety.h | 21 | #include "opendbc/safety/modes/subaru.h" | COMMENT |
| LOW | opendbc/safety/modes/chrysler.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/modes/chrysler.h | 21 | #define CHRYSLER_RAM_DT_DAS_3 0x99 | COMMENT |
| LOW | opendbc/safety/modes/volkswagen_common.h | 21 | COMMENT | |
| LOW | opendbc/safety/modes/volkswagen_pq.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/modes/ford.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/modes/volkswagen_meb.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/modes/subaru_preglobal.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/modes/mazda.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/modes/psa.h | 1 | #pragma once | COMMENT |
| LOW | opendbc/safety/modes/subaru.h | 21 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opendbc/testing.py | 119 | except Exception as exc: | CODE |
| LOW | opendbc/car/vin.py | 70 | except Exception: | CODE |
| LOW | opendbc/car/fw_versions.py | 317 | except Exception: | CODE |
| LOW | opendbc/car/disable_ecu.py | 31 | except Exception: | CODE |
| LOW | opendbc/car/ecu_addrs.py | 54 | except Exception: | CODE |
| LOW | opendbc/car/isotp_parallel_query.py | 108 | except Exception: | CODE |
| LOW | opendbc/car/tests/car_diff.py | 108 | except Exception: | CODE |
| LOW | opendbc/safety/tests/mutation.py | 478 | except Exception as exc: | STRING |
| LOW | opendbc/safety/tests/mutation.py | 552 | except Exception: | STRING |
| LOW | opendbc/safety/tests/mutation.py | 561 | except Exception: | STRING |
| MEDIUM | opendbc/safety/tests/mutation.py | 470 | def eval_mutant(site, targets, lib_path, verbose): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | opendbc/car/vehicle_model.py | 50 | If the speed is too low we can't use the dynamic model (tire slip is undefined), | STRING |
| HIGH | opendbc/car/vehicle_model.py | 153 | At low speeds the tire slip is undefined, so a kinematic | STRING |
| HIGH | opendbc/safety/tests/misra/test_mutation.py | 27 | ("misra-c2012-13.5", lambda s: s + "\nvoid test(int tmp) { if (true && tmp++) {;} }\n"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opendbc/car/ccp.py | 205 | def set_memory_transfer_address(self, mta_num: int, addr_ext: int, addr: int) -> None: | CODE |
| LOW | opendbc/car/ccp.py | 256 | def set_daq_list_pointer(self, list_num: int, odt_num: int, element_num: int) -> None: | CODE |
| LOW | opendbc/car/ccp.py | 295 | def set_session_status(self, status: int) -> None: | CODE |
| LOW | opendbc/car/vehicle_model.py | 41 | def update_params(self, stiffness_factor: float, steer_ratio: float) -> None: | CODE |
| LOW | opendbc/can/dbc.py | 214 | def set_signal_type(sig: Signal, chk: ChecksumState | None, dbc_name: str, line_num: int) -> None: | CODE |
| LOW | opendbc/can/__init__.py | 4 | __all__ = [ | CODE |
| LOW | opendbc/can/packer.py | 58 | def set_value(msg: bytearray, sig: Signal, ival: int) -> None: | CODE |
| LOW | examples/kbhit.py | 14 | def set_kbhit_terminal(self) -> None: | CODE |
| LOW | examples/kbhit.py | 26 | def set_normal_term(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | opendbc/car/secoc.py | 15 | # Step 1: Build Freshness Value (48 bits) | COMMENT |
| LOW⚡ | opendbc/car/secoc.py | 19 | # Step 2: Build data to authenticate (96 bits) | COMMENT |
| LOW⚡ | opendbc/car/secoc.py | 23 | # Step 3: Calculate CMAC (28 bit) | COMMENT |
| LOW⚡ | opendbc/car/secoc.py | 28 | # Step 4: Build message | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | opendbc/car/secoc.py | 15 | # Step 1: Build Freshness Value (48 bits) | COMMENT |
| LOW⚡ | opendbc/car/secoc.py | 19 | # Step 2: Build data to authenticate (96 bits) | COMMENT |
| LOW⚡ | opendbc/car/secoc.py | 23 | # Step 3: Calculate CMAC (28 bit) | COMMENT |
| LOW⚡ | opendbc/car/secoc.py | 28 | # Step 4: Build message | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opendbc/car/mazda/carstate.py | 98 | # Check if LKAS is disabled due to lack of driver torque when all other states indicate | COMMENT |
| LOW | opendbc/car/hyundai/interface.py | 47 | # Check if the car is hybrid. Only HEV/PHEV cars have 0xFA on E-CAN. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | opendbc/car/rivian/radar_interface.py | 55 | # Rivian's Short Range Radar (SSR) detects close stationary objects like guardrails, which cause phantom braking. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opendbc/car/honda/carcontroller.py | 81 | # TODO: implement separate available LDW alert | COMMENT |
| LOW | opendbc/safety/modes/volkswagen_mlb.h | 13 | // TODO: implement checksum validation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opendbc/can/__init__.py | 1 | CODE | |
| LOW | opendbc/can/__init__.py | 2 | CODE | |
| LOW | opendbc/can/__init__.py | 2 | CODE |