a Python API for your car
This report summarizes scanner evidence for commaai/opendbc, a Python project with 3,478 GitHub stars. SynthScan examined 53,483 lines of code across 320 source files, recording 396 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 10.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? 348 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 242 finding(s).
Which changes need focused human review? 396 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 396 distinct pattern matches across 16 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⚡ | 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 | 390 | 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 | 248 | 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 | 271 | def ford_asbuilt_block_request(block_id: int): | CODE |
| LOW | opendbc/car/ford/values.py | 275 | 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 | 19 | 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 | 123 | def test_correct_ecu_response_database(self): | CODE |
| 140 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 | 128 | CODE | |
| LOW | opendbc/car/ford/fordcan.py | 207 | 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 | 653 | 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 | 109 | CODE | |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 140 | CODE | |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 159 | CODE | |
| LOW | opendbc/car/hyundai/tests/test_hyundai.py | 174 | CODE | |
| LOW | opendbc/car/toyota/values.py | 405 | 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 | |
| 38 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 | 322 | # chassis code is already listed below, don't add a new CAR, just add to the | COMMENT |
| MEDIUM | opendbc/car/volkswagen/interface.py | 45 | ret.dashcamOnly = is_release # Release support needs HCA timeout fix, safety validation, revised J533 harness | CODE |
| MEDIUM | opendbc/car/volkswagen/interface.py | 78 | # 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 | 581 | # TODO: 2021 MY harness is unknown | COMMENT |
| MEDIUM | opendbc/car/hyundai/values.py | 591 | # 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 | 74 | # 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 | 118 | # 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 | 281 | # 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 | 125 | else: # ASCM, OBD-II harness | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | opendbc/car/interfaces.py | 398 | except (ImportError, OSError): | CODE |
| HIGH | opendbc/car/logreader.py | 60 | except capnp.lib.capnp.KjException: | CODE |
| HIGH | opendbc/car/uds.py | 397 | except IndexError: | CODE |
| HIGH | opendbc/car/tests/test_models.py | 65 | except OSError: | CODE |
| HIGH | opendbc/car/tests/test_models.py | 156 | except (OSError, AssertionError): | 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, CAR. | COMMENT |
| LOW | opendbc/car/toyota/values.py | 481 | COMMENT | |
| LOW | opendbc/car/toyota/values.py | 501 | # List of ECUs that are most unique across openpilot platforms | COMMENT |
| LOW | opendbc/car/toyota/values.py | 561 | # - Telematics ((0x750, 0xc7)) | 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 | uint32_t ts_check_last; | 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 | 477 | except Exception as exc: | STRING |
| LOW | opendbc/safety/tests/mutation.py | 551 | except Exception: | STRING |
| LOW | opendbc/safety/tests/mutation.py | 560 | except Exception: | STRING |
| MEDIUM | opendbc/safety/tests/mutation.py | 469 | 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 | 259 | def set_signal_type(sig: Signal, chk: ChecksumState | None, dbc_name: str, line_num: int, address: 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 | 48 | # 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 | 16 | // 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | opendbc/safety/tests/libsafety/libsafety_py.py | 64 | # This function is generated by mutation.py rather than defined in the sources above. | COMMENT |