AI Slop Code RIsk Monitor

batocera-linux/batocera.linux

batocera.linux

15.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for batocera-linux/batocera.linux, a Python project with 3,252 GitHub stars. SynthScan examined 157,727 lines of code across 1352 source files, recording 1815 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 15.1 (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.

15.1
Adjusted Signal
15.1
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.3K
Stars
Python
Language
157.7K
Lines of Code
1.4K
Files
1.8K
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 25.9/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 839 finding(s).

Hallucinated Dependency & Supply Chain Risk 14.0/100 · LOW

Are imports declared and package/API names verified? 420 finding(s).

Agent Over-Engineering Ratio 38.5/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 1078 finding(s).

PR Review Velocity Impact 55.7/100 · HIGH

Which changes need focused human review? 1815 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 100MEDIUM 128LOW 1587

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1815 distinct pattern matches across 15 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.

Hyper-Verbose Identifiers515 hits · 565 pts
SeverityFileLineSnippetContext
LOWbatocera-Boards-generate.py9def images_info_to_board_line(filepath: Path) -> str:CODE
LOWpython-src/batocera-launch-mame/tests/test_rotation.py34def test_other_emulators_are_ignored(mock_run: Mock, hook_context: HookContext) -> None:CODE
LOWpython-src/batocera-launch-mame/tests/test_rotation.py42def test_reapplies_the_xorg_rotation(mock_run: Mock, hook_context: HookContext) -> None:CODE
LOWpython-src/batocera-launch-mame/tests/test_rotation.py54def test_leaves_wayland_alone(mock_run: Mock, hook_context: HookContext) -> None:CODE
LOW…-src/batocera-launch-mame/batocera_launch_mame/base.py69 def all_mame_control_mappings(self) -> tuple[dict[str, str], dict[str, str], dict[str, str]]:CODE
LOW…rc/batocera-es-system/batocera_es_system/es_systems.py41 def _inner_emulators_data_to_xml() -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py109 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py144 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py163def _dict_to_custom_features_iter(CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py256 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py344def _system_info_list_to_dict(CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py376 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py657 def _iter_system_emulator_cores(self) -> Iterator[tuple[SystemInfo, str, EmulatorInfo, str, list[str]]]:CODE
LOW…/batocera-es-system/batocera_es_system/translations.py39def _iterate_translation_strings(translation_strings: Mapping[str, Iterable[str]], /) -> Iterator[tuple[str, str]]:CODE
LOW…/batocera-es-system/batocera_es_system/translations.py72def _write_es_keys_translations(parent_dir: Path, output_file: Path, /) -> None:CODE
LOW…atocera-es-system/batocera_es_system/systems_report.py158def _generate_target_system_report(CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py206def _apply_settings_to_template(settings_to_set: dict[str, str], /) -> list[str]:CODE
LOWpython-src/batocera-labwc/tests/test_touch.py76def test_touchscreens_without_libinput(mocker: MockerFixture) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_touch.py82def test_lone_touchscreen_is_learnt_for_the_only_output(STRING
LOWpython-src/batocera-labwc/tests/test_touch.py93def test_learnt_setting_keeps_touch_on_its_output_when_docked(mocker: MockerFixture) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_touch.py103def test_lone_touchscreen_with_several_outputs_falls_back_to_primary(STRING
LOWpython-src/batocera-labwc/tests/test_touch.py116def test_external_touchscreen_is_learnt_by_model(mocker: MockerFixture) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_touch.py127def test_settings_are_matched_by_model_then_connector(mocker: MockerFixture) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_touch.py139def test_two_touchscreens_sharing_outputs_stay_unmapped(STRING
LOWpython-src/batocera-labwc/tests/test_touch.py150def test_configured_touchscreen_claims_its_output_while_absent(STRING
LOW⚡python-src/batocera-labwc/tests/test_touch.py161def test_lone_touchscreen_on_the_claimed_primary_is_left_alone(mocker: MockerFixture) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_touch.py170def test_invalid_rotation_is_ignored(mocker: MockerFixture) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_touch.py177def test_configured_touchscreen_is_not_learnt_again_when_its_output_is_off(STRING
LOWpython-src/batocera-labwc/tests/test_build_rule_sets.py49 def test_writes_labwc_rules_from_emulator_yml(CODE
LOWpython-src/batocera-labwc/tests/test_build_rule_sets.py123 def test_supports_yaml_extension(CODE
LOWpython-src/batocera-labwc/tests/test_build_rule_sets.py146 def test_skips_emulator_yml_without_labwc_rules(CODE
LOWpython-src/batocera-labwc/tests/test_build_rule_sets.py170 def test_skips_non_emulator_info_filenames(CODE
LOWpython-src/batocera-labwc/tests/test_build_rule_sets.py203 def test_builds_multiple_rule_sets(CODE
LOWpython-src/batocera-labwc/tests/test_build_rule_sets.py246 def test_empty_info_path_file_writes_nothing(CODE
LOW⚡python-src/batocera-labwc/tests/test_config.py101 def test_raises_when_file_not_found(self, fs: FakeFilesystem) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py107 def test_raises_on_invalid_xml(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py115 def test_requires_identifier_or_title(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py121 def test_creates_window_rules_section_when_missing(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py130 def test_finds_existing_window_rule_by_identifier(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py139 def test_finds_existing_window_rule_by_identifier_and_title(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py150 def test_move_to_output_sets_output_name(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py158 def test_move_to_output_none_removes_action(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py167 def test_move_to_output_updates_existing_output(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py178 def test_focus_output_sets_output_name(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py186 def test_focus_output_none_removes_action(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py195 def test_supports_method_chaining_with_move_to_output(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py204 def test_toggle_fullscreen_adds_action(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py212 def test_toggle_fullscreen_false_removes_action(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py221 def test_supports_method_chaining(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py278 def test_set_touchscreens_removes_stale_calibration(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py286 def test_set_touchscreens_without_rotation_leaves_calibration_to_udev(self, rc_path: Path) -> None:STRING
LOW⚡python-src/batocera-labwc/tests/test_config.py294 def test_set_touchscreens_keeps_unrelated_libinput_devices(self, rc_path: Path) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_config.py234 def test_set_touchscreens_creates_touch_element(self, rc_path: Path) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_config.py245 def test_set_touchscreens_replaces_existing_entries(self, rc_path: Path) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_config.py256 def test_set_touchscreens_empty_removes_existing_entries(self, rc_path: Path) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_config.py263 def test_set_touchscreens_maps_each_device_with_calibration(self, rc_path: Path) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_config.py318 def test_save_does_not_reconfigure(self, rc_path: Path, mocker: MockerFixture) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_config.py348 def test_reconfigure_calls_labwc_when_labwc_pid_set(self, mocker: MockerFixture) -> None:STRING
LOWpython-src/batocera-labwc/tests/test_config.py355 def test_reconfigure_skips_when_labwc_pid_unset(STRING
LOWpython-src/batocera-labwc/tests/test_config.py370 def test_labwc_reconfigure_failure_is_logged_not_raised(STRING
455 more matches not shown…
Unused Imports410 hits · 407 pts
SeverityFileLineSnippetContext
LOWpython-src/batocera-launch-mame/tests/test_rotation.py1CODE
LOW…/batocera-launch-mame/batocera_launch_mame/emulator.py1CODE
LOW…tocera-launch-mame/batocera_launch_mame/controllers.py1CODE
LOW…/batocera-launch-mame/batocera_launch_mame/__init__.py1CODE
LOW…/batocera-launch-mame/batocera_launch_mame/__init__.py3CODE
LOW…rc/batocera-launch-mame/batocera_launch_mame/bezels.py1CODE
LOW…/batocera-launch-mame/batocera_launch_mame/rotation.py1CODE
LOW…-src/batocera-launch-mame/batocera_launch_mame/base.py1CODE
LOW…atocera-launch-pcsx2/batocera_launch_pcsx2/emulator.py1CODE
LOW…atocera-launch-pcsx2/batocera_launch_pcsx2/__init__.py1CODE
LOW…atocera-launch-pcsx2/batocera_launch_pcsx2/__init__.py3CODE
LOW…thon-src/batocera-es-system/batocera_es_system/roms.py1CODE
LOW…rc/batocera-es-system/batocera_es_system/es_systems.py1CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py1CODE
LOW…/batocera-es-system/batocera_es_system/translations.py1CODE
LOW…batocera-es-system/batocera_es_system/build_es_data.py1CODE
LOW…on-src/batocera-es-system/batocera_es_system/shared.py1CODE
LOW…c/batocera-es-system/batocera_es_system/es_features.py1CODE
LOW…atocera-es-system/batocera_es_system/systems_report.py1CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py1CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/__init__.py1CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/__init__.py3CODE
LOW…tocera-bezel-overlay/batocera_bezel_overlay/overlay.py1CODE
LOW…ra-bezel-overlay/batocera_bezel_overlay/x11_overlay.py1CODE
LOW…c/batocera-bezel-overlay/batocera_bezel_overlay/app.py1CODE
LOW…ra-bezel-overlay/batocera_bezel_overlay/layer_shell.py1CODE
LOW…/batocera-bezel-overlay/batocera_bezel_overlay/main.py1CODE
LOW…-xemu-chihiro/batocera_launch_xemu_chihiro/emulator.py1CODE
LOW…-xemu-chihiro/batocera_launch_xemu_chihiro/__init__.py1CODE
LOW…-xemu-chihiro/batocera_launch_xemu_chihiro/__init__.py3CODE
LOW…-xemu-chihiro/batocera_launch_xemu_chihiro/bindings.py1CODE
LOW…ch-mupen64plus/batocera_launch_mupen64plus/emulator.py1CODE
LOW…mupen64plus/batocera_launch_mupen64plus/controllers.py1CODE
LOW…ch-mupen64plus/batocera_launch_mupen64plus/__init__.py1CODE
LOW…ch-mupen64plus/batocera_launch_mupen64plus/__init__.py3CODE
LOW…atocera-launch-cdogs/batocera_launch_cdogs/emulator.py1CODE
LOW…atocera-launch-cdogs/batocera_launch_cdogs/__init__.py1CODE
LOW…atocera-launch-cdogs/batocera_launch_cdogs/__init__.py3CODE
LOWpython-src/batocera-labwc/tests/test_touch.py1CODE
LOWpython-src/batocera-labwc/tests/test_build_rule_sets.py1CODE
LOWpython-src/batocera-labwc/tests/test_config.py1CODE
LOWpython-src/batocera-labwc/tests/test_outputs.py1CODE
LOWpython-src/batocera-labwc/tests/test_cli.py1CODE
LOWpython-src/batocera-labwc/batocera_labwc/config.py1CODE
LOW…n-src/batocera-labwc/batocera_labwc/build_rule_sets.py1CODE
LOWpython-src/batocera-labwc/batocera_labwc/__init__.py1CODE
LOWpython-src/batocera-labwc/batocera_labwc/__init__.py3CODE
LOWpython-src/batocera-labwc/batocera_labwc/types.py1CODE
LOWpython-src/batocera-labwc/batocera_labwc/cli.py3CODE
LOWpython-src/batocera-launch-rpcs3/tests/test_firmware.py1CODE
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py1CODE
LOW…cera-launch-rpcs3/batocera_launch_rpcs3/controllers.py1CODE
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/__init__.py1CODE
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/__init__.py3CODE
LOW…launch-openmohaa/batocera_launch_openmohaa/emulator.py1CODE
LOW…launch-openmohaa/batocera_launch_openmohaa/__init__.py1CODE
LOW…launch-openmohaa/batocera_launch_openmohaa/__init__.py3CODE
LOW…era-launch-fallout/batocera_launch_fallout/fallout2.py1CODE
LOW…era-launch-fallout/batocera_launch_fallout/fallout1.py1CODE
LOW…atocera-launch-fallout/batocera_launch_fallout/base.py1CODE
350 more matches not shown…
Empty Error Handlers87 hits · 372 pts
SeverityFileLineSnippetContext
HIGH…rc/batocera-launch-mame/batocera_launch_mame/bezels.py197except Exception:CODE
HIGH…rc/batocera-launch-mame/batocera_launch_mame/bezels.py179except Exception:CODE
HIGH…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py454except asyncio.CancelledError:CODE
HIGH…e-common/batocera_launch_mame_common/control_config.py167except Exception:CODE
HIGHpython-src/batocera-launch/batocera_launch/logging.py58except BrokenPipeError:CODE
HIGHpython-src/batocera-launch/batocera_launch/logging.py168except Exception:CODE
HIGH…-launch/batocera_launch/parallel_startup_task_mixin.py60except asyncio.CancelledError:CODE
HIGH…-launch/batocera_launch/parallel_startup_task_mixin.py42except asyncio.CancelledError:CODE
HIGH…-src/batocera-launch/batocera_launch/emulators/cemu.py288except Exception:CODE
HIGH…c/batocera-launch/batocera_launch/emulators/bigpemu.py248except Exception:CODE
HIGH…hon-src/batocera-launch/batocera_launch/fs/squashfs.py62except FileNotFoundError:CODE
HIGH…hon-src/batocera-launch/batocera_launch/fs/squashfs.py89except OSError:CODE
HIGH…c/batocera-launch/batocera_launch/devices/hotkeygen.py101except Exception:CODE
HIGH…n-src/batocera-launch/batocera_launch/devices/mouse.py31except Exception:CODE
HIGH…n-src/batocera-launch/batocera_launch/devices/video.py151except Exception:CODE
HIGH…n-src/batocera-launch/batocera_launch/devices/video.py184except Exception:CODE
HIGH…n-src/batocera-launch/batocera_launch/devices/video.py255except Exception:CODE
HIGH…n-src/batocera-launch/batocera_launch/devices/video.py303except Exception:CODE
HIGH…a-launch-libretro/batocera_launch_libretro/emulator.py186except ValueError:CODE
HIGH…a-launch-libretro/batocera_launch_libretro/emulator.py1184except Exception:CODE
HIGH…era-launch-flycast/batocera_launch_flycast/emulator.py68except Exception:CODE
HIGH…/python-batocera-common/batocera_common/dataclasses.py47except AttributeError:CODE
HIGHscripts/linux/refresh_resolver.py170except Exception:CODE
HIGHscripts/linux/refresh_resolver.py181except Exception:CODE
HIGHscripts/linux/refresh_resolver.py192except Exception:CODE
HIGHscripts/linux/refresh_resolver.py249except Exception:CODE
HIGHscripts/linux/refresh_resolver.py563except Exception:CODE
HIGHscripts/linux/refresh_resolver.py534except Exception:CODE
HIGH…resolution/scripts/screenshot/batocera-flash-screen.py193except Exception: passCODE
HIGH…resolution/scripts/screenshot/batocera-flash-screen.py55except Exception: passCODE
HIGH…resolution/scripts/screenshot/batocera-flash-screen.py130except Exception: passCODE
HIGH…resolution/scripts/screenshot/batocera-flash-screen.py218except ValueError: passCODE
HIGH…resolution/scripts/screenshot/batocera-flash-screen.py226except ValueError: passCODE
HIGH…batocera/utils/hotkeygen/hotkeygen/batocera_hotkeys.py288except KeyboardInterrupt:CODE
HIGH…batocera/utils/hotkeygen/hotkeygen/batocera_hotkeys.py68except KeyError:CODE
HIGH…batocera/utils/hotkeygen/hotkeygen/batocera_hotkeys.py176except Exception:CODE
HIGH…batocera/utils/hotkeygen/hotkeygen/batocera_hotkeys.py186except Exception:CODE
HIGHpackage/batocera/utils/hotkeygen/hotkeygen/daemon.py219except OSError:CODE
HIGH…age/batocera/utils/hotkeygen/hotkeygen/dbus/service.py206except Exception:CODE
HIGHpackage/batocera/utils/hotkeygen/hotkeygen/dbus/base.py54except Exception:CODE
HIGH…a/utils/batocera-led-handheld/batocera-led-handheld.py136except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py47except:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py120except OSError:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py269except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py394except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py488except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py525except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py599except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py608except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py618except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py734except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py920except:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py1129except:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py1145except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py1163except:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py1176except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py1184except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py1192except Exception:CODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py1941except: passCODE
HIGHpackage/batocera/utils/batocera-led-handheld/batoled.py180except Exception:CODE
27 more matches not shown…
Excessive Try-Catch Wrapping276 hits · 302 pts
SeverityFileLineSnippetContext
LOW…rc/batocera-launch-mame/batocera_launch_mame/bezels.py26 except Exception:CODE
LOW⚡…rc/batocera-launch-mame/batocera_launch_mame/bezels.py132 except Exception:STRING
LOW⚡…rc/batocera-launch-mame/batocera_launch_mame/bezels.py142 except Exception:STRING
LOW⚡…rc/batocera-launch-mame/batocera_launch_mame/bezels.py148 except Exception:STRING
LOW…rc/batocera-launch-mame/batocera_launch_mame/bezels.py179 except Exception:STRING
LOW…rc/batocera-launch-mame/batocera_launch_mame/bezels.py197 except Exception:STRING
MEDIUM…rc/batocera-launch-mame/batocera_launch_mame/bezels.py23def prepare_bezel(self) -> Path | None:CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py423 except Exception:CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py439 except Exception:CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py451 except Exception:CODE
MEDIUM…tocera-bezel-overlay/batocera_bezel_overlay/overlay.py15 print('Error: Dependencies not met.', exc)CODE
LOW…tocera-bezel-overlay/batocera_bezel_overlay/overlay.py53 except Exception:CODE
LOW…tocera-bezel-overlay/batocera_bezel_overlay/overlay.py59 except Exception as e:CODE
LOW…tocera-bezel-overlay/batocera_bezel_overlay/overlay.py81 except Exception:CODE
MEDIUM…ezel-overlay/batocera_bezel_overlay/wayland_overlay.py17 print('Error: Dependencies not met.', exc)CODE
LOW…ezel-overlay/batocera_bezel_overlay/wayland_overlay.py94 except Exception:CODE
MEDIUM…ra-bezel-overlay/batocera_bezel_overlay/x11_overlay.py16 print('Error: Dependencies not met.', exc)CODE
MEDIUM…c/batocera-bezel-overlay/batocera_bezel_overlay/app.py20 print('Error: Dependencies not met.', exc)CODE
LOW…-xemu-chihiro/batocera_launch_xemu_chihiro/emulator.py88 except Exception:CODE
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py364 except Exception:STRING
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py423 except Exception:STRING
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py432 except Exception:STRING
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py456 except Exception:STRING
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py478 except Exception:STRING
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py712 except Exception:STRING
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py988 except Exception:STRING
LOW…unch-linuxloader/batocera_launch_linuxloader/config.py271 except Exception:CODE
MEDIUM…unch-linuxloader/batocera_launch_linuxloader/config.py179def __post_init__(self) -> None:CODE
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py76 except Exception as e:CODE
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py112 except Exception as e:CODE
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py251 except Exception:CODE
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py463 except Exception as e:CODE
LOW…e-common/batocera_launch_mame_common/control_config.py167 except Exception:CODE
LOW…launch-mame-common/batocera_launch_mame_common/info.py18 except Exception as e:CODE
LOW…a-launch-openjazz/batocera_launch_openjazz/emulator.py204 except Exception:CODE
LOW…a-launch-openjazz/batocera_launch_openjazz/emulator.py272 except Exception:CODE
LOWpython-src/batocera-launch/batocera_launch/logging.py168 except Exception:CODE
LOWpython-src/batocera-launch/batocera_launch/emulator.py302 except Exception:CODE
LOWpython-src/batocera-launch/batocera_launch/emulator.py547 except Exception as e:CODE
LOWpython-src/batocera-launch/batocera_launch/emulator.py718 except Exception:CODE
LOWpython-src/batocera-launch/batocera_launch/emulator.py734 except Exception:CODE
LOWpython-src/batocera-launch/batocera_launch/emulator.py811 except Exception as e:CODE
MEDIUMpython-src/batocera-launch/batocera_launch/emulator.py708def prepare_gun_help(self) -> None:CODE
LOWpython-src/batocera-launch/batocera_launch/types.py82 except Exception:CODE
LOW…c/batocera-launch/batocera_launch/joysticks_hotkeys.py32 except Exception:CODE
LOW…-src/batocera-launch/batocera_launch/plugin_manager.py35 except Exception:CODE
LOW…-src/batocera-launch/batocera_launch/plugin_manager.py51 except Exception:CODE
LOW…/batocera-launch/batocera_launch/config/es_settings.py50 except Exception:CODE
LOW…n-src/batocera-launch/batocera_launch/emulators/trx.py65 except Exception as e:CODE
LOW…rc/batocera-launch/batocera_launch/emulators/vita3k.py44 except Exception:CODE
LOW…c/batocera-launch/batocera_launch/emulators/shadps4.py165 except Exception:CODE
LOW…-src/batocera-launch/batocera_launch/emulators/ymir.py265 except Exception as e:CODE
LOW…-src/batocera-launch/batocera_launch/emulators/xemu.py48 except Exception:CODE
LOW…-src/batocera-launch/batocera_launch/emulators/cemu.py288 except Exception:CODE
LOW…atocera-launch/batocera_launch/emulators/xenia_edge.py78 except Exception:CODE
LOW…c/batocera-launch/batocera_launch/emulators/pcsx2x6.py158 except Exception as e:CODE
LOW…c/batocera-launch/batocera_launch/emulators/pcsx2x6.py353 except Exception as e:CODE
LOW…src/batocera-launch/batocera_launch/emulators/xroar.py78 except Exception:CODE
LOW…c/batocera-launch/batocera_launch/emulators/bigpemu.py248 except Exception:CODE
LOW…batocera-launch/batocera_launch/emulators/moonlight.py68 except Exception:CODE
216 more matches not shown…
Modern Structural Boilerplate159 hits · 164 pts
SeverityFileLineSnippetContext
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py214def _update_player_config(config_file: Path, settings_to_set: dict[str, str], /) -> None:CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py270def _update_json_config(config_file: Path, settings_to_set: dict[str, Any], /) -> None:CODE
LOW…ch-mupen64plus/batocera_launch_mupen64plus/emulator.py109 def _set_mupen_config(self, ini_config: CaseSensitiveConfigParser, /) -> None:CODE
LOW…mupen64plus/batocera_launch_mupen64plus/controllers.py270 def set_controllers_config(self, ini_config: CaseSensitiveConfigParser, /) -> None:CODE
LOWpython-src/batocera-labwc/batocera_labwc/config.py142 def set_touchscreens(self, mappings: Sequence[tuple[str, str, int | None]]) -> None:CODE
LOW…launch-openmohaa/batocera_launch_openmohaa/emulator.py44def _update_config_file(file_path: Path, options_to_set: dict[str, str], /) -> None:CODE
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py415 def _setup_libraries(self, rom_dir: Path, rom_name: str) -> None:CODE
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py466 def _setup_config(self, rom_dir: Path, rom_name: str) -> None:CODE
LOW…linuxloader/batocera_launch_linuxloader/controllers.py20 def _setup_controllers(self, conf: Configuration, rom_name: str, /) -> None:CODE
LOW…linuxloader/batocera_launch_linuxloader/controllers.py48 def _setup_test_mode_evdev(self, conf: Configuration, /) -> None:CODE
LOW…linuxloader/batocera_launch_linuxloader/controllers.py67 def _setup_joysticks_evdev(self, conf: Configuration, short_rom_name: str, /) -> None:CODE
LOW…linuxloader/batocera_launch_linuxloader/controllers.py484 def _setup_guns_evdev(self, conf: Configuration, short_rom_name: str, /) -> None:CODE
LOW…ch-libretro-mame/batocera_launch_libretro_mame/core.py29 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…ch-libretro-mame/batocera_launch_libretro_mame/core.py89 def set_gun_config_for_player(self, custom_config: LibretroConfig, player_number: int, gun: Gun, /) -> None:CODE
LOWpython-src/batocera-launch/batocera_launch/command.py90 def update_env(self, **kwargs: str | Path) -> None:CODE
LOW…src/batocera-launch/batocera_launch/config/metadata.py39def _update_metadata_from_element(md: dict[str, str], element: ET.Element, /, extra_log_text: str = '') -> None:CODE
LOW…src/batocera-launch/batocera_launch/config/libretro.py39 def set_from_config(self, name: str, config_name: str | None = None, /, *, default: object = None) -> None:CODE
LOW…src/batocera-launch/batocera_launch/config/libretro.py53 def set_int_from_config(self, name: str, config_name: str | None = None, /, *, default: int | None = None) -> None:CODE
LOW…atocera-launch/batocera_launch/emulators/supermodel.py422 def set_input(key: str, binding: str | None) -> None:CODE
LOW…rc/batocera-launch/batocera_launch/emulators/iortcw.py90 def _update_config_file(self, options_to_set: dict[str, str], /) -> None:CODE
LOW…tocera-launch/batocera_launch/emulators/sonic_mania.py24def _set_ini_values(path: Path, values: Mapping[str, Mapping[str, str]], /) -> None:CODE
LOW…rc/batocera-launch/batocera_launch/emulators/bstone.py41 def _update_or_create_config(self) -> None:CODE
LOW…-src/batocera-launch/batocera_launch/emulators/cemu.py234def _set_xml_value(config: minidom.Document, xml_section: minidom.Element, name: str, value: str, /) -> None:CODE
LOW…rc/batocera-launch/batocera_launch/emulators/dhewm3.py18def _update_config_file(file_path: Path, options_to_set: dict[str, str], /) -> None:CODE
LOW…rc/batocera-launch/batocera_launch/emulators/uzdoom.py164 def set_value(self, section: str, key: str, value: str) -> None:CODE
LOW…rc/batocera-launch/batocera_launch/emulators/uzdoom.py175 def set_value_if_missing(self, section: str, key: str, value: str) -> None:CODE
LOW…rc/batocera-launch/batocera_launch/emulators/uzdoom.py239 def _update_ini_file(self, ini_file: Path, sound_fonts_dir: Path, fm_banks_dir: Path) -> None:CODE
LOW…n-src/batocera-launch/batocera_launch/devices/mouse.py15async def set_mouse_mode(mode: bool, /) -> None:CODE
LOW…hon-src/batocera-launch/batocera_launch/devices/x11.py166 def set_window_shape_region(self, kind: ShapeKind, x: int, y: int, region: int, /) -> None:CODE
LOW…a-launch-libretro/batocera_launch_libretro/emulator.py452 def set_controllers_config(self, custom_config: LibretroConfig) -> None:CODE
LOW…a-launch-libretro/batocera_launch_libretro/emulator.py509 def set_controller_config(self, custom_config: LibretroConfig, controller: Controller, /) -> None:CODE
LOW…a-launch-libretro/batocera_launch_libretro/emulator.py609 def set_paths_config(self, custom_config: LibretroConfig, /) -> None:CODE
LOW…a-launch-libretro/batocera_launch_libretro/emulator.py646 async def set_config(self, custom_config: LibretroConfig, gfx_backend: str, shader_bezel: bool, /) -> None:CODE
LOW…a-launch-libretro/batocera_launch_libretro/emulator.py980 def set_guns_config(self, custom_config: LibretroConfig, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…ocera-launch-libretro/batocera_launch_libretro/core.py163 def set_button_mappings(self, controller: Controller, button_mappings: dict[str, str], /) -> None:CODE
LOW⚡…ocera-launch-libretro/batocera_launch_libretro/core.py169 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…ocera-launch-libretro/batocera_launch_libretro/core.py172 def set_gun_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…ocera-launch-libretro/batocera_launch_libretro/core.py178 def set_config(self, custom_config: LibretroConfig, /) -> None:CODE
LOW⚡…ocera-launch-libretro/batocera_launch_libretro/core.py184 def set_gun_config_for_player(self, custom_config: LibretroConfig, player_number: int, gun: Gun, /) -> None:CODE
LOW…nch-libretro/batocera_launch_libretro/cores/uae4arm.py15 def set_config(self, custom_config: LibretroConfig, /) -> None:CODE
LOW…nch-libretro/batocera_launch_libretro/cores/flycast.py19 def set_button_mappings(self, controller: Controller, button_mappings: dict[str, str], /) -> None:CODE
LOW…nch-libretro/batocera_launch_libretro/cores/flycast.py28 def set_config(self, custom_config: LibretroConfig, /) -> None:CODE
LOW…nch-libretro/batocera_launch_libretro/cores/flycast.py46 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…nch-libretro/batocera_launch_libretro/cores/flycast.py141 def set_gun_config_for_player(self, custom_config: LibretroConfig, player_number: int, gun: Gun, /) -> None:CODE
LOW…aunch-libretro/batocera_launch_libretro/cores/opera.py16 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…libretro/batocera_launch_libretro/cores/snes9x_next.py24 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…unch-libretro/batocera_launch_libretro/cores/snes9x.py39 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…unch-libretro/batocera_launch_libretro/cores/snes9x.py70 def set_gun_config_for_player(self, custom_config: LibretroConfig, player_number: int, gun: Gun, /) -> None:CODE
LOW…ch-libretro/batocera_launch_libretro/cores/theodore.py14 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…aunch-libretro/batocera_launch_libretro/cores/px68k.py26 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…a-launch-libretro/batocera_launch_libretro/cores/vb.py14 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…nch-libretro/batocera_launch_libretro/cores/dolphin.py92 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…nch-libretro/batocera_launch_libretro/cores/dolphin.py117 def set_gun_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW⚡…nch-libretro/batocera_launch_libretro/cores/dolphin.py123 def set_gun_config_for_player(self, custom_config: LibretroConfig, player_number: int, gun: Gun, /) -> None:CODE
LOW…ch-libretro/batocera_launch_libretro/cores/nestopia.py16 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…/batocera_launch_libretro/cores/mednafen_supergrafx.py14 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…ibretro/batocera_launch_libretro/cores/parallel_n64.py18 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…unch-libretro/batocera_launch_libretro/cores/anybor.py21 def set_config(self, custom_config: LibretroConfig, /) -> None:CODE
LOW…ch-libretro/batocera_launch_libretro/cores/tyrquake.py42 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
LOW…bretro/batocera_launch_libretro/cores/beetle_saturn.py34 def set_core_options(self, core_options: LibretroConfig, /) -> None:CODE
99 more matches not shown…
Deep Nesting163 hits · 150 pts
SeverityFileLineSnippetContext
LOW…/batocera-launch-mame/batocera_launch_mame/emulator.py305CODE
LOW…tocera-launch-mame/batocera_launch_mame/controllers.py52CODE
LOW…rc/batocera-launch-mame/batocera_launch_mame/bezels.py29CODE
LOW…atocera-launch-pcsx2/batocera_launch_pcsx2/emulator.py89CODE
LOW…atocera-launch-pcsx2/batocera_launch_pcsx2/emulator.py254CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py389CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py642CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py657CODE
LOW…/batocera-es-system/batocera_es_system/translations.py72CODE
LOW…atocera-es-system/batocera_es_system/systems_report.py158CODE
LOW…launch-openjkdf2/batocera_launch_openjkdf2/emulator.py214CODE
LOW…mupen64plus/batocera_launch_mupen64plus/controllers.py43CODE
LOW…mupen64plus/batocera_launch_mupen64plus/controllers.py170CODE
LOW…mupen64plus/batocera_launch_mupen64plus/controllers.py183CODE
LOWpython-src/batocera-labwc/batocera_labwc/config.py142CODE
LOWpython-src/batocera-labwc/batocera_labwc/cli.py39CODE
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py547CODE
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py617CODE
LOW…cera-launch-rpcs3/batocera_launch_rpcs3/controllers.py553CODE
LOW…launch-openmohaa/batocera_launch_openmohaa/emulator.py44CODE
LOW…unch-linuxloader/batocera_launch_linuxloader/config.py179CODE
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py81CODE
LOW…linuxloader/batocera_launch_linuxloader/controllers.py67CODE
LOW…linuxloader/batocera_launch_linuxloader/controllers.py223CODE
LOW…linuxloader/batocera_launch_linuxloader/controllers.py484CODE
LOW…rc/batocera-launch-kodi/batocera_launch_kodi/config.py53CODE
LOW…e-common/batocera_launch_mame_common/control_config.py34CODE
LOW…nch-mame-common/batocera_launch_mame_common/autorun.py22CODE
LOW…mon/batocera_launch_mame_common/mame_control_scheme.py39CODE
LOW…launch-mame-common/batocera_launch_mame_common/atom.py30CODE
LOW…libretro-mame/batocera_launch_libretro_mame/command.py76CODE
LOW…libretro-mame/batocera_launch_libretro_mame/command.py224CODE
LOW…etro-mame/batocera_launch_libretro_mame/controllers.py214CODE
LOWpython-src/batocera-launch/batocera_launch/rom.py15CODE
LOWpython-src/batocera-launch/batocera_launch/emulator.py590CODE
LOW…c/batocera-launch/batocera_launch/joysticks_hotkeys.py207CODE
LOW…rc/batocera-launch/batocera_launch/emulators/armsx2.py88CODE
LOW…rc/batocera-launch/batocera_launch/emulators/armsx2.py246CODE
LOW…cera-launch/batocera_launch/emulators/hypseus_singe.py71CODE
LOW…cera-launch/batocera_launch/emulators/hypseus_singe.py123CODE
LOW…cera-launch/batocera_launch/emulators/hypseus_singe.py153CODE
LOW…atocera-launch/batocera_launch/emulators/supermodel.py302CODE
LOW…atocera-launch/batocera_launch/emulators/supermodel.py344CODE
LOW…rc/batocera-launch/batocera_launch/emulators/ecwolf.py49CODE
LOW…n-src/batocera-launch/batocera_launch/emulators/trx.py43CODE
LOW…src/batocera-launch/batocera_launch/emulators/demul.py85CODE
LOW…rc/batocera-launch/batocera_launch/emulators/vita3k.py27CODE
LOW…tocera-launch/batocera_launch/emulators/dxx_rebirth.py54CODE
LOW…src/batocera-launch/batocera_launch/emulators/fsuae.py110CODE
LOW…/batocera-launch/batocera_launch/emulators/ioquake3.py64CODE
LOW…c/batocera-launch/batocera_launch/emulators/easyrpg.py42CODE
LOW…rc/batocera-launch/batocera_launch/emulators/bstone.py41CODE
LOW…-src/batocera-launch/batocera_launch/emulators/ymir.py246CODE
LOW…/batocera-launch/batocera_launch/emulators/amiberry.py105CODE
LOW…/batocera-launch/batocera_launch/emulators/amiberry.py322CODE
LOW…c/batocera-launch/batocera_launch/emulators/melonds.py50CODE
LOW…-src/batocera-launch/batocera_launch/emulators/cemu.py281CODE
LOW…c/batocera-launch/batocera_launch/emulators/solarus.py51CODE
LOW…c/batocera-launch/batocera_launch/emulators/redream.py59CODE
LOW…c/batocera-launch/batocera_launch/emulators/openbor.py45CODE
103 more matches not shown…
Decorative Section Separators34 hits · 124 pts
SeverityFileLineSnippetContext
MEDIUM…en2/fsoverlay/lib/firmware/brcm/brcmfmac43456-sdio.txt18#-----------------------------------------COMMENT
MEDIUM…588/fsoverlay/lib/firmware/brcm/brcmfmac43456-sdio.txt18#-----------------------------------------COMMENT
MEDIUM…ine/fsoverlay/lib/firmware/brcm/brcmfmac43456-sdio.txt18#-----------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini1#=======================================================================================================================COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini3#=======================================================================================================================COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini4#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini6#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini42#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini44#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini47#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini49#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini52#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini54#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini57#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini59#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini86#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini88#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini103#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini105#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini123#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini125#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini140#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini142#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini154#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini1#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini3#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini4#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini6#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini22#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini24#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini41#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini43#-----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh966#-----------------------------------------COMMENT
MEDIUMpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh968#-----------------------------------------COMMENT
Over-Commented Block96 hits · 88 pts
SeverityFileLineSnippetContext
LOWboard/batocera/dropbear_localoptions.h1#define DEFAULT_RECV_WINDOW 204800COMMENT
LOWboard/batocera/amlogic/s905gen3/tvbox-gen3/genimage.cfg1image boot.vfat {COMMENT
LOWboard/batocera/fsoverlay/etc/profile.d/40-prompt.sh1#Trim path 30charsCOMMENT
LOW…0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg1seq_start;COMMENT
LOW…0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg161//probe_andinv:0x0;COMMENT
LOW…0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg181//filter1_status:0x3;COMMENT
LOW…0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg201//seq_end;COMMENT
LOWboard/batocera/broadcom/bcm2836/boot/config.txt21# at 0, it causes flickering on hdmi outputCOMMENT
LOWboard/batocera/broadcom/bcm2836/boot/config.txt41# 2 use DMT (Display Monitor Timings, the standard typically used by monitors).COMMENT
LOWboard/batocera/broadcom/bcm2836/boot/config.txt61# it is not possible to output 4Kp60 on both micro HDMI ports simultaneously.COMMENT
LOWboard/batocera/broadcom/bcm2836/boot/config.txt81# 0 Normal NTSC (default)COMMENT
LOWboard/batocera/broadcom/bcm2836/boot/config.txt101COMMENT
LOWboard/batocera/broadcom/bcm2837/boot/config.txt21COMMENT
LOWboard/batocera/broadcom/bcm2837/boot/config.txt41COMMENT
LOWboard/batocera/broadcom/bcm2837/boot/config.txt61# meaning they will not appear in any enumerated lists of modes.COMMENT
LOWboard/batocera/broadcom/bcm2837/boot/config.txt81COMMENT
LOWboard/batocera/broadcom/bcm2837/boot/config.txt101# uncomment if you have slow sound issues on composite outputCOMMENT
LOWboard/batocera/broadcom/bcm2837/boot/config.txt121COMMENT
LOWboard/batocera/broadcom/bcm2711/genimage.cfg1image boot.vfat {COMMENT
LOWboard/batocera/broadcom/bcm2711/boot/config.txt21COMMENT
LOWboard/batocera/broadcom/bcm2711/boot/config.txt41COMMENT
LOWboard/batocera/broadcom/bcm2711/boot/config.txt61# meaning they will not appear in any enumerated lists of modes.COMMENT
LOWboard/batocera/broadcom/bcm2711/boot/config.txt81COMMENT
LOWboard/batocera/broadcom/bcm2711/boot/config.txt101# uncomment if you have slow sound issues on composite outputCOMMENT
LOWboard/batocera/broadcom/bcm2711/boot/config.txt121COMMENT
LOWboard/batocera/broadcom/bcm2835/boot/config.txt1# For more options and information seeCOMMENT
LOWboard/batocera/broadcom/bcm2835/boot/config.txt21# goes off screen, and negative if there is too much borderCOMMENT
LOWboard/batocera/broadcom/bcm2835/boot/config.txt41#hdmi_drive=2COMMENT
LOWboard/batocera/broadcom/bcm2835/boot/config.txt61COMMENT
LOWboard/batocera/broadcom/bcm2712/genimage.cfg1image boot.vfat {COMMENT
LOWboard/batocera/rockchip/rk3326/mainline/boot/boot.ini41COMMENT
LOWboard/batocera/rockchip/rk3128/ps5000/genimage.cfg1image boot.vfat {COMMENT
LOWboard/batocera/rockchip/rk3128/ps7000/genimage.cfg1image boot.vfat {COMMENT
LOW…ard/batocera/rockchip/rk3128/powkiddy_a13/genimage.cfg1image boot.vfat {COMMENT
LOW…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini1#=======================================================================================================================COMMENT
LOW…p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini41common_rfu_w = 0x00000000, 0x00000000COMMENT
LOW…chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini1#-----------------------------------------------------------------------------------------------------------------------COMMENT
LOW…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py741 # Set the PPU Decoder based on configCOMMENT
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py1#COMMENT
LOW…tocera-launch-mame-common/resources/mess_controls.toml1[cdimono1]COMMENT
LOW…tocera-launch-mame-common/resources/mess_controls.toml61# The following Player 1 entries were overwritten by duplicate Player 2 keys in the original CSV parsing codeCOMMENT
LOW…unch/batocera_launch/emulators/xash3d_fwgs/gamepad.cfg1// Default gamepad bindingsCOMMENT
LOW…kage/batocera/core/batocera-drminfo/batocera-drminfo.c21#include <errno.h>COMMENT
LOW…a/core/batocera-drminfo/batocera-drminfo-no-1360x768.c21#include <errno.h>COMMENT
LOW…t/datainit/system/scripts/template-game-start-stop.txt1#!/bin/bashCOMMENT
LOW…resolution/scripts/screenshot/batocera-flash-screen.py1#!/usr/bin/env python3COMMENT
LOW…ckage/batocera/utils/sdl2-touch-test/sdl2-touch-test.c21#include <fcntl.h>COMMENT
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1261 with open(self.modepath, "w") as f:COMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh1#!/bin/bashCOMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh21#v1.9 - add POWERHAT for Rpi4 OneNineDesign case variants - @dmanlfcCOMMENT
LOWpackage/batocera/emulators/drastic/libdrastouch.c21#define GL_VERTEX_SHADER 0x8B31COMMENT
LOWpackage/batocera/emulators/linuxloader/linuxloader.ini241# To find the value pairs for these run ./linuxloader --list-controllersCOMMENT
LOWpackage/batocera/emulators/linuxloader/linuxloader.ini261COMMENT
LOWpackage/batocera/emulators/linuxloader/linuxloader.ini281#ANALOGUE_4 = "SYNPS_2_SYNAPTICS_TOUCHPAD_ABS_RZ"COMMENT
LOW…reens/batocera-backglass/batocera-backglass-window.cpp1#include <SDL2/SDL.h>COMMENT
LOWpackage/batocera/screens/batocera-backglass/stb_image.h121COMMENT
LOWpackage/batocera/screens/batocera-backglass/stb_image.h141// unsigned char *data = stbi_load(filename, &x, &y, &n, 0);COMMENT
LOWpackage/batocera/screens/batocera-backglass/stb_image.h161// *channels_in_file otherwise. If desired_channels is non-zero,COMMENT
LOWpackage/batocera/screens/batocera-backglass/stb_image.h181// more user-friendly ones.COMMENT
LOWpackage/batocera/screens/batocera-backglass/stb_image.h201// Additionally, stb_image will reject image files that have any of theirCOMMENT
36 more matches not shown…
Self-Referential Comments25 hits · 77 pts
SeverityFileLineSnippetContext
MEDIUMboard/batocera/qualcomm/sm6115/create-boot-script.sh34# Define the Kernel command lineCOMMENT
MEDIUMboard/batocera/qualcomm/sm8550/create-boot-script.sh34# Define the Kernel command lineCOMMENT
MEDIUMboard/batocera/qualcomm/sm8650/create-boot-script.sh34# Define the Kernel command lineCOMMENT
MEDIUMboard/batocera/qualcomm/sm4450/create-boot-script.sh34# Define the Kernel command lineCOMMENT
MEDIUMboard/batocera/qualcomm/sm8250/create-boot-script.sh34# Define the Kernel command lineCOMMENT
MEDIUM…atocera-launch-rpcs3/batocera_launch_rpcs3/emulator.py397 # Create the target patch file from data if absent, otherwise merge in only the keysSTRING
MEDIUM…ch-linuxloader/batocera_launch_linuxloader/emulator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…-src/batocera-launch/batocera_launch/emulators/cemu.py552 # Create the settings fileCOMMENT
MEDIUM…-src/batocera-launch/batocera_launch/emulators/raze.py188 '# This file is automatically generated by batocera-launch',CODE
MEDIUM…rc/batocera-launch/batocera_launch/emulators/uzdoom.py231 '# This file is automatically generated by batocera-launch\n'CODE
MEDIUM…c/batocera-launch/batocera_launch/emulators/yquake2.py94 # Define the default options to addCOMMENT
MEDIUM⚡…atocera-launch/batocera_launch/emulators/catacombgl.py54 config_file.touch() # Create the file if it doesn't existCODE
MEDIUM⚡…atocera-launch/batocera_launch/emulators/catacombgl.py56 # Define the paths to be added or adjusted in the ini fileCOMMENT
MEDIUMpython-src/batocera-launch/batocera_launch/draw/pil.py185 # Create a new blank canvas that is the same size as the bezel for later compositing (they are required to be the saCOMMENT
MEDIUM…/batocera-launch/batocera_launch/devices/controller.py209 # Create a controller array with the player id as a keyCOMMENT
MEDIUM…-launch-flycast/batocera_launch_flycast/controllers.py104# Create the controller configuration fileCOMMENT
MEDIUM…resolution/scripts/screenshot/batocera-flash-screen.py3# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUMpackage/batocera/utils/batocera-led-handheld/batoled.py768 # Create a chasing color wheel using quadrant phase-shifting (Rainbow)COMMENT
MEDIUMpackage/batocera/utils/batocera-led-handheld/batoled.py1967 # Create a chasing color wheel using quadrant phase-shifting (Rainbow)COMMENT
MEDIUM⚡package/batocera/emulators/linuxloader/linuxloader.ini97# Define the path to pass the JVS packets to if JVS is not being emulatedCOMMENT
MEDIUM⚡package/batocera/emulators/linuxloader/linuxloader.ini100# Define the path to pass the first serial port toCOMMENT
MEDIUM⚡package/batocera/emulators/linuxloader/linuxloader.ini103# Define the path to pass the second serial port toCOMMENT
MEDIUM⚡package/batocera/emulators/linuxloader/linuxloader.ini106# Define the path to the sram.bin fileCOMMENT
MEDIUM⚡package/batocera/emulators/linuxloader/linuxloader.ini109# Define the path to the eeprom.bin fileCOMMENT
MEDIUM…ge/batocera/emulators/vpinball/batocera-vpx-scraper.py592 # Create a backup of existing fileCOMMENT
Cross-Language Confusion10 hits · 68 pts
SeverityFileLineSnippetContext
HIGH…nch-mame-common/batocera_launch_mame_common/autorun.py71 # if still undefined, default autoRunCmd based on media typeCOMMENT
HIGH…nch-mame-common/batocera_launch_mame_common/autorun.py181 # if still undefined, default autoRunCmd based on media typeCOMMENT
HIGH…src/batocera-launch/batocera_launch/emulators/demul.py34while geometry=$(xdotool getwindowgeometry --shell "$win" 2>/dev/null); doCODE
HIGH…src/batocera-launch/batocera_launch/emulators/demul.py195 trigger_cmd = 'sleep 5 && export DISPLAY=:0 && xdotool getactivewindow key F3'STRING
HIGH⚡python-src/batocera-launch/tests/test_video.py9\tdescription: (null) (null) (DSI-1)CODE
HIGH⚡python-src/batocera-launch/tests/test_video.py15\tdescription: (null) (null) (DSI-2)CODE
HIGH⚡package/batocera/utils/piboy/piboy_power_ctrl.py22 os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmodCODE
HIGH⚡package/batocera/utils/piboy/piboy_power_ctrl.py24 os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmodCODE
HIGH⚡package/batocera/utils/piboy/piboy_power_ctrl.py32 os.system("echo 20 > /sys/kernel/xpi_gamecon/green && echo 20 > /sys/kernel/xpi_gamecon/red")CODE
HIGH⚡package/batocera/utils/piboy/piboy_power_ctrl.py34 os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmodCODE
Redundant / Tautological Comments27 hits · 39 pts
SeverityFileLineSnippetContext
LOW…ch-mupen64plus/batocera_launch_mupen64plus/emulator.py182 # Set fullscreen to True on Wayland, False otherwise (due to issues on Xorg/DRM)COMMENT
LOW…ch-linuxloader/batocera_launch_linuxloader/emulator.py163 # Check if file is executableCOMMENT
LOW…nch-mame-common/batocera_launch_mame_common/autorun.py116 # Check if the media being used is a floppy typeCOMMENT
LOWpython-src/batocera-launch/batocera_launch/asyncio.py116 file.close() # Close the file to ensure all data is flushed to diskCODE
LOW…-src/batocera-launch/batocera_launch/emulators/ymir.py261 # Check if the file existsCOMMENT
LOW…c/batocera-launch/batocera_launch/emulators/melonds.py187 # Check if dual screen mode is enabledCOMMENT
LOW…-src/batocera-launch/batocera_launch/emulators/cemu.py353 # Check if we have a discrete GPU & if so, set the UUIDCOMMENT
LOW…-src/batocera-launch/batocera_launch/emulators/cemu.py448 # Set volume to the maxCOMMENT
LOW…rc/batocera-launch/batocera_launch/emulators/ppsspp.py245 # Check if we have a discrete GPU & if so, set the NameCOMMENT
LOW…rc/batocera-launch/batocera_launch/emulators/uzdoom.py177 # Check if the key already existsCOMMENT
LOW⚡…atocera-launch/batocera_launch/emulators/catacombgl.py51 # Check if the ini file exists, and if not, create and adjust itCOMMENT
LOW…era-launch-dolphin/batocera_launch_dolphin/emulator.py148 # Set value to 6 if it is 6a or 6b/6c: differentiates Standard vs GameCube Controller type.COMMENT
LOW…a-launch-libretro/batocera_launch_libretro/emulator.py168 # Check if game natively supports widescreen from metadata (not widescreen hack)COMMENT
LOW…a-launch-libretro/batocera_launch_libretro/emulator.py791 # Check if game natively supports widescreen from metadata (not widescreen hack)COMMENT
LOWscripts/linux/refresh_resolver.py266 # Check if the file is inside the 'configs' directory (e.g. batocera-*.board)COMMENT
LOWscripts/linux/refresh_resolver.py281 # Check if the file is inside the 'board' directory (e.g. custom configs or patches)COMMENT
LOWpackage/batocera/utils/hotkeygen/hotkeygen/daemon.py242 # Set this to None so that if stop() is called again while waiting for the task toCOMMENT
LOW…a/utils/batocera-led-handheld/batocera-led-handheld.py161 # Check if this is a software-driven effect that requires continuous loopingCOMMENT
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py36 # Check if user selected another modeCOMMENT
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py39 # Check if color changes are locked/blockedCOMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh179 #Check if dtooverlay is setted in /boot/configCOMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh225 #Check if dtooverlay is setted in /boot/config.txtCOMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh360 #Check if dtoverlay is setted in /boot/config -- Do this arch related!COMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh502 # Check if the kernel module is loadedCOMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh789 # Check if /boot is writable, if not make it writableCOMMENT
LOWpackage/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh881 # Check if /boot is writable, if not make it writableCOMMENT
LOW…ge/batocera/emulators/vpinball/batocera-vpx-scraper.py201 if value: # Check if value is not None, empty string, or empty listCODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…batocera-launch/batocera_launch/config/build_engine.py44Parse Build Engine launcher arguments from a ROM script (EDuke32 / Raze). Lines are ``KEY=value``. A leading ``/`` STRING
HIGHpython-src/python-batocera-common/batocera_common/fs.py203Mount ``device`` for the duration of the context, then unmount it. Yields ``mount_point`` after a successful :func:STRING
HIGHpython-src/python-batocera-common/batocera_common/fs.py271Write ``path`` atomically via a temporary file in the same directory. Yields a temporary path for the caller to wriSTRING
AI Structural Patterns7 hits · 5 pts
SeverityFileLineSnippetContext
LOW…/python-batocera-common/batocera_common/dataclasses.py53CODE
LOW…/python-batocera-common/batocera_common/dataclasses.py71CODE
LOW…/python-batocera-common/batocera_common/dataclasses.py88CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py2109CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py2119CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1608CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1643CODE
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
LOWboard/batocera/rockchip/rk3326/mainline/boot/boot.ini26if test -n "${hwid_adc}"; then setenv adc ${hwid_adc}; echo "ADC ${hwid_adc}" # mainline u-boot, just use real valCODE
MEDIUM…launch-mame-common/batocera_launch_mame_common/atom.py11# The comprehensive list of known floppy disk extensions for the Atom systemCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…launch-libretro/batocera_launch_libretro/cores/puae.py13# If you want to change them, you can add some strings to batocera.conf by usingCOMMENT