openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.
This report summarizes scanner evidence for commaai/openpilot, a Python project with 63,855 GitHub stars. SynthScan examined 92,964 lines of code across 767 source files, recording 937 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 15.3 (Elevated 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? 532 finding(s).
Are imports declared and package/API names verified? 37 finding(s).
Are wrappers, guards, and repeated structures necessary? 600 finding(s).
Which changes need focused human review? 937 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 937 distinct pattern matches across 17 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 |
|---|---|---|---|---|
| HIGH | tools/scripts/live_cpu_and_temp.py | 87 | except IndexError: | CODE |
| HIGH | tools/scripts/car/can_print_changes.py | 63 | except KeyboardInterrupt: | CODE |
| HIGH | docs/serve.py | 542 | except KeyboardInterrupt: | CODE |
| HIGH | openpilot/tools/clip/run.py | 225 | except UnknownKeyName: | CODE |
| HIGH | openpilot/tools/jotpluggler/math_eval.py | 45 | except SyntaxError: | CODE |
| HIGH | openpilot/tools/lib/auth.py | 67 | except ConnectionError: | CODE |
| HIGH | openpilot/tools/lib/logreader.py | 128 | except capnp.lib.capnp.KjException: | CODE |
| HIGH | openpilot/tools/lib/url_file.py | 45 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/auth_config.py | 29 | except FileNotFoundError: | CODE |
| HIGH | openpilot/tools/lib/file_downloader.py | 96 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/file_downloader.py | 298 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/file_downloader.py | 275 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/filereader.py | 27 | except (socket.gaierror, ConnectionRefusedError): | CODE |
| HIGH | openpilot/tools/replay/can_replay.py | 49 | except usb1.USBErrorTimeout: | CODE |
| HIGH | openpilot/selfdrive/ui/ui.py | 37 | except OSError: | CODE |
| HIGH | …enpilot/selfdrive/ui/mici/layouts/settings/firehose.py | 65 | except Exception: | CODE |
| HIGH | openpilot/selfdrive/ui/lib/prime_state.py | 57 | except (ValueError, TypeError): | CODE |
| HIGH | openpilot/selfdrive/car/card.py | 127 | except Exception: | CODE |
| HIGH | openpilot/selfdrive/test/mem_usage.py | 41 | except AttributeError: | CODE |
| HIGH | openpilot/selfdrive/test/process_replay/capture.py | 49 | except ImportError: | CODE |
| HIGH | openpilot/selfdrive/modeld/helpers.py | 29 | except Exception: | CODE |
| HIGH | openpilot/system/logmessaged.py | 51 | except ValueError: | CODE |
| HIGH | openpilot/system/tombstoned.py | 129 | except PermissionError: | CODE |
| HIGH | openpilot/system/tombstoned.py | 34 | except Exception: | CODE |
| HIGH | openpilot/system/tombstoned.py | 150 | except Exception: | CODE |
| HIGH | openpilot/system/tombstoned.py | 86 | except ValueError: | CODE |
| HIGH | openpilot/system/proclogd.py | 184 | except OSError: | CODE |
| HIGH | openpilot/system/proclogd.py | 189 | except OSError: | CODE |
| HIGH | openpilot/system/ubloxd/pigeond.py | 157 | except TimeoutError: | CODE |
| HIGH | openpilot/system/ui/mici_updater.py | 139 | except ValueError: | CODE |
| HIGH | openpilot/system/ui/tici_updater.py | 88 | except ValueError: | CODE |
| HIGH | openpilot/system/ui/lib/egl.py | 172 | except OSError: | CODE |
| HIGH | openpilot/system/ui/lib/application.py | 695 | except KeyboardInterrupt: | CODE |
| HIGH | openpilot/system/hardware/hardwared.py | 288 | except queue.Empty: | CODE |
| HIGH | openpilot/system/hardware/hardwared.py | 398 | except Exception: | CODE |
| HIGH | openpilot/system/hardware/hardwared.py | 186 | except queue.Full: | CODE |
| HIGH | openpilot/system/hardware/chestnut/monitoring.py | 39 | except usb1.USBError: | CODE |
| HIGH | openpilot/system/hardware/chestnut/flash.py | 409 | except OSError: | CODE |
| HIGH | openpilot/system/hardware/chestnut/flash.py | 69 | except OSError: | CODE |
| HIGH | openpilot/system/sensord/sensord.py | 133 | except KeyboardInterrupt: | CODE |
| HIGH | openpilot/system/sensord/sensord.py | 73 | except Sensor.DataNotReady: | CODE |
| HIGH | openpilot/system/manager/build.py | 41 | except Exception: | CODE |
| HIGH | openpilot/system/manager/process.py | 206 | except (OSError, FileNotFoundError): | CODE |
| HIGH | openpilot/system/manager/helpers.py | 39 | except (OSError, UnicodeDecodeError): | CODE |
| HIGH | openpilot/system/manager/manager.py | 49 | except FileExistsError: | CODE |
| HIGH | openpilot/system/manager/manager.py | 161 | except Exception: | CODE |
| HIGH | openpilot/system/manager/manager.py | 217 | except Exception: | CODE |
| HIGH | openpilot/system/loggerd/tests/test_uploader.py | 34 | except Exception: | CODE |
| HIGH | openpilot/system/webrtc/webrtcd.py | 493 | except Exception: | CODE |
| HIGH | openpilot/system/webrtc/webrtcd.py | 329 | except Exception: | CODE |
| HIGH | openpilot/system/webrtc/webrtcd.py | 429 | except Exception: | CODE |
| HIGH | openpilot/system/camerad/webcam/camera.py | 8 | except ValueError: # allow strings, ex: /dev/video0 | CODE |
| HIGH | openpilot/system/updated/updated.py | 91 | except FileNotFoundError: | CODE |
| HIGH | openpilot/system/qcomgpsd/qcomgpsd.py | 177 | except Exception: | CODE |
| HIGH | openpilot/system/athena/athenad.py | 229 | except queue.Empty: | CODE |
| HIGH | openpilot/system/athena/athenad.py | 325 | except queue.Empty: | CODE |
| HIGH | openpilot/system/athena/athenad.py | 829 | except (ValueError, TypeError): | CODE |
| HIGH | openpilot/system/athena/athenad.py | 904 | except WebSocketTimeoutException: | CODE |
| HIGH | openpilot/system/athena/athenad.py | 975 | except queue.Empty: | CODE |
| HIGH | openpilot/system/athena/athenad.py | 863 | except OSError: | CODE |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/scripts/filter_log_message.py | 37 | def print_operating_system_log(t, msg): | CODE |
| LOW | …ngitudinal_maneuvers/mpc_longitudinal_tuning_report.py | 28 | def generate_mpc_tuning_report(e2e=False): | CODE |
| LOW | openpilot/tools/jotpluggler/map.h | 29 | class MapDataManager { | CODE |
| LOW | openpilot/tools/jotpluggler/app.h | 484 | class MapDataManager; | CODE |
| LOW | …npilot/tools/jotpluggler/layouts/max-torque-debug.json | 1 | {"current_tab_index":0,"tabs":[{"name":"tab1","root":{"split":"vertical","sizes":[0.249724,0.250829,0.249724,0.249724]," | CODE |
| LOW | …pilot/tools/jotpluggler/layouts/torque-controller.json | 1 | {"current_tab_index":0,"tabs":[{"name":"Lateral Plan Conformance","root":{"split":"vertical","sizes":[0.250949,0.249051, | CODE |
| LOW | openpilot/tools/jotpluggler/layouts/gps_vs_llk.json | 1 | {"current_tab_index":0,"tabs":[{"name":"tab1","root":{"split":"vertical","sizes":[0.333805,0.33239,0.333805],"children": | CODE |
| LOW | openpilot/tools/jotpluggler/layouts/tuning.json | 1 | {"current_tab_index":0,"tabs":[{"name":"Lateral","root":{"split":"vertical","sizes":[0.200458,0.199313,0.200458,0.199313 | CODE |
| LOW | openpilot/tools/lib/comma_car_segments.py | 10 | def get_comma_car_segments_database(): | CODE |
| LOW | openpilot/tools/lib/route.py | 310 | def get_max_seg_number_cached(sr: 'SegmentRange') -> int: | CODE |
| LOW | openpilot/tools/lib/file_sources.py | 39 | def comma_car_segments_source(sr: SegmentRange, seg_idxs: list[int], fns: FileNames, /) -> dict[int, str]: | CODE |
| LOW | openpilot/tools/lib/filereader.py | 16 | def internal_source_available(url: str) -> bool: | CODE |
| LOW | openpilot/tools/lib/tests/test_logreader.py | 245 | def test_auto_source_scenarios(self, mocker, is_internal): | CODE |
| LOW | openpilot/tools/lib/tests/test_caching.py | 15 | class CachingTestRequestHandler(http.server.BaseHTTPRequestHandler): | CODE |
| LOW | openpilot/tools/lib/tests/test_caching.py | 121 | def test_recover_from_missing_file(self, host, cache_enabled): | CODE |
| LOW | openpilot/tools/lib/tests/test_route_library.py | 7 | def test_segment_name_formats(self): | CODE |
| LOW | openpilot/tools/replay/lib/ui_helpers.py | 200 | def maybe_update_radar_points(lt, lid_overlay): | CODE |
| LOW | openpilot/tools/sim/lib/simulated_sensors.py | 79 | def send_fake_driver_monitoring(self): | CODE |
| LOW⚡ | openpilot/selfdrive/ui/ui_state.py | 117 | def add_offroad_transition_callback(self, callback: Callable[[], None]): | CODE |
| LOW⚡ | openpilot/selfdrive/ui/ui_state.py | 120 | def add_engaged_transition_callback(self, callback: Callable[[], None]): | CODE |
| LOW⚡ | openpilot/selfdrive/ui/ui_state.py | 123 | def add_on_body_changed_callbacks(self, callback: Callable[[], None]): | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 293 | def set_override_interactive_timeout(self, timeout: int | None) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 306 | def _reset_interactive_timeout(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 309 | def add_interactive_timeout_callback(self, callback: Callable): | CODE |
| LOW | openpilot/selfdrive/ui/soundd.py | 55 | def check_selfdrive_timeout_alert(sm): | CODE |
| LOW | openpilot/selfdrive/ui/onroad/driver_state.py | 163 | def _pre_calculate_drawing_elements(self): | CODE |
| LOW | openpilot/selfdrive/ui/onroad/model_renderer.py | 190 | def _update_experimental_gradient(self): | CODE |
| LOW | openpilot/selfdrive/ui/mici/onroad/cameraview.py | 323 | def _update_texture_color_filtering(self): | CODE |
| LOW | openpilot/selfdrive/ui/mici/onroad/model_renderer.py | 249 | def _update_experimental_gradient(self): | CODE |
| LOW | …enpilot/selfdrive/ui/mici/layouts/settings/software.py | 251 | def uninstall_openpilot_callback(): | CODE |
| LOW⚡ | …ive/ui/mici/layouts/settings/network/network_layout.py | 26 | def tethering_toggle_callback(checked: bool): | CODE |
| LOW⚡ | …ive/ui/mici/layouts/settings/network/network_layout.py | 35 | def tethering_password_callback(password: str): | CODE |
| LOW⚡ | …ive/ui/mici/layouts/settings/network/network_layout.py | 41 | def tethering_password_clicked(): | CODE |
| LOW | …drive/ui/mici/layouts/settings/device/device_layout.py | 65 | def _engaged_confirmation_click(callback: Callable, action_text: str, icon: rl.Texture, exit_on_confirm: bool = True, re | CODE |
| LOW | …drive/ui/mici/layouts/settings/device/device_layout.py | 160 | def reset_calibration_callback(): | CODE |
| LOW | openpilot/selfdrive/ui/tests/test_translations.py | 52 | def test_translation_file_exists(self, language_code: str): | CODE |
| LOW | openpilot/selfdrive/ui/tests/test_translations.py | 57 | def test_translation_placeholders_are_preserved(self, po_path: Path): | CODE |
| LOW | openpilot/selfdrive/ui/tests/test_translations.py | 94 | def test_translation_refs_do_not_include_line_numbers(self, po_path: Path): | CODE |
| LOW | openpilot/selfdrive/ui/tests/test_translations.py | 101 | def test_translation_entities_are_valid(self, po_path: Path): | CODE |
| LOW | openpilot/selfdrive/ui/tests/test_soundd.py | 12 | def test_check_selfdrive_timeout_alert(self, mocker): | CODE |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 358 | def setup_offroad_alerts_and_refresh() -> None: | CODE |
| LOW | openpilot/selfdrive/ui/layouts/sidebar.py | 121 | def _update_temperature_status(self, device_state): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/sidebar.py | 129 | def _update_connection_status(self, device_state): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/main.py | 77 | def _handle_onroad_transition(self): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 82 | def handle_language_selection(result: DialogResult): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 93 | def _reset_calibration_prompt(self): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 113 | def _update_calib_description(self): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 190 | def _on_review_training_guide(self): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/toggles.py | 202 | def _update_experimental_mode_icon(self): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/toggles.py | 214 | def _set_longitudinal_personality(self, button_index: int): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/software.py | 169 | def handle_uninstall_confirmation(result: DialogResult): | CODE |
| LOW | openpilot/selfdrive/ui/lib/prime_state.py | 139 | def set_prime_trial_available(self, prime_trail_available: bool): | CODE |
| LOW | openpilot/selfdrive/ui/widgets/prime.py | 23 | def _render_for_non_prime_users(self, rect: rl.Rectangle): | CODE |
| LOW | openpilot/selfdrive/ui/widgets/setup.py | 24 | def set_open_settings_callback(self, callback): | CODE |
| LOW | openpilot/selfdrive/ui/widgets/exp_mode_button.py | 34 | def _draw_gradient_background(self, rect): | CODE |
| LOW | openpilot/selfdrive/ui/widgets/offroad_alerts.py | 99 | def excessive_actuation_callback(): | CODE |
| LOW | openpilot/selfdrive/ui/widgets/offroad_alerts.py | 155 | def _render_scrollable_content(self): | CODE |
| LOW | openpilot/selfdrive/car/tests/test_cruise_speed.py | 98 | def test_resume_in_standstill(self): | CODE |
| LOW | openpilot/selfdrive/test/test_onroad.py | 191 | def test_manager_starting_time(self): | CODE |
| LOW | openpilot/selfdrive/test/test_onroad.py | 309 | def test_camera_frame_timings(self, subtests): | CODE |
| 166 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/test_runner.py | 165 | except Exception: | CODE |
| LOW | tools/test_runner.py | 222 | except Exception: | CODE |
| MEDIUM | tools/scripts/setup_ssh_keys.py | 23 | print("Error getting public keys from github") | CODE |
| LOW | tools/scripts/test_fw_query_on_routes.py | 150 | except Exception: | CODE |
| LOW | tools/scripts/filter_log_message.py | 41 | except Exception: | CODE |
| MEDIUM | tools/scripts/filter_log_message.py | 26 | def print_logmessage(t, msg, min_level): | CODE |
| LOW | tools/scripts/car/max_lat_accel.py | 93 | except Exception: | CODE |
| MEDIUM | tools/scripts/car/vw_mqb_config.py | 69 | print("Error fetching data from EPS") | CODE |
| MEDIUM | tools/scripts/car/vw_mqb_config.py | 113 | print("Error fetching parameterization data from EPS!") | CODE |
| LOW | docs/serve.py | 540 | except Exception as e: | CODE |
| LOW | openpilot/tools/clip/run.py | 189 | except Exception as e: | CODE |
| MEDIUM | openpilot/tools/clip/run.py | 183 | def _worker(self, camera_paths, start_time, end_time, fps, use_qcam, frame_size) | CODE |
| LOW | openpilot/tools/jotpluggler/math_eval.py | 143 | except Exception as err: | CODE |
| LOW | openpilot/tools/plotjuggler/juggle.py | 122 | except Exception: | CODE |
| LOW | openpilot/tools/lib/auth.py | 142 | except Exception: | CODE |
| LOW | openpilot/tools/lib/logreader.py | 186 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/auth_config.py | 16 | except Exception: | CODE |
| MEDIUM | openpilot/tools/lib/auth_config.py | 11 | def get_token(): | CODE |
| LOW | openpilot/tools/lib/route.py | 201 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/route.py | 316 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 41 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 93 | except Exception: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 117 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 148 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 190 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 272 | except Exception: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 281 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 295 | except Exception as e: | CODE |
| MEDIUM | openpilot/tools/lib/file_downloader.py | 187 | def cmd_resolve_route_files(args): | CODE |
| LOW | openpilot/tools/lib/vidindex.py | 287 | except Exception as e: | CODE |
| LOW | openpilot/tools/sim/lib/simulated_car.py | 109 | except Exception: | CODE |
| LOW | openpilot/tools/camerastream/ffmpeg_decoder.py | 147 | except Exception: | CODE |
| LOW | …enpilot/selfdrive/ui/mici/layouts/settings/firehose.py | 65 | except Exception: | CODE |
| LOW | …enpilot/selfdrive/ui/mici/layouts/settings/firehose.py | 78 | except Exception: | CODE |
| LOW | …enpilot/selfdrive/ui/mici/layouts/settings/firehose.py | 212 | except Exception as e: | CODE |
| MEDIUM | …enpilot/selfdrive/ui/mici/layouts/settings/firehose.py | 201 | def _fetch_firehose_stats(self): | CODE |
| LOW | …lot/selfdrive/ui/mici/layouts/settings/device/prime.py | 136 | except Exception as e: | CODE |
| MEDIUM | …lot/selfdrive/ui/mici/layouts/settings/device/prime.py | 132 | def _get_pairing_url(self) -> str: | CODE |
| LOW | openpilot/selfdrive/ui/mici/widgets/qr.py | 23 | except Exception as e: | CODE |
| MEDIUM | openpilot/selfdrive/ui/mici/widgets/qr.py | 20 | def _generate_qr_code(self): | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 126 | except Exception: | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 134 | except Exception: | CODE |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 152 | except Exception: | CODE |
| LOW | openpilot/selfdrive/ui/lib/prime_state.py | 83 | except Exception as e: | CODE |
| LOW | openpilot/selfdrive/ui/lib/prime_state.py | 100 | except Exception as e: | CODE |
| LOW | openpilot/selfdrive/ui/widgets/ssh_key.py | 66 | except Exception: | CODE |
| LOW | openpilot/selfdrive/ui/widgets/pairing_dialog.py | 34 | except Exception: | CODE |
| LOW | openpilot/selfdrive/ui/widgets/pairing_dialog.py | 44 | except Exception: | CODE |
| MEDIUM | openpilot/selfdrive/ui/widgets/pairing_dialog.py | 30 | def _get_pairing_url(self) -> str: | CODE |
| MEDIUM | openpilot/selfdrive/ui/widgets/pairing_dialog.py | 39 | def _generate_qr_code(self) -> None: | CODE |
| LOW | openpilot/selfdrive/car/card.py | 127 | except Exception: | CODE |
| LOW | …npilot/selfdrive/test/process_replay/test_processes.py | 80 | except Exception: | CODE |
| LOW | …npilot/selfdrive/test/process_replay/test_processes.py | 92 | except Exception: | CODE |
| LOW | …npilot/selfdrive/test/process_replay/test_processes.py | 111 | except Exception as e: | CODE |
| LOW | …npilot/selfdrive/test/process_replay/test_processes.py | 126 | except Exception as e: | CODE |
| LOW | …npilot/selfdrive/test/process_replay/test_processes.py | 231 | except Exception: | CODE |
| LOW | openpilot/selfdrive/test/process_replay/model_replay.py | 113 | except Exception: | CODE |
| LOW | openpilot/selfdrive/test/process_replay/model_replay.py | 218 | except Exception as e: | CODE |
| LOW | openpilot/selfdrive/test/process_replay/model_replay.py | 302 | except Exception as e: | CODE |
| LOW | openpilot/selfdrive/test/process_replay/model_replay.py | 313 | except Exception as e: | CODE |
| 142 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/test_runner.py | 137 | CODE | |
| LOW | tools/test_runner.py | 260 | CODE | |
| LOW | tools/car_porting/measure_steering_accuracy.py | 40 | CODE | |
| LOW | tools/scripts/cycle_alerts.py | 19 | CODE | |
| LOW | tools/scripts/watch_timings.py | 55 | CODE | |
| LOW | tools/scripts/fingerprint_from_route.py | 7 | CODE | |
| LOW | tools/scripts/debug_fw_fingerprinting_offline.py | 8 | CODE | |
| LOW | tools/scripts/car/toyota_eps_factor.py | 19 | CODE | |
| LOW | tools/scripts/car/can_print_changes.py | 14 | CODE | |
| LOW | tools/scripts/car/can_printer.py | 10 | CODE | |
| LOW | tools/scripts/car/max_lat_accel.py | 25 | CODE | |
| LOW | docs/serve.py | 120 | CODE | |
| LOW | docs/serve.py | 283 | CODE | |
| LOW | docs/serve.py | 524 | CODE | |
| LOW | openpilot/tools/clip/run.py | 139 | CODE | |
| LOW | openpilot/tools/clip/run.py | 285 | CODE | |
| LOW | …npilot/tools/longitudinal_maneuvers/generate_report.py | 22 | CODE | |
| LOW | openpilot/tools/cabana/dbc/generate_dbc_json.py | 9 | CODE | |
| LOW | openpilot/tools/lib/auth.py | 113 | CODE | |
| LOW | openpilot/tools/lib/logreader.py | 150 | CODE | |
| LOW | openpilot/tools/lib/logreader.py | 203 | CODE | |
| LOW | openpilot/tools/lib/route.py | 99 | CODE | |
| LOW | openpilot/tools/lib/file_downloader.py | 106 | CODE | |
| LOW | openpilot/tools/lib/file_downloader.py | 200 | CODE | |
| LOW | openpilot/tools/lib/vidindex.py | 122 | CODE | |
| LOW | openpilot/tools/lib/vidindex.py | 261 | CODE | |
| LOW | openpilot/tools/lib/framereader.py | 127 | CODE | |
| LOW | openpilot/tools/lateral_maneuvers/lateral_maneuversd.py | 103 | CODE | |
| LOW | openpilot/tools/lateral_maneuvers/generate_report.py | 27 | CODE | |
| LOW | openpilot/tools/replay/can_replay.py | 58 | CODE | |
| LOW | openpilot/tools/sim/bridge/common.py | 100 | CODE | |
| LOW | …npilot/tools/sim/bridge/metadrive/metadrive_process.py | 51 | CODE | |
| LOW | openpilot/tools/sim/lib/manual_ctrl.py | 96 | CODE | |
| LOW | openpilot/tools/sim/lib/keyboard_ctrl.py | 58 | CODE | |
| LOW | openpilot/tools/camerastream/compressed_vipc.py | 27 | CODE | |
| LOW | openpilot/selfdrive/ui/ui_state.py | 213 | CODE | |
| LOW | openpilot/selfdrive/ui/ui_state.py | 236 | CODE | |
| LOW | openpilot/selfdrive/ui/ui.py | 16 | CODE | |
| LOW | openpilot/selfdrive/ui/soundd.py | 170 | CODE | |
| LOW | openpilot/selfdrive/ui/onroad/alert_renderer.py | 84 | CODE | |
| LOW | openpilot/selfdrive/ui/onroad/hud_renderer.py | 127 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/onroad/driver_state.py | 95 | CODE | |
| LOW | …npilot/selfdrive/ui/mici/onroad/augmented_road_view.py | 73 | CODE | |
| LOW | …npilot/selfdrive/ui/mici/onroad/augmented_road_view.py | 102 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/onroad/alert_renderer.py | 120 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/onroad/alert_renderer.py | 156 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/onroad/alert_renderer.py | 265 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/tests/test_widget_leaks.py | 47 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/layouts/offroad_alerts.py | 271 | CODE | |
| LOW | …enpilot/selfdrive/ui/mici/layouts/settings/software.py | 104 | CODE | |
| LOW | …/selfdrive/ui/mici/layouts/settings/network/wifi_ui.py | 207 | CODE | |
| LOW | openpilot/selfdrive/ui/tests/test_translations.py | 57 | CODE | |
| LOW | openpilot/selfdrive/ui/tests/diff/replay.py | 43 | CODE | |
| LOW | openpilot/selfdrive/ui/layouts/sidebar.py | 144 | CODE | |
| LOW | openpilot/selfdrive/ui/layouts/onboarding.py | 63 | CODE | |
| LOW | openpilot/selfdrive/ui/layouts/settings/device.py | 113 | CODE | |
| LOW | openpilot/selfdrive/ui/layouts/settings/toggles.py | 152 | CODE | |
| LOW | openpilot/selfdrive/ui/layouts/settings/software.py | 89 | CODE | |
| LOW | openpilot/selfdrive/ui/translations/potools.py | 31 | CODE | |
| LOW | openpilot/selfdrive/ui/translations/potools.py | 59 | CODE | |
| 155 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/lib/kbhit.py | 16 | def set_kbhit_terminal(self) -> None: | CODE |
| LOW | openpilot/tools/lib/kbhit.py | 31 | def set_normal_term(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 154 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 184 | def _update_status(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 213 | def _update_chestnut_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 236 | def update_params(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 293 | def set_override_interactive_timeout(self, timeout: int | None) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/onroad/hud_renderer.py | 75 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/onroad/exp_button.py | 27 | def set_rect(self, rect: rl.Rectangle) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/onroad/exp_button.py | 30 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/onroad/hud_renderer.py | 67 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/onroad/hud_renderer.py | 148 | def _update_state(self) -> None: | CODE |
| LOW | …/selfdrive/ui/mici/layouts/settings/network/wifi_ui.py | 191 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | …/selfdrive/ui/mici/layouts/settings/network/esim_ui.py | 286 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/widgets/button.py | 59 | def set_position(self, x: float, y: float) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/widgets/button.py | 183 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 76 | def set_send(self, fn: Callable, wait_after: int = WAIT_SHORT) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 117 | def set_prime_state(prime_type: PrimeType) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 141 | def set_updater_state(state: str) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/lib/prime_state.py | 103 | def set_type(self, prime_type: PrimeType) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/widgets/ssh_key.py | 93 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/selfdrive/locationd/calibrationd.py | 138 | def update_status(self) -> None: | CODE |
| LOW | openpilot/selfdrive/selfdrived/alertmanager.py | 16 | def set_offroad_alert(alert: str, show_alert: bool, extra_text: str | None = None) -> None: | CODE |
| LOW | openpilot/system/ubloxd/pigeond.py | 30 | def set_power(enabled: bool) -> None: | CODE |
| LOW | openpilot/system/ubloxd/pigeond.py | 91 | def set_baud(self, baud: int) -> None: | CODE |
| LOW | openpilot/system/ui/spinner.py | 44 | def set_text(self, text: str) -> None: | CODE |
| LOW | openpilot/system/ui/lib/scroll_panel.py | 127 | def set_offset(self, position: float) -> None: | CODE |
| LOW | openpilot/system/ui/lib/scroll_panel2.py | 58 | def set_enabled(self, enabled: bool | Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/system/ui/lib/scroll_panel2.py | 88 | def _update_state(self, bounds_size: float, content_size: float, snap_target: float | None) -> None: | CODE |
| LOW | openpilot/system/ui/lib/scroll_panel2.py | 256 | def set_offset(self, value: float) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/scroller_tici.py | 16 | def set_parent_rect(self, parent_rect: rl.Rectangle) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/list_view.py | 66 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/list_view.py | 114 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/list_view.py | 186 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/list_view.py | 302 | def set_description_opened_callback(self, callback: Callable) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/list_view.py | 305 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/scroller.py | 158 | def set_scrolling_enabled(self, enabled: bool | Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/scroller.py | 408 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/__init__.py | 64 | def set_rect(self, rect: rl.Rectangle) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/__init__.py | 71 | def set_parent_rect(self, parent_rect: rl.Rectangle) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/__init__.py | 84 | def set_enabled(self, enabled: bool | Callable[[], bool]) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/__init__.py | 91 | def set_visible(self, visible: bool | Callable[[], bool]) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/__init__.py | 94 | def set_click_callback(self, click_callback: Callable[[], None] | None) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/__init__.py | 98 | def set_long_press_callback(self, callback: Callable[[], None]) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/__init__.py | 101 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW⚡ | openpilot/system/ui/widgets/__init__.py | 109 | def set_position(self, x: float, y: float) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/__init__.py | 220 | def _update_layout_rects(self) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/icon_widget.py | 18 | def set_opacity(self, opacity: float) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/nav_widget.py | 32 | def set_alpha(self, alpha: float) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/nav_widget.py | 81 | def set_back_callback(self, callback: Callable[[], None] | None) -> None: | CODE |
| LOW | openpilot/system/ui/widgets/nav_widget.py | 84 | def set_shown_callback(self, callback: Callable[[], None] | None) -> None: | CODE |
| LOW | openpilot/system/loggerd/xattr_cache.py | 41 | def _setxattr(path: str, attr_name: str, attr_value: bytes) -> None: | CODE |
| LOW | openpilot/system/updated/updated.py | 53 | def update_now(self, signum: int, frame) -> None: | CODE |
| LOW | openpilot/system/updated/updated.py | 74 | def set_consistent_flag(consistent: bool) -> None: | CODE |
| LOW | openpilot/system/updated/updated.py | 275 | def set_params(self, update_success: bool, failed_count: int, exception: str | None) -> None: | CODE |
| LOW | openpilot/common/realtime.py | 36 | def set_core_affinity(cores: list[int]) -> None: | CODE |
| LOW | openpilot/common/i2c.py | 51 | def _set_address(self, addr: int, force: bool = False) -> None: | CODE |
| LOW | openpilot/common/qrcode.py | 157 | def _set_function(self, x: int, y: int, dark: bool) -> None: | CODE |
| LOW | openpilot/common/serial.py | 270 | def _set_line(self, _bit: int, packed: bytes, enabled: bool) -> None: | CODE |
| LOW | openpilot/common/hardware/usb.py | 79 | def set_usb_state(device_state, devices: list[dict]) -> None: | CODE |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | pyproject.toml | 11 | # ------------------------------------------ | COMMENT |
| MEDIUM⚡ | pyproject.toml | 13 | # ------------------------------------------ | COMMENT |
| MEDIUM⚡ | pyproject.toml | 16 | # ------------------------------------------ | COMMENT |
| MEDIUM | tools/setup_dependencies.sh | 41 | # ------------------------------------------------ | COMMENT |
| MEDIUM | tools/setup_dependencies.sh | 49 | # ------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 337 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 342 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 416 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 418 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 841 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 843 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | launch_chffrplus.sh | 20 | # Check if AGNOS update is required | COMMENT |
| LOW | tools/scripts/test_fw_query_on_routes.py | 85 | # Check if fuzzy match was correct | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/cameraview.py | 313 | # Check if target has frames ready | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/augmented_road_view.py | 134 | # Check if camera calibration data is available and valid | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/augmented_road_view.py | 152 | # Check if we can use cached matrix | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/alert_renderer.py | 88 | # Check if selfdriveState messages have stopped arriving | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/model_renderer.py | 87 | # Check if data is up-to-date | COMMENT |
| LOW | openpilot/selfdrive/ui/mici/onroad/cameraview.py | 360 | # Check if target has frames ready | COMMENT |
| LOW | …npilot/selfdrive/ui/mici/onroad/augmented_road_view.py | 294 | # Check if camera calibration data is available and valid | COMMENT |
| LOW | openpilot/selfdrive/ui/mici/onroad/alert_renderer.py | 124 | # Check if selfdriveState messages have stopped arriving | COMMENT |
| LOW | openpilot/selfdrive/ui/mici/onroad/model_renderer.py | 106 | # Check if data is up-to-date | COMMENT |
| LOW | openpilot/selfdrive/ui/layouts/settings/software.py | 155 | # Check if we should start checking or start downloading | COMMENT |
| LOW | openpilot/selfdrive/locationd/paramsd.py | 214 | # Check if car model matches | COMMENT |
| LOW | openpilot/selfdrive/locationd/paramsd.py | 218 | # Check if starting values are sane | COMMENT |
| LOW | openpilot/selfdrive/selfdrived/state.py | 92 | # Check if openpilot is engaged and actuators are enabled | COMMENT |
| LOW | openpilot/system/ui/lib/wrap_text.py | 75 | # Check if word alone exceeds max width (need to break the word) | COMMENT |
| LOW | openpilot/system/ui/lib/wrap_text.py | 90 | # Check if word fits on current line | COMMENT |
| LOW | openpilot/system/ui/widgets/label.py | 361 | # Check if cache is still valid | COMMENT |
| LOW | openpilot/system/ui/widgets/label.py | 492 | # Check if this line fits | COMMENT |
| LOW | openpilot/system/hardware/hardwared.py | 437 | # Check if we need to shut down | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_gyro.py | 62 | # Check if gyroscope data is ready, since it's shared with accelerometer | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_gyro.py | 110 | # Set ODR to 208Hz, FS to 2000dps | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_accel.py | 56 | # Set ODR to 104 Hz, FS to ±2g (default) | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_accel.py | 67 | # Check if data is ready since IRQ is shared with gyro | COMMENT |
| LOW | openpilot/system/updated/updated.py | 107 | # Set protocol to the new version (default after git 2.26) to reduce data | COMMENT |
| LOW | openpilot/system/updated/updated.py | 428 | # Check if we just performed an update | COMMENT |
| LOW | openpilot/system/athena/athenad.py | 293 | # Check if uploading over metered connection is allowed | COMMENT |
| LOW | openpilot/system/athena/athenad.py | 727 | # Set TOS to keep connection responsive while under load. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/jotpluggler/app.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/jotpluggler/util.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/jotpluggler/dbc.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/panda.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/threadpool.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/mainwin.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/app.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/chart/chartswidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/chart/chart.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/dialogs/streamselector.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/binaryview.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/detailwidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/videowidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/messageswidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/signalview.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/cameraview.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/streams/abstractstream.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/utils/util.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/lib/vidindex.py | 181 | nal_unit_type = HevcNalUnitType((nal_unit_header[0] >> 1) & 0x3F) | COMMENT |
| LOW | openpilot/tools/lib/vidindex.py | 201 | # if( dependent_slice_segments_enabled_flag ) | COMMENT |
| LOW | openpilot/tools/lib/vidindex.py | 221 | # for now since we don't use it return -1 for slice_type | COMMENT |
| LOW | openpilot/tools/replay/route.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/replay/replay.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/selfdrive/pandad/panda.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/loggerd/loggerd.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/loggerd/encoder/v4l_decoder.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/loggerd/encoder/v4l_decoder.h | 21 | #endif | COMMENT |
| LOW | openpilot/system/loggerd/encoder/encoder.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/camerad/sensors/sensor.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/camerad/cameras/spectra.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/camerad/cameras/spectra.h | 21 | COMMENT | |
| LOW | openpilot/system/camerad/cameras/nv12_info.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/qcomgpsd/nmeaport.py | 41 | # constellation enum: | COMMENT |
| LOW | openpilot/common/swaglog.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/common/swaglog.h | 61 | } else { \ | COMMENT |
| LOW | openpilot/common/util.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/common/hardware/hw.h | 1 | #pragma once | COMMENT |
| LOW | scripts/waste.c | 1 | // gcc -O2 waste.c -lpthread -owaste | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/sim/lib/simulated_sensors.py | 11 | CODE | |
| LOW | openpilot/tools/sim/lib/simulated_sensors.py | 11 | CODE | |
| LOW | openpilot/tools/sim/lib/keyboard_ctrl.py | 10 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/layouts/home.py | 1 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/layouts/offroad_alerts.py | 1 | CODE | |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/pandad/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/pandad/__init__.py | 1 | CODE | |
| LOW | openpilot/system/ui/widgets/__init__.py | 1 | CODE | |
| LOW | openpilot/system/ui/widgets/nav_widget.py | 1 | CODE | |
| LOW | openpilot/system/athena/athenad.py | 2 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | openpilot/selfdrive/ui/onroad/cameraview.py | 103 | # Create a 1x1 pixel placeholder texture for EGL image binding | STRING |
| MEDIUM | openpilot/selfdrive/ui/onroad/model_renderer.py | 57 | # Initialize ModelPoints objects | COMMENT |
| MEDIUM | openpilot/selfdrive/ui/mici/onroad/cameraview.py | 146 | # Create a 1x1 pixel placeholder texture for EGL image binding | STRING |
| MEDIUM | openpilot/selfdrive/ui/mici/onroad/model_renderer.py | 68 | # Initialize ModelPoints objects | COMMENT |
| MEDIUM | openpilot/selfdrive/ui/body/layouts/onroad.py | 19 | # This class is used both in BIG (tizi) and small (mici) UIs | COMMENT |
| MEDIUM | openpilot/system/ui/lib/egl.py | 61 | # Create a single instance of the state | COMMENT |
| MEDIUM | openpilot/system/updated/updated.py | 409 | # Create the finalized, ready-to-swap update | COMMENT |
| MEDIUM | openpilot/common/transformations/model.py | 64 | # This function is verified to give similar results to xx.uncommon.utils.transform_img | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | openpilot/selfdrive/ui/translations/potools.py | 289 | 'uk': 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);', | CODE |
| HIGH | openpilot/selfdrive/ui/translations/potools.py | 289 | 'uk': 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);', | CODE |
| HIGH | openpilot/system/ui/lib/shader_polygon.py | 60 | if (t >= a && t <= b) { | CODE |
| HIGH | openpilot/system/updated/updated.py | 209 | updated_version = run(["bash", "-c", r"unset AGNOS_VERSION && source launch_env.sh && \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/selfdrive/ui/widgets/offroad_alerts.py | 115 | # TODO: just use a Scroller? | COMMENT |
| MEDIUM | openpilot/selfdrive/selfdrived/events.py | 970 | # When the relay in the harness box opens the CAN bus between the LKAS camera | COMMENT |
| LOW | openpilot/system/ui/lib/scroll_panel2.py | 212 | # TODO: we should just set velocity and let autoscroll go back to steady. delays one frame but who cares | COMMENT |
| LOW | openpilot/system/ui/widgets/list_view.py | 145 | # TODO: just use the generic Widget click callbacks everywhere, no returning from render | COMMENT |
| LOW | openpilot/system/ui/widgets/network.py | 98 | # AdvancedNetworkSettings needs the full openpilot environment, standalone apps just use WifiManagerUI | COMMENT |
| MEDIUM | …enpilot/system/hardware/tests/test_power_monitoring.py | 166 | # Test to check policy of not stopping charging when harness is not connected | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | openpilot/selfdrive/controls/controlsd.py | 29 | ACTUATOR_FIELDS = tuple(car.CarControl.Actuators.schema.fields.keys()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …enpilot/selfdrive/test/longitudinal_maneuvers/plant.py | 17 | CODE | |
| LOW | openpilot/selfdrive/locationd/lagd.py | 176 | CODE | |
| LOW | openpilot/selfdrive/controls/radard.py | 105 | CODE | |
| LOW | openpilot/system/ui/widgets/button.py | 82 | CODE | |
| LOW | openpilot/system/ui/widgets/label.py | 78 | CODE | |
| LOW | openpilot/system/ui/widgets/label.py | 210 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/lib/bootlog.py | 47 | # TODO: implement an API endpoint for this | COMMENT |
| LOW | openpilot/system/ui/widgets/mici_keyboard.py | 12 | CHAR_CAPS_FONT_SIZE = 38 # TODO: implement this | CODE |
| LOW | openpilot/system/ui/widgets/layouts.py | 7 | # TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/selfdrive/ui/mici/layouts/main.py | 59 | # Start onboarding if terms or training not completed, make sure to push after self | COMMENT |
| LOW | openpilot/selfdrive/ui/layouts/main.py | 48 | # Start onboarding if terms or training not completed, make sure to push after self | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/system/loggerd/tests/loggerd_tests_common.py | 45 | return "fake-token" | CODE |
| LOW | openpilot/system/loggerd/tests/loggerd_tests_common.py | 55 | return "fake-token" | CODE |
| LOW | openpilot/system/athena/tests/helpers.py | 42 | return "fake-token" | CODE |