batocera.linux
This report presents the forensic synthetic code analysis of batocera-linux/batocera.linux, a Python project with 3,115 GitHub stars. SynthScan v2.0 examined 120,552 lines of code across 1195 source files, recording 964 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 10.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 964 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/linux/refresh_resolver.py | 75 | except Exception: | CODE |
| LOW | scripts/linux/refresh_resolver.py | 232 | except Exception: | CODE |
| LOW⚡ | scripts/linux/refresh_resolver.py | 246 | except Exception: | CODE |
| LOW⚡ | scripts/linux/refresh_resolver.py | 251 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/linux/refresh_resolver.py | 252 | print(f'Error removing {path}: {e}', file=sys.stderr) | CODE |
| LOW | …resolution/scripts/screenshot/batocera-flash-screen.py | 34 | except Exception: | CODE |
| LOW⚡ | …resolution/scripts/screenshot/batocera-flash-screen.py | 55 | except Exception: pass | CODE |
| LOW⚡ | …resolution/scripts/screenshot/batocera-flash-screen.py | 64 | except Exception: mon = None | CODE |
| LOW⚡ | …resolution/scripts/screenshot/batocera-flash-screen.py | 67 | except Exception: mon = None | CODE |
| LOW⚡ | …resolution/scripts/screenshot/batocera-flash-screen.py | 130 | except Exception: pass | STRING |
| LOW⚡ | …resolution/scripts/screenshot/batocera-flash-screen.py | 139 | except Exception: return | STRING |
| LOW⚡ | …resolution/scripts/screenshot/batocera-flash-screen.py | 148 | except Exception: | STRING |
| LOW | …resolution/scripts/screenshot/batocera-flash-screen.py | 160 | except Exception: font_pt = 36 | STRING |
| LOW | …resolution/scripts/screenshot/batocera-flash-screen.py | 193 | except Exception: pass | STRING |
| MEDIUM | …resolution/scripts/screenshot/batocera-flash-screen.py | 30 | def gtk_init_check(): | CODE |
| LOW | …ore/batocera-configgen/configgen/configgen/Emulator.py | 45 | except Exception: | CODE |
| LOW | …ore/batocera-configgen/configgen/configgen/Emulator.py | 113 | except Exception: | CODE |
| LOW | …ore/batocera-configgen/configgen/configgen/Emulator.py | 175 | except Exception: | CODE |
| LOW | …ore/batocera-configgen/configgen/configgen/Emulator.py | 265 | except Exception: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 158 | except Exception as e: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 215 | except Exception as e: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 234 | except Exception as e: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 251 | except Exception: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 257 | except Exception: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 302 | except Exception: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 385 | except Exception as e: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 524 | except Exception as e: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 554 | except Exception as e: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 680 | except Exception: | CODE |
| LOW | …configgen/configgen/configgen/settings/unixSettings.py | 55 | except Exception: | CODE |
| LOW | …batocera-configgen/configgen/configgen/utils/logger.py | 135 | except Exception: | CODE |
| LOW | …configgen/configgen/configgen/utils/currentPlatform.py | 17 | except Exception: | CODE |
| LOW | …configgen/configgen/configgen/utils/currentPlatform.py | 23 | except Exception: | CODE |
| MEDIUM | …configgen/configgen/configgen/utils/currentPlatform.py | 9 | def get_cpu_speed() -> int: | CODE |
| MEDIUM | …configgen/configgen/configgen/utils/currentPlatform.py | 20 | def is_pc() -> bool: | CODE |
| LOW | …cera-configgen/configgen/configgen/utils/esSettings.py | 18 | except Exception: | CODE |
| MEDIUM | …cera-configgen/configgen/configgen/utils/esSettings.py | 9 | def getInvertButtonsValue() -> bool: | CODE |
| LOW | …era-configgen/configgen/configgen/utils/wheelsUtils.py | 277 | except Exception: | CODE |
| LOW⚡ | …batocera-configgen/configgen/configgen/utils/bezels.py | 209 | except Exception: | CODE |
| LOW⚡ | …batocera-configgen/configgen/configgen/utils/bezels.py | 214 | except Exception: | CODE |
| LOW⚡ | …batocera-configgen/configgen/configgen/utils/bezels.py | 220 | except Exception: | CODE |
| LOW | …ocera-configgen/configgen/configgen/utils/videoMode.py | 93 | except Exception: | CODE |
| LOW | …ocera-configgen/configgen/configgen/utils/videoMode.py | 116 | except Exception: | CODE |
| LOW | …ocera-configgen/configgen/configgen/utils/videoMode.py | 191 | except Exception: | CODE |
| LOW | …ocera-configgen/configgen/configgen/utils/videoMode.py | 204 | except Exception: | CODE |
| MEDIUM | …ocera-configgen/configgen/configgen/utils/videoMode.py | 178 | def getGLVersion() -> float: | CODE |
| MEDIUM | …ocera-configgen/configgen/configgen/utils/videoMode.py | 194 | def getGLVendor() -> str: | CODE |
| LOW | …ggen/configgen/configgen/generators/xemu/xemuConfig.py | 27 | except Exception: | CODE |
| LOW | …iggen/configgen/generators/drastic/drasticGenerator.py | 128 | except Exception: | CODE |
| LOW | …iggen/configgen/generators/flycast/flycastGenerator.py | 41 | except Exception: | CODE |
| LOW | …configgen/configgen/generators/mame/mameControllers.py | 32 | except Exception: | CODE |
| LOW | …configgen/configgen/generators/mame/mameControllers.py | 170 | except Exception: | CODE |
| LOW | …n/configgen/configgen/generators/mame/mameGenerator.py | 615 | except Exception: | CODE |
| LOW⚡ | …n/configgen/configgen/generators/mame/mameGenerator.py | 743 | except Exception: | CODE |
| LOW⚡ | …n/configgen/configgen/generators/mame/mameGenerator.py | 748 | except Exception: | CODE |
| LOW⚡ | …n/configgen/configgen/generators/mame/mameGenerator.py | 754 | except Exception: | CODE |
| LOW | …n/configgen/configgen/generators/mame/mameGenerator.py | 783 | except Exception: | CODE |
| LOW | …n/configgen/configgen/generators/mame/mameGenerator.py | 795 | except Exception: | CODE |
| LOW | …gen/configgen/generators/corsixth/corsixthGenerator.py | 48 | except Exception: | CODE |
| LOW | …gen/configgen/generators/corsixth/corsixthGenerator.py | 116 | except Exception: | CODE |
| 190 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …thon-src/batocera-es-system/batocera_es_system/roms.py | 1 | CODE | |
| LOW | …rc/batocera-es-system/batocera_es_system/es_systems.py | 1 | CODE | |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 1 | CODE | |
| LOW | …/batocera-es-system/batocera_es_system/translations.py | 1 | CODE | |
| LOW | …batocera-es-system/batocera_es_system/build_es_data.py | 1 | CODE | |
| LOW | …on-src/batocera-es-system/batocera_es_system/shared.py | 1 | CODE | |
| LOW | …c/batocera-es-system/batocera_es_system/es_features.py | 1 | CODE | |
| LOW | …atocera-es-system/batocera_es_system/systems_report.py | 1 | CODE | |
| LOW | python-src/batocera-common/tests/test_configparser.py | 1 | CODE | |
| LOW | python-src/batocera-common/tests/test_fs.py | 1 | CODE | |
| LOW | python-src/batocera-common/tests/test_yaml.py | 1 | CODE | |
| LOW | python-src/batocera-common/batocera_common/paths.py | 1 | CODE | |
| LOW | python-src/batocera-common/batocera_common/yaml.py | 1 | CODE | |
| LOW | …on-src/batocera-common/batocera_common/configparser.py | 1 | CODE | |
| LOW | python-src/batocera-common/batocera_common/fs.py | 1 | CODE | |
| LOW | python-src/scripts/generate-ecodes-stubs.py | 20 | CODE | |
| LOW | scripts/linux/convertChangelog.py | 5 | CODE | |
| LOW | …batocera/core/batocera-configgen/configgen/_version.py | 1 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 1 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/batoceraPaths.py | 12 | CODE | |
| LOW | …era/core/batocera-configgen/configgen/configgen/gun.py | 1 | CODE | |
| LOW | …core/batocera-configgen/configgen/configgen/Command.py | 1 | CODE | |
| LOW | …e/batocera-configgen/configgen/configgen/controller.py | 1 | CODE | |
| LOW | …/core/batocera-configgen/configgen/configgen/config.py | 1 | CODE | |
| LOW | …ore/batocera-configgen/configgen/configgen/Emulator.py | 1 | CODE | |
| LOW | …ore/batocera-configgen/configgen/configgen/__init__.py | 1 | CODE | |
| LOW | …a/core/batocera-configgen/configgen/configgen/types.py | 1 | CODE | |
| LOW | …era-configgen/configgen/configgen/controllersConfig.py | 1 | CODE | |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 4 | CODE | |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 24 | CODE | |
| LOW | …a/core/batocera-configgen/configgen/configgen/input.py | 1 | CODE | |
| LOW | …e/batocera-configgen/configgen/configgen/exceptions.py | 1 | CODE | |
| LOW | …ore/batocera-configgen/configgen/configgen/profiler.py | 1 | CODE | |
| LOW | …configgen/configgen/configgen/settings/unixSettings.py | 1 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 1 | CODE | |
| LOW | …atocera-configgen/configgen/configgen/utils/missing.py | 1 | CODE | |
| LOW | …tocera-configgen/configgen/configgen/utils/metadata.py | 1 | CODE | |
| LOW | …tocera-configgen/configgen/configgen/utils/squashfs.py | 1 | CODE | |
| LOW | …era-configgen/configgen/configgen/utils/gun_borders.py | 1 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/vulkan.py | 1 | CODE | |
| LOW | …tocera-configgen/configgen/configgen/utils/download.py | 1 | CODE | |
| LOW | …e/batocera-configgen/configgen/configgen/utils/wine.py | 1 | CODE | |
| LOW | …ocera-configgen/configgen/configgen/utils/overlayfs.py | 1 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/logger.py | 1 | CODE | |
| LOW | …configgen/configgen/configgen/utils/currentPlatform.py | 1 | CODE | |
| LOW | …cera-configgen/configgen/configgen/utils/esSettings.py | 1 | CODE | |
| LOW | …ocera-configgen/configgen/configgen/utils/buildargs.py | 1 | CODE | |
| LOW | …ocera-configgen/configgen/configgen/utils/hotkeygen.py | 1 | CODE | |
| LOW | …era-configgen/configgen/configgen/utils/wheelsUtils.py | 1 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/bezels.py | 1 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/bezels.py | 22 | CODE | |
| 175 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | board/batocera/qualcomm/sm8550/create-boot-script.sh | 34 | # Define the Kernel command line | COMMENT |
| MEDIUM | board/batocera/qualcomm/sm8250/create-boot-script.sh | 34 | # Define the Kernel command line | COMMENT |
| MEDIUM | …resolution/scripts/screenshot/batocera-flash-screen.py | 3 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …e/batocera-configgen/configgen/configgen/controller.py | 211 | # Create a controller array with the player id as a key | COMMENT |
| MEDIUM | …batocera-configgen/configgen/configgen/utils/bezels.py | 250 | # Create a new blank canvas that is the same size as the bezel for later compositing (they are required to be the sa | COMMENT |
| MEDIUM | …nfiggen/generators/sonic_mania/sonic_maniaGenerator.py | 46 | ## Create the Settings.ini file | COMMENT |
| MEDIUM | …n/configgen/generators/openmohaa/openmohaaGenerator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …n/configgen/generators/openmohaa/openmohaaGenerator.py | 71 | # Define the default options to add or modify | COMMENT |
| MEDIUM⚡ | …configgen/generators/catacombgl/catacombglGenerator.py | 44 | _CATACOMBGL_CONFIG_FILE.touch() # Create the file if it doesn't exist | CODE |
| MEDIUM⚡ | …configgen/generators/catacombgl/catacombglGenerator.py | 46 | # Define the paths to be added or adjusted in the ini file | COMMENT |
| MEDIUM | …configgen/configgen/generators/vice/viceControllers.py | 48 | # Create the controller configuration file | COMMENT |
| MEDIUM | …gen/configgen/generators/flycast/flycastControllers.py | 129 | # Create the controller configuration file | COMMENT |
| MEDIUM | …gen/configgen/generators/corsixth/corsixthGenerator.py | 55 | # Create the config file and fill it with basic data | COMMENT |
| MEDIUM | …iggen/configgen/generators/dolphin/dolphinGenerator.py | 146 | # Create a for loop going 1 through to 4 and iterate through it: | COMMENT |
| MEDIUM | …gen/configgen/generators/dolphin/dolphinControllers.py | 24 | # Create the controller configuration file | COMMENT |
| MEDIUM | …n/configgen/generators/openjkdf2/openjkdf2Generator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …iggen/configgen/generators/cgenius/cgeniusGenerator.py | 40 | # Define the directory and file name for the config file | COMMENT |
| MEDIUM | …iggen/configgen/generators/cgenius/cgeniusGenerator.py | 45 | # Create the config directory if it doesn't exist | COMMENT |
| MEDIUM | …nfiggen/generators/cannonball/cannonballControllers.py | 30 | # Create the controller configuration file | COMMENT |
| MEDIUM | …iggen/configgen/generators/yquake2/yquake2Generator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …iggen/configgen/generators/yquake2/yquake2Generator.py | 33 | # Define the default options to add | COMMENT |
| MEDIUM | …n/configgen/configgen/generators/raze/razeGenerator.py | 187 | "# This file is automatically generated by razeGenerator.py\n" | CODE |
| MEDIUM | …iggen/configgen/generators/openmsx/openmsxGenerator.py | 65 | # Create the bindings element | COMMENT |
| MEDIUM | …nfiggen/configgen/generators/fsuae/fsuaeControllers.py | 25 | # Create the controller configuration file | COMMENT |
| MEDIUM | …n/configgen/generators/libretro/libretroControllers.py | 110 | # Create a configuration for a given controller | COMMENT |
| MEDIUM | …figgen/configgen/generators/libretro/libretroConfig.py | 68 | # Define the libretro device type corresponding to the libretro CORE (when needed) | COMMENT |
| MEDIUM | …figgen/configgen/generators/libretro/libretroConfig.py | 72 | # Define the libretro device type corresponding to the libretro SYSTEM (when needed) | COMMENT |
| MEDIUM | …nfiggen/configgen/generators/openjk/openjkGenerator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …gen/configgen/generators/etlegacy/etlegacyGenerator.py | 39 | # Define the options to add or modify | COMMENT |
| MEDIUM | …n/configgen/generators/lindbergh/lindberghGenerator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …n/configgen/generators/lindbergh/lindberghGenerator.py | 1011 | # Create the downloaded.txt flag file so we don't download again | COMMENT |
| MEDIUM | …configgen/configgen/generators/rpcs3/rpcs3Generator.py | 776 | # Create the target patch file from data if absent, otherwise merge in only the keys | STRING |
| MEDIUM | …gen/configgen/configgen/generators/trx/trxGenerator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …iggen/configgen/generators/shadps4/shadps4Generator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …configgen/configgen/generators/mugen/mugenGenerator.py | 41 | # Define the settings we want to update | COMMENT |
| MEDIUM | …configgen/configgen/generators/mugen/mugenGenerator.py | 57 | # Define the key mappings for evmapy | COMMENT |
| MEDIUM | …configgen/configgen/generators/mugen/mugenGenerator.py | 101 | # Define the key mappings for evmapy | COMMENT |
| MEDIUM | …iggen/configgen/generators/ppsspp/ppssppControllers.py | 131 | # Create the controller configuration file | COMMENT |
| MEDIUM | …nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py | 113 | "# This file is automatically generated by gzdoomGenerator.py\n" | CODE |
| MEDIUM | …nfiggen/configgen/generators/bstone/bstoneGenerator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …nfiggen/configgen/generators/fba2x/fba2xControllers.py | 75 | # Create a configuration file for a given controller | COMMENT |
| MEDIUM | …n/configgen/configgen/generators/ymir/ymirGenerator.py | 2 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | …nfiggen/configgen/generators/iortcw/iortcwGenerator.py | 27 | # Define the options to add or modify | COMMENT |
| MEDIUM | …nfiggen/configgen/generators/vita3k/vita3kGenerator.py | 77 | # Create the config folders if they don't exist | COMMENT |
| MEDIUM | …n/configgen/configgen/generators/play/playGenerator.py | 62 | # Create a new preference element if it doesn't exist | COMMENT |
| MEDIUM | …configgen/configgen/generators/cemu/cemuControllers.py | 17 | # Create the controller configuration file | COMMENT |
| MEDIUM | …n/configgen/configgen/generators/cemu/cemuGenerator.py | 52 | # Create the settings file | COMMENT |
| MEDIUM | …/batocera/core/batocera-configgen/scripts/tdp_hooks.sh | 4 | # This file is part of the batocera distribution (https://batocera.org). | COMMENT |
| MEDIUM | package/batocera/utils/batocera-led-handheld/batoled.py | 721 | # Create a chasing color wheel using quadrant phase-shifting (Rainbow) | COMMENT |
| MEDIUM | package/batocera/utils/batocera-led-handheld/batoled.py | 1758 | # Create a chasing color wheel using quadrant phase-shifting (Rainbow) | COMMENT |
| MEDIUM⚡ | …kage/batocera/emulators/lindbergh-loader/lindbergh.ini | 85 | # Define the path to pass the JVS packets to if JVS is not being emulated | COMMENT |
| MEDIUM⚡ | …kage/batocera/emulators/lindbergh-loader/lindbergh.ini | 88 | # Define the path to pass the first serial port to | COMMENT |
| MEDIUM⚡ | …kage/batocera/emulators/lindbergh-loader/lindbergh.ini | 91 | # Define the path to pass the second serial port to | COMMENT |
| MEDIUM⚡ | …kage/batocera/emulators/lindbergh-loader/lindbergh.ini | 94 | # Define the path to the sram.bin file | COMMENT |
| MEDIUM⚡ | …kage/batocera/emulators/lindbergh-loader/lindbergh.ini | 97 | # Define the path to the eeprom.bin file | COMMENT |
| MEDIUM | …ge/batocera/emulators/vpinball/batocera-vpx-scraper.py | 592 | # Create a backup of existing file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 402 | CODE | |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 651 | CODE | |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 666 | CODE | |
| LOW | …/batocera-es-system/batocera_es_system/translations.py | 72 | CODE | |
| LOW | …atocera-es-system/batocera_es_system/systems_report.py | 88 | CODE | |
| LOW | python-src/scripts/generate-ecodes-stubs.py | 78 | CODE | |
| LOW | scripts/linux/convertChangelog.py | 101 | CODE | |
| LOW | …era/core/batocera-configgen/configgen/configgen/gun.py | 138 | CODE | |
| LOW | …era-configgen/configgen/configgen/controllersConfig.py | 31 | CODE | |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 69 | CODE | |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 429 | CODE | |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 503 | CODE | |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 628 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 119 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 233 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 522 | CODE | |
| LOW | …tocera-configgen/configgen/configgen/utils/metadata.py | 32 | CODE | |
| LOW | …era-configgen/configgen/configgen/utils/wheelsUtils.py | 112 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/bezels.py | 40 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/bezels.py | 408 | CODE | |
| LOW | …batocera-configgen/configgen/configgen/utils/bezels.py | 503 | CODE | |
| LOW | …ocera-configgen/configgen/configgen/utils/videoMode.py | 25 | CODE | |
| LOW | …nfiggen/generators/duckstation/duckstationGenerator.py | 41 | CODE | |
| LOW | …nfiggen/configgen/generators/hatari/hatariGenerator.py | 33 | CODE | |
| LOW | …nfiggen/configgen/generators/hatari/hatariGenerator.py | 159 | CODE | |
| LOW | …n/configgen/generators/openmohaa/openmohaaGenerator.py | 42 | CODE | |
| LOW | …n/configgen/generators/model2emu/model2emuGenerator.py | 225 | CODE | |
| LOW | …n/configgen/generators/model2emu/model2emuGenerator.py | 35 | CODE | |
| LOW | …iggen/configgen/generators/drastic/drasticGenerator.py | 34 | CODE | |
| LOW | …nfiggen/generators/dxx_rebirth/dxx_rebirthGenerator.py | 23 | CODE | |
| LOW | …configgen/configgen/generators/vice/viceControllers.py | 49 | CODE | |
| LOW | …gen/configgen/generators/flycast/flycastControllers.py | 130 | CODE | |
| LOW | …configgen/configgen/generators/mame/mameControllers.py | 25 | CODE | |
| LOW | …configgen/configgen/generators/mame/mameControllers.py | 501 | CODE | |
| LOW | …ggen/configgen/configgen/generators/mame/mameCommon.py | 18 | CODE | |
| LOW | …n/configgen/configgen/generators/mame/mameGenerator.py | 824 | CODE | |
| LOW | …n/configgen/configgen/generators/mame/mameGenerator.py | 61 | CODE | |
| LOW | …n/configgen/configgen/generators/mame/mameGenerator.py | 642 | CODE | |
| LOW | …nfiggen/configgen/generators/dolphin/dolphinSYSCONF.py | 55 | CODE | |
| LOW | …gen/configgen/generators/dolphin/dolphinControllers.py | 25 | CODE | |
| LOW | …gen/configgen/generators/dolphin/dolphinControllers.py | 349 | CODE | |
| LOW | …gen/configgen/generators/dolphin/dolphinControllers.py | 517 | CODE | |
| LOW | …gen/configgen/generators/dolphin/dolphinControllers.py | 579 | CODE | |
| LOW | …gen/configgen/generators/dolphin/dolphinControllers.py | 658 | CODE | |
| LOW | …gen/configgen/generators/dolphin/dolphinControllers.py | 688 | CODE | |
| LOW | …n/configgen/generators/openjkdf2/openjkdf2Generator.py | 165 | CODE | |
| LOW | …n/configgen/generators/openjkdf2/openjkdf2Generator.py | 240 | CODE | |
| LOW | …n/configgen/generators/openjkdf2/openjkdf2Generator.py | 263 | CODE | |
| LOW | …n/configgen/generators/openjkdf2/openjkdf2Generator.py | 337 | CODE | |
| LOW | …iggen/configgen/generators/cgenius/cgeniusGenerator.py | 25 | CODE | |
| LOW | …nfiggen/configgen/generators/mupen/mupenControllers.py | 42 | CODE | |
| LOW | …nfiggen/configgen/generators/mupen/mupenControllers.py | 96 | CODE | |
| LOW | …nfiggen/configgen/generators/mupen/mupenControllers.py | 151 | CODE | |
| LOW | …nfiggen/generators/cannonball/cannonballControllers.py | 31 | CODE | |
| LOW | …iggen/configgen/generators/openbor/openborGenerator.py | 30 | CODE | |
| LOW | …iggen/configgen/generators/openbor/openborGenerator.py | 84 | CODE | |
| LOW | …gen/configgen/generators/openbor/openborControllers.py | 17 | CODE | |
| LOW | …gen/configgen/generators/openjazz/openjazzGenerator.py | 292 | CODE | |
| LOW | …ggen/configgen/configgen/generators/kodi/kodiConfig.py | 17 | CODE | |
| LOW | …n/configgen/configgen/generators/wine/wineGenerator.py | 25 | CODE | |
| 118 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …en2/fsoverlay/lib/firmware/brcm/brcmfmac43456-sdio.txt | 18 | #----------------------------------------- | COMMENT |
| MEDIUM | …588/fsoverlay/lib/firmware/brcm/brcmfmac43456-sdio.txt | 18 | #----------------------------------------- | COMMENT |
| MEDIUM | …ine/fsoverlay/lib/firmware/brcm/brcmfmac43456-sdio.txt | 18 | #----------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 1 | #======================================================================================================================= | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 3 | #======================================================================================================================= | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 4 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 6 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 42 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 44 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 47 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 49 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 52 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 54 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 57 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 59 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 86 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 88 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 103 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 105 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 123 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 125 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 140 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 142 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 154 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 1 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 3 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 4 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 6 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 22 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 24 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 41 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 43 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 966 | #----------------------------------------- | COMMENT |
| MEDIUM | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 968 | #----------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rc/batocera-es-system/batocera_es_system/es_systems.py | 39 | def _inner_emulators_data_to_xml() -> Iterator[str]: | CODE |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 100 | def _get_translatable_strings(self) -> Iterator[str]: | CODE |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 161 | def _get_translatable_strings(self) -> Iterator[str]: | CODE |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 187 | def _dict_to_custom_features_iter( | CODE |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 249 | def _get_translatable_strings(self) -> Iterator[str]: | CODE |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 346 | def _system_info_list_to_dict( | CODE |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 389 | def _get_translatable_strings(self) -> Iterator[str]: | CODE |
| LOW | …-src/batocera-es-system/batocera_es_system/registry.py | 666 | def _iter_system_emulator_cores(self) -> Iterator[tuple[SystemInfo, str, EmulatorInfo, str]]: | CODE |
| LOW | …/batocera-es-system/batocera_es_system/translations.py | 39 | def _iterate_translation_strings(translation_strings: Mapping[str, Iterable[str]], /) -> Iterator[tuple[str, str]]: | CODE |
| LOW | …/batocera-es-system/batocera_es_system/translations.py | 72 | def _write_es_keys_translations(parent_dir: Path, output_file: Path, /) -> None: | CODE |
| LOW | …atocera-es-system/batocera_es_system/systems_report.py | 88 | def _generate_target_system_report( | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_configparser.py | 10 | def test_preserves_option_case_on_set_and_get(self) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_configparser.py | 18 | def test_preserves_option_case_when_reading_string(self) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_configparser.py | 25 | def test_distinct_keys_with_different_case(self) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_configparser.py | 38 | def test_preserves_option_case_on_set_and_get(self) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_configparser.py | 46 | def test_preserves_option_case_when_reading_string(self) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_configparser.py | 53 | def test_supports_interpolation_with_case_sensitive_keys(self) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 17 | def test_identical_directories_are_falsy(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 25 | def test_empty_directories_are_falsy(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 33 | def test_differing_directories_are_truthy(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 41 | def test_left_only_file_is_truthy(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 51 | def test_identical_directories_report(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 59 | def test_empty_directories_report(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 67 | def test_reports_file_missing_in_right(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 77 | def test_reports_file_extra_in_right(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 87 | def test_reports_different_file(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 97 | def test_reports_same_size_different_content(self, tmp_path: Path) -> None: | CODE |
| LOW | python-src/batocera-common/tests/test_fs.py | 108 | def test_reports_all_categories_together(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 122 | def test_reports_nested_differences_with_relative_paths(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 132 | def test_reports_subdirectory_only_in_left(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 142 | def test_report_can_be_called_multiple_times(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_fs.py | 152 | def test_report_is_unaffected_by_prior_bool_check(self, tmp_path: Path) -> None: | CODE |
| LOW | python-src/batocera-common/tests/test_yaml.py | 16 | def test_loads_simple_mapping(self, tmp_path: Path) -> None: | CODE |
| LOW | python-src/batocera-common/tests/test_yaml.py | 32 | def test_loads_nested_structure(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_yaml.py | 48 | def test_empty_file_returns_none(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_yaml.py | 56 | def test_raises_on_missing_file(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_yaml.py | 62 | def test_uses_safe_pure_loader(self, tmp_path: Path, mocker: MockerFixture) -> None: | CODE |
| LOW | python-src/batocera-common/tests/test_yaml.py | 102 | def test_dump_uses_safe_pure_yaml_and_forwards_data(self, tmp_path: Path, mocker: MockerFixture) -> None: | CODE |
| LOW | python-src/batocera-common/tests/test_yaml.py | 113 | def test_dump_with_none_options_leaves_yaml_attributes_untouched( | CODE |
| LOW | python-src/batocera-common/tests/test_yaml.py | 144 | def test_dump_forwards_all_options_to_yaml(self, tmp_path: Path, mocker: MockerFixture) -> None: | CODE |
| LOW | python-src/batocera-common/tests/test_yaml.py | 168 | def test_dump_uses_default_options_when_unspecified(self, tmp_path: Path, mocker: MockerFixture) -> None: | CODE |
| LOW | python-src/batocera-common/tests/test_yaml.py | 182 | def test_loads_simple_mapping(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_yaml.py | 198 | def test_loads_nested_structure(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_yaml.py | 206 | def test_empty_file_returns_none(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_yaml.py | 214 | def test_raises_on_missing_file(self, tmp_path: Path) -> None: | CODE |
| LOW⚡ | python-src/batocera-common/tests/test_yaml.py | 220 | def test_delegates_to_pyyaml_safe_load(self, tmp_path: Path, mocker: MockerFixture) -> None: | CODE |
| LOW | scripts/linux/refresh_resolver.py | 173 | def get_git_modified_packages(project_dir: Path, days: int, all_mk_files: Mapping[str, Path], /) -> set[str]: | CODE |
| LOW⚡ | …resolution/scripts/screenshot/batocera-flash-screen.py | 75 | def build_text_popup_top_center(text: str, text_color: str, font_pt: int) -> Gtk.Window: | CODE |
| LOW | …e/batocera-configgen/configgen/configgen/controller.py | 43 | def _key_to_sdl_game_controller_config(keyname: str, input: Input, /) -> str | None: | CODE |
| LOW | …e/batocera-configgen/configgen/configgen/controller.py | 140 | def generate_sdl_game_db_line(self, sdl_mapping: Mapping[str, str] = _DEFAULT_SDL_MAPPING, /, ignore_buttons: list[s | CODE |
| LOW | …e/batocera-configgen/configgen/configgen/controller.py | 177 | def get_mapping_axis_relaxed_values(self) -> dict[str, _RelaxedDict]: | CODE |
| LOW | …e/batocera-configgen/configgen/configgen/controller.py | 262 | def generate_sdl_game_controller_config(controllers: Controllers, /, ignore_buttons: list[str] | None = None) -> str: | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 469 | def _reconfigure_evmapy_on_the_fly(): | CODE |
| LOW | …cera-configgen/configgen/configgen/emulatorlauncher.py | 503 | def _controller_monitor_thread(): | CODE |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 73 | def _keys_action_to_evmapy_action(keys_action: _KeysAction, /) -> _EvmapyAction: | CODE |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 77 | def _keys_mouse_action_to_evmapy_action( | CODE |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 233 | def __write_controller_config(self, controller: Controller, keys_actions: _KeysActions, keys_file: Path, /) -> None: | CODE |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 412 | def __get_mapping_for_triggers( | CODE |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 505 | def __trigger_mapper_mode_string(self, trigger: str, /) -> Literal['any'] | None: | CODE |
| LOW | …batocera-configgen/configgen/configgen/utils/evmapy.py | 536 | def __get_pad_min_max_axis_for_keys(self, min: float, max: float, /) -> tuple[float, float]: | CODE |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | board/batocera/dropbear_localoptions.h | 1 | #define DEFAULT_RECV_WINDOW 204800 | COMMENT |
| LOW | board/batocera/amlogic/s905gen3/tvbox-gen3/genimage.cfg | 1 | image boot.vfat { | COMMENT |
| LOW | board/batocera/fsoverlay/etc/profile.d/40-prompt.sh | 1 | #Trim path 30chars | COMMENT |
| LOW | …0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg | 1 | seq_start; | COMMENT |
| LOW | …0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg | 161 | //probe_andinv:0x0; | COMMENT |
| LOW | …0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg | 181 | //filter1_status:0x3; | COMMENT |
| LOW | …0/fsoverlay/lib/firmware/ath12k/WCN7860/hw2.0/qdss.cfg | 201 | //seq_end; | COMMENT |
| LOW | board/batocera/broadcom/bcm2836/boot/config.txt | 21 | # at 0, it causes flickering on hdmi output | COMMENT |
| LOW | board/batocera/broadcom/bcm2836/boot/config.txt | 41 | # 2 use DMT (Display Monitor Timings, the standard typically used by monitors). | COMMENT |
| LOW | board/batocera/broadcom/bcm2836/boot/config.txt | 61 | # it is not possible to output 4Kp60 on both micro HDMI ports simultaneously. | COMMENT |
| LOW | board/batocera/broadcom/bcm2836/boot/config.txt | 81 | # 0 Normal NTSC (default) | COMMENT |
| LOW | board/batocera/broadcom/bcm2836/boot/config.txt | 101 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2837/boot/config.txt | 21 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2837/boot/config.txt | 41 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2837/boot/config.txt | 61 | # meaning they will not appear in any enumerated lists of modes. | COMMENT |
| LOW | board/batocera/broadcom/bcm2837/boot/config.txt | 81 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2837/boot/config.txt | 101 | # uncomment if you have slow sound issues on composite output | COMMENT |
| LOW | board/batocera/broadcom/bcm2837/boot/config.txt | 121 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2711/genimage.cfg | 1 | image boot.vfat { | COMMENT |
| LOW | board/batocera/broadcom/bcm2711/boot/config.txt | 21 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2711/boot/config.txt | 41 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2711/boot/config.txt | 61 | # meaning they will not appear in any enumerated lists of modes. | COMMENT |
| LOW | board/batocera/broadcom/bcm2711/boot/config.txt | 81 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2711/boot/config.txt | 101 | # uncomment if you have slow sound issues on composite output | COMMENT |
| LOW | board/batocera/broadcom/bcm2711/boot/config.txt | 121 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2835/boot/config.txt | 1 | # For more options and information see | COMMENT |
| LOW | board/batocera/broadcom/bcm2835/boot/config.txt | 21 | # goes off screen, and negative if there is too much border | COMMENT |
| LOW | board/batocera/broadcom/bcm2835/boot/config.txt | 41 | #hdmi_drive=2 | COMMENT |
| LOW | board/batocera/broadcom/bcm2835/boot/config.txt | 61 | COMMENT | |
| LOW | board/batocera/broadcom/bcm2712/genimage.cfg | 1 | image boot.vfat { | COMMENT |
| LOW | board/batocera/rockchip/rk3128/ps5000/genimage.cfg | 1 | image boot.vfat { | COMMENT |
| LOW | board/batocera/rockchip/rk3128/ps7000/genimage.cfg | 1 | image boot.vfat { | COMMENT |
| LOW | …ard/batocera/rockchip/rk3128/powkiddy_a13/genimage.cfg | 1 | image boot.vfat { | COMMENT |
| LOW | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 1 | #======================================================================================================================= | COMMENT |
| LOW | …p/rk3399/fsoverlay/lib/firmware/bt_configure_pskey.ini | 41 | common_rfu_w = 0x00000000, 0x00000000 | COMMENT |
| LOW | …chip/rk3399/fsoverlay/lib/firmware/bt_configure_rf.ini | 1 | #----------------------------------------------------------------------------------------------------------------------- | COMMENT |
| LOW | …kage/batocera/core/batocera-drminfo/batocera-drminfo.c | 21 | #include <errno.h> | COMMENT |
| LOW | …a/core/batocera-drminfo/batocera-drminfo-no-1360x768.c | 21 | #include <errno.h> | COMMENT |
| LOW | …t/datainit/system/scripts/template-game-start-stop.txt | 1 | #!/bin/bash | COMMENT |
| LOW | …resolution/scripts/screenshot/batocera-flash-screen.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | …batocera-configgen/configgen/configgen/utils/bezels.py | 41 | # by order choose : | COMMENT |
| LOW | …batocera-configgen/configgen/configgen/utils/bezels.py | 301 | return 1, 0 | COMMENT |
| LOW | …n/configgen/generators/openmohaa/openmohaaGenerator.py | 1 | # | COMMENT |
| LOW | …n/configgen/generators/openjkdf2/openjkdf2Generator.py | 1 | # | COMMENT |
| LOW | …gen/configgen/generators/openjazz/openjazzGenerator.py | 301 | # 'x': 'swim up', | COMMENT |
| LOW | …iggen/configgen/generators/yquake2/yquake2Generator.py | 1 | # | COMMENT |
| LOW | …nfiggen/configgen/generators/openjk/openjkGenerator.py | 1 | # | COMMENT |
| LOW | …n/configgen/generators/lindbergh/lindberghGenerator.py | 1 | # | COMMENT |
| LOW | …configgen/configgen/generators/rpcs3/rpcs3Generator.py | 461 | # -= [Core] =- | COMMENT |
| LOW | …gen/configgen/configgen/generators/trx/trxGenerator.py | 1 | # | COMMENT |
| LOW | …iggen/configgen/generators/shadps4/shadps4Generator.py | 1 | # | COMMENT |
| LOW | …iggen/configgen/generators/ppsspp/ppssppControllers.py | 21 | COMMENT | |
| LOW | …nfiggen/configgen/generators/bstone/bstoneGenerator.py | 1 | # | COMMENT |
| LOW | …configgen/configgen/generators/xash3d_fwgs/gamepad.cfg | 1 | // Default gamepad bindings | COMMENT |
| LOW | …n/configgen/configgen/generators/ymir/ymirGenerator.py | 1 | # | COMMENT |
| LOW | …/batocera/core/batocera-configgen/scripts/tdp_hooks.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ckage/batocera/utils/sdl2-touch-test/sdl2-touch-test.c | 21 | #include <fcntl.h> | COMMENT |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1221 | # 0. Off | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 1 | #!/bin/bash | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 21 | #v1.9 - add POWERHAT for Rpi4 OneNineDesign case variants - @dmanlfc | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/linux/refresh_resolver.py | 148 | # Verify if the modified file path sits within this package directory | COMMENT |
| LOW | …n/configgen/generators/openmohaa/openmohaaGenerator.py | 212 | # Check if the omconfig.cfg file exists | COMMENT |
| LOW | …gen/configgen/generators/fallout1/fallout1Generator.py | 37 | # Check if the directories exist, if not create them | COMMENT |
| LOW⚡ | …configgen/generators/catacombgl/catacombglGenerator.py | 41 | # Check if the ini file exists, and if not, create and adjust it | COMMENT |
| LOW | …nfiggen/generators/dxx_rebirth/dxx_rebirthGenerator.py | 37 | # Check if the file exists | COMMENT |
| LOW | …n/generators/theforceengine/theforceengineGenerator.py | 31 | # Check if the directories exist, if not create them | COMMENT |
| LOW | …n/configgen/configgen/generators/mame/mameGenerator.py | 575 | # Check if the media being used is a floppy type | COMMENT |
| LOW | …iggen/configgen/generators/dolphin/dolphinGenerator.py | 94 | # Display message in game (Memory card save and many more...) | COMMENT |
| LOW | …iggen/configgen/generators/dolphin/dolphinGenerator.py | 150 | # Set value to 6 if it is 6a or 6b. This is to differentiate between Standard Controller and GameCube Co | COMMENT |
| LOW | …n/configgen/generators/openjkdf2/openjkdf2Generator.py | 463 | # Check if the binary exists in the destination and if it is outdated | COMMENT |
| LOW | …en/configgen/configgen/generators/mupen/mupenConfig.py | 89 | # Set fullscreen to True on Wayland, False otherwise (due to issues on Xorg/DRM) | COMMENT |
| LOW | …nfiggen/generators/cannonball/cannonballControllers.py | 42 | # Check if this control is in pad.inputs to maintain cannonballJoystick order | COMMENT |
| LOW | …gen/configgen/generators/fallout2/fallout2Generator.py | 37 | # Check if the directories exist, if not create them | COMMENT |
| LOW | …figgen/configgen/generators/libretro/libretroConfig.py | 563 | # Check if game natively supports widescreen from metadata (not widescreen hack) (for easy scalability ensure al | COMMENT |
| LOW | …figgen/configgen/generators/libretro/libretroConfig.py | 574 | # Check if the ratio string contains a '/' to see if it's numerical | COMMENT |
| LOW | …nfiggen/configgen/generators/openjk/openjkGenerator.py | 175 | # Check if the config file exists | COMMENT |
| LOW | …nfiggen/configgen/generators/openjk/openjkGenerator.py | 204 | # Check if the binary exists in the destination and if it is outdated | COMMENT |
| LOW | …gen/configgen/generators/etlegacy/etlegacyGenerator.py | 65 | # Check if the file exists | COMMENT |
| LOW | …n/configgen/generators/lindbergh/lindberghGenerator.py | 157 | # Check if file is executable | COMMENT |
| LOW | …iggen/configgen/generators/shadps4/shadps4Generator.py | 82 | # Check if the file exists | COMMENT |
| LOW | …/configgen/configgen/generators/ppsspp/ppssppConfig.py | 52 | # Check if we have a discrete GPU & if so, set the Name | COMMENT |
| LOW | …nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py | 62 | # Check if the key already exists | COMMENT |
| LOW | …n/configgen/configgen/generators/ymir/ymirGenerator.py | 156 | # Check if the file exists | COMMENT |
| LOW | …nfiggen/configgen/generators/iortcw/iortcwGenerator.py | 79 | # Check if the file exists | COMMENT |
| LOW | …n/configgen/configgen/generators/play/playGenerator.py | 53 | # Check if the configuration file exists | COMMENT |
| LOW | …n/configgen/configgen/generators/cemu/cemuGenerator.py | 146 | # Check if we have a discrete GPU & if so, set the UUID | COMMENT |
| LOW | …n/configgen/configgen/generators/cemu/cemuGenerator.py | 226 | # Set volume to the max | COMMENT |
| LOW | …iggen/configgen/generators/melonds/melondsGenerator.py | 167 | # Check if dual screen mode is enabled | COMMENT |
| LOW | …/batocera/core/batocera-configgen/scripts/tdp_hooks.sh | 54 | # Check if TDP is defined and non-empty | COMMENT |
| LOW | …/batocera/core/batocera-configgen/scripts/tdp_hooks.sh | 103 | # Check if we actually changed anything on game start | COMMENT |
| LOW | …e/batocera-configgen/scripts/powermode_launch_hooks.sh | 30 | # Check if power connected | COMMENT |
| LOW | …a/utils/batocera-led-handheld/batocera-led-handheld.py | 161 | # Check if this is a software-driven effect that requires continuous looping | COMMENT |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 34 | # Check if user selected another mode | COMMENT |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 37 | # Check if color changes are locked/blocked | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 179 | #Check if dtooverlay is setted in /boot/config | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 225 | #Check if dtooverlay is setted in /boot/config.txt | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 360 | #Check if dtoverlay is setted in /boot/config -- Do this arch related! | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 502 | # Check if the kernel module is loaded | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 789 | # Check if /boot is writable, if not make it writable | COMMENT |
| LOW | package/batocera/utils/rpigpioswitch/rpi_gpioswitch.sh | 881 | # Check if /boot is writable, if not make it writable | COMMENT |
| LOW | …ge/batocera/emulators/vpinball/batocera-vpx-scraper.py | 201 | if value: # Check if value is not None, empty string, or empty list | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …n/configgen/configgen/generators/mame/mameGenerator.py | 520 | # if still undefined, default autoRunCmd based on media type | COMMENT |
| HIGH | …n/configgen/configgen/generators/mame/mameGenerator.py | 558 | # if still undefined, default autoRunCmd based on media type | COMMENT |
| HIGH | …en/configgen/generators/libretro/libretroMAMEConfig.py | 351 | # if still undefined, default autoRunCmd based on media type | COMMENT |
| HIGH⚡ | package/batocera/utils/piboy/piboy_power_ctrl.py | 22 | os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmod | CODE |
| HIGH⚡ | package/batocera/utils/piboy/piboy_power_ctrl.py | 24 | os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmod | CODE |
| HIGH⚡ | package/batocera/utils/piboy/piboy_power_ctrl.py | 32 | 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.py | 34 | os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmod | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tocera-configgen/configgen/configgen/utils/metadata.py | 50 | def _update_metadata_from_element(md: dict[str, str], element: ET.Element, /, extra_log_text: str = '') -> None: | CODE |
| LOW | …iggen/configgen/generators/libretro/libretroOptions.py | 24 | def _set_from_system(settings: UnixSettings, settings_name: str, system: Emulator, option_name: str | None = None, *, de | CODE |
| LOW | …iggen/configgen/generators/libretro/libretroOptions.py | 28 | def _set_from_system_bool(settings: UnixSettings, settings_name: str, system: Emulator, option_name: str | None = None, | CODE |
| LOW | …nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py | 49 | def set_value(self, section: str, key: str, value: str) -> None: | CODE |
| LOW | …nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py | 60 | def set_value_if_missing(self, section: str, key: str, value: str) -> None: | CODE |
| LOW | …nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py | 121 | def _update_ini_file(self, system, rom: Path, playersControllers) -> None: | CODE |
| LOW | …nfiggen/configgen/generators/bstone/bstoneGenerator.py | 31 | def _update_or_create_config(gameResolution: Resolution, config: SystemConfig, /) -> None: | CODE |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1213 | def set_mode(self, mode: int) -> None: | CODE |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1218 | def set_color(self, rgb: str) -> None: | CODE |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1278 | def set_color_dec(self, rgb: str) -> None: | CODE |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1314 | def set_brightness (self, b: int) -> None: | CODE |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1317 | def set_brightness_conf (self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ggen/configgen/configgen/generators/mame/mameCommon.py | 11 | # The comprehensive list of known floppy disk extensions for the Atom system | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …iggen/configgen/generators/libretro/libretroOptions.py | 426 | # If you want to change them, you can add | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1898 | CODE | |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1908 | CODE | |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1561 | CODE | |
| LOW | package/batocera/utils/batocera-led-handheld/batoled.py | 1596 | CODE |