Repository Analysis

batocera-linux/batocera.linux

batocera.linux

10.7 Low AI signal View on GitHub

Analysis Overview

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).

10.7
Adjusted Score
10.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.1K
Stars
Python
Language
120.6K
Lines of Code
1.2K
Files
964
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 7MEDIUM 157LOW 800

Directory Score Breakdown

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.

Pattern Findings

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.

Excessive Try-Catch Wrapping250 hits · 304 pts
SeverityFileLineSnippetContext
LOWscripts/linux/refresh_resolver.py75 except Exception:CODE
LOWscripts/linux/refresh_resolver.py232 except Exception:CODE
LOWscripts/linux/refresh_resolver.py246 except Exception:CODE
LOWscripts/linux/refresh_resolver.py251 except Exception as e:CODE
MEDIUMscripts/linux/refresh_resolver.py252 print(f'Error removing {path}: {e}', file=sys.stderr)CODE
LOW…resolution/scripts/screenshot/batocera-flash-screen.py34 except Exception:CODE
LOW…resolution/scripts/screenshot/batocera-flash-screen.py55 except Exception: passCODE
LOW…resolution/scripts/screenshot/batocera-flash-screen.py64 except Exception: mon = NoneCODE
LOW…resolution/scripts/screenshot/batocera-flash-screen.py67 except Exception: mon = NoneCODE
LOW…resolution/scripts/screenshot/batocera-flash-screen.py130 except Exception: passSTRING
LOW…resolution/scripts/screenshot/batocera-flash-screen.py139 except Exception: returnSTRING
LOW…resolution/scripts/screenshot/batocera-flash-screen.py148 except Exception:STRING
LOW…resolution/scripts/screenshot/batocera-flash-screen.py160 except Exception: font_pt = 36STRING
LOW…resolution/scripts/screenshot/batocera-flash-screen.py193 except Exception: passSTRING
MEDIUM…resolution/scripts/screenshot/batocera-flash-screen.py30def gtk_init_check():CODE
LOW…ore/batocera-configgen/configgen/configgen/Emulator.py45 except Exception:CODE
LOW…ore/batocera-configgen/configgen/configgen/Emulator.py113 except Exception:CODE
LOW…ore/batocera-configgen/configgen/configgen/Emulator.py175 except Exception:CODE
LOW…ore/batocera-configgen/configgen/configgen/Emulator.py265 except Exception:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py158 except Exception as e:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py215 except Exception as e:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py234 except Exception as e:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py251 except Exception:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py257 except Exception:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py302 except Exception:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py385 except Exception as e:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py524 except Exception as e:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py554 except Exception as e:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py680 except Exception:CODE
LOW…configgen/configgen/configgen/settings/unixSettings.py55 except Exception:CODE
LOW…batocera-configgen/configgen/configgen/utils/logger.py135 except Exception:CODE
LOW…configgen/configgen/configgen/utils/currentPlatform.py17 except Exception:CODE
LOW…configgen/configgen/configgen/utils/currentPlatform.py23 except Exception:CODE
MEDIUM…configgen/configgen/configgen/utils/currentPlatform.py9def get_cpu_speed() -> int:CODE
MEDIUM…configgen/configgen/configgen/utils/currentPlatform.py20def is_pc() -> bool:CODE
LOW…cera-configgen/configgen/configgen/utils/esSettings.py18 except Exception:CODE
MEDIUM…cera-configgen/configgen/configgen/utils/esSettings.py9def getInvertButtonsValue() -> bool:CODE
LOW…era-configgen/configgen/configgen/utils/wheelsUtils.py277 except Exception:CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py209 except Exception:CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py214 except Exception:CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py220 except Exception:CODE
LOW…ocera-configgen/configgen/configgen/utils/videoMode.py93 except Exception:CODE
LOW…ocera-configgen/configgen/configgen/utils/videoMode.py116 except Exception:CODE
LOW…ocera-configgen/configgen/configgen/utils/videoMode.py191 except Exception:CODE
LOW…ocera-configgen/configgen/configgen/utils/videoMode.py204 except Exception:CODE
MEDIUM…ocera-configgen/configgen/configgen/utils/videoMode.py178def getGLVersion() -> float:CODE
MEDIUM…ocera-configgen/configgen/configgen/utils/videoMode.py194def getGLVendor() -> str:CODE
LOW…ggen/configgen/configgen/generators/xemu/xemuConfig.py27 except Exception:CODE
LOW…iggen/configgen/generators/drastic/drasticGenerator.py128 except Exception:CODE
LOW…iggen/configgen/generators/flycast/flycastGenerator.py41 except Exception:CODE
LOW…configgen/configgen/generators/mame/mameControllers.py32 except Exception:CODE
LOW…configgen/configgen/generators/mame/mameControllers.py170 except Exception:CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py615 except Exception:CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py743 except Exception:CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py748 except Exception:CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py754 except Exception:CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py783 except Exception:CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py795 except Exception:CODE
LOW…gen/configgen/generators/corsixth/corsixthGenerator.py48 except Exception:CODE
LOW…gen/configgen/generators/corsixth/corsixthGenerator.py116 except Exception:CODE
190 more matches not shown…
Unused Imports235 hits · 235 pts
SeverityFileLineSnippetContext
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
LOWpython-src/batocera-common/tests/test_configparser.py1CODE
LOWpython-src/batocera-common/tests/test_fs.py1CODE
LOWpython-src/batocera-common/tests/test_yaml.py1CODE
LOWpython-src/batocera-common/batocera_common/paths.py1CODE
LOWpython-src/batocera-common/batocera_common/yaml.py1CODE
LOW…on-src/batocera-common/batocera_common/configparser.py1CODE
LOWpython-src/batocera-common/batocera_common/fs.py1CODE
LOWpython-src/scripts/generate-ecodes-stubs.py20CODE
LOWscripts/linux/convertChangelog.py5CODE
LOW…batocera/core/batocera-configgen/configgen/_version.py1CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py1CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…atocera-configgen/configgen/configgen/batoceraPaths.py12CODE
LOW…era/core/batocera-configgen/configgen/configgen/gun.py1CODE
LOW…core/batocera-configgen/configgen/configgen/Command.py1CODE
LOW…e/batocera-configgen/configgen/configgen/controller.py1CODE
LOW…/core/batocera-configgen/configgen/configgen/config.py1CODE
LOW…ore/batocera-configgen/configgen/configgen/Emulator.py1CODE
LOW…ore/batocera-configgen/configgen/configgen/__init__.py1CODE
LOW…a/core/batocera-configgen/configgen/configgen/types.py1CODE
LOW…era-configgen/configgen/configgen/controllersConfig.py1CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py4CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py24CODE
LOW…a/core/batocera-configgen/configgen/configgen/input.py1CODE
LOW…e/batocera-configgen/configgen/configgen/exceptions.py1CODE
LOW…ore/batocera-configgen/configgen/configgen/profiler.py1CODE
LOW…configgen/configgen/configgen/settings/unixSettings.py1CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py1CODE
LOW…atocera-configgen/configgen/configgen/utils/missing.py1CODE
LOW…tocera-configgen/configgen/configgen/utils/metadata.py1CODE
LOW…tocera-configgen/configgen/configgen/utils/squashfs.py1CODE
LOW…era-configgen/configgen/configgen/utils/gun_borders.py1CODE
LOW…batocera-configgen/configgen/configgen/utils/vulkan.py1CODE
LOW…tocera-configgen/configgen/configgen/utils/download.py1CODE
LOW…e/batocera-configgen/configgen/configgen/utils/wine.py1CODE
LOW…ocera-configgen/configgen/configgen/utils/overlayfs.py1CODE
LOW…batocera-configgen/configgen/configgen/utils/logger.py1CODE
LOW…configgen/configgen/configgen/utils/currentPlatform.py1CODE
LOW…cera-configgen/configgen/configgen/utils/esSettings.py1CODE
LOW…ocera-configgen/configgen/configgen/utils/buildargs.py1CODE
LOW…ocera-configgen/configgen/configgen/utils/hotkeygen.py1CODE
LOW…era-configgen/configgen/configgen/utils/wheelsUtils.py1CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py1CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py22CODE
175 more matches not shown…
Self-Referential Comments56 hits · 173 pts
SeverityFileLineSnippetContext
MEDIUMboard/batocera/qualcomm/sm8550/create-boot-script.sh34# Define the Kernel command lineCOMMENT
MEDIUMboard/batocera/qualcomm/sm8250/create-boot-script.sh34# Define the Kernel command lineCOMMENT
MEDIUM…resolution/scripts/screenshot/batocera-flash-screen.py3# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…e/batocera-configgen/configgen/configgen/controller.py211 # Create a controller array with the player id as a keyCOMMENT
MEDIUM…batocera-configgen/configgen/configgen/utils/bezels.py250 # Create a new blank canvas that is the same size as the bezel for later compositing (they are required to be the saCOMMENT
MEDIUM…nfiggen/generators/sonic_mania/sonic_maniaGenerator.py46 ## Create the Settings.ini fileCOMMENT
MEDIUM…n/configgen/generators/openmohaa/openmohaaGenerator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…n/configgen/generators/openmohaa/openmohaaGenerator.py71 # Define the default options to add or modifyCOMMENT
MEDIUM…configgen/generators/catacombgl/catacombglGenerator.py44 _CATACOMBGL_CONFIG_FILE.touch() # Create the file if it doesn't existCODE
MEDIUM…configgen/generators/catacombgl/catacombglGenerator.py46 # Define the paths to be added or adjusted in the ini fileCOMMENT
MEDIUM…configgen/configgen/generators/vice/viceControllers.py48# Create the controller configuration fileCOMMENT
MEDIUM…gen/configgen/generators/flycast/flycastControllers.py129# Create the controller configuration fileCOMMENT
MEDIUM…gen/configgen/generators/corsixth/corsixthGenerator.py55 # Create the config file and fill it with basic dataCOMMENT
MEDIUM…iggen/configgen/generators/dolphin/dolphinGenerator.py146 # Create a for loop going 1 through to 4 and iterate through it:COMMENT
MEDIUM…gen/configgen/generators/dolphin/dolphinControllers.py24# Create the controller configuration fileCOMMENT
MEDIUM…n/configgen/generators/openjkdf2/openjkdf2Generator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…iggen/configgen/generators/cgenius/cgeniusGenerator.py40 # Define the directory and file name for the config fileCOMMENT
MEDIUM…iggen/configgen/generators/cgenius/cgeniusGenerator.py45 # Create the config directory if it doesn't existCOMMENT
MEDIUM…nfiggen/generators/cannonball/cannonballControllers.py30# Create the controller configuration fileCOMMENT
MEDIUM…iggen/configgen/generators/yquake2/yquake2Generator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…iggen/configgen/generators/yquake2/yquake2Generator.py33 # Define the default options to addCOMMENT
MEDIUM…n/configgen/configgen/generators/raze/razeGenerator.py187 "# This file is automatically generated by razeGenerator.py\n"CODE
MEDIUM…iggen/configgen/generators/openmsx/openmsxGenerator.py65 # Create the bindings elementCOMMENT
MEDIUM…nfiggen/configgen/generators/fsuae/fsuaeControllers.py25# Create the controller configuration fileCOMMENT
MEDIUM…n/configgen/generators/libretro/libretroControllers.py110# Create a configuration for a given controllerCOMMENT
MEDIUM…figgen/configgen/generators/libretro/libretroConfig.py68# Define the libretro device type corresponding to the libretro CORE (when needed)COMMENT
MEDIUM…figgen/configgen/generators/libretro/libretroConfig.py72# Define the libretro device type corresponding to the libretro SYSTEM (when needed)COMMENT
MEDIUM…nfiggen/configgen/generators/openjk/openjkGenerator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…gen/configgen/generators/etlegacy/etlegacyGenerator.py39 # Define the options to add or modifyCOMMENT
MEDIUM…n/configgen/generators/lindbergh/lindberghGenerator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…n/configgen/generators/lindbergh/lindberghGenerator.py1011 # Create the downloaded.txt flag file so we don't download againCOMMENT
MEDIUM…configgen/configgen/generators/rpcs3/rpcs3Generator.py776 # Create the target patch file from data if absent, otherwise merge in only the keysSTRING
MEDIUM…gen/configgen/configgen/generators/trx/trxGenerator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…iggen/configgen/generators/shadps4/shadps4Generator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…configgen/configgen/generators/mugen/mugenGenerator.py41 # Define the settings we want to updateCOMMENT
MEDIUM…configgen/configgen/generators/mugen/mugenGenerator.py57 # Define the key mappings for evmapyCOMMENT
MEDIUM…configgen/configgen/generators/mugen/mugenGenerator.py101 # Define the key mappings for evmapyCOMMENT
MEDIUM…iggen/configgen/generators/ppsspp/ppssppControllers.py131# Create the controller configuration fileCOMMENT
MEDIUM…nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py113 "# This file is automatically generated by gzdoomGenerator.py\n"CODE
MEDIUM…nfiggen/configgen/generators/bstone/bstoneGenerator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…nfiggen/configgen/generators/fba2x/fba2xControllers.py75# Create a configuration file for a given controllerCOMMENT
MEDIUM…n/configgen/configgen/generators/ymir/ymirGenerator.py2# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUM…nfiggen/configgen/generators/iortcw/iortcwGenerator.py27 # Define the options to add or modifyCOMMENT
MEDIUM…nfiggen/configgen/generators/vita3k/vita3kGenerator.py77 # Create the config folders if they don't existCOMMENT
MEDIUM…n/configgen/configgen/generators/play/playGenerator.py62 # Create a new preference element if it doesn't existCOMMENT
MEDIUM…configgen/configgen/generators/cemu/cemuControllers.py17# Create the controller configuration fileCOMMENT
MEDIUM…n/configgen/configgen/generators/cemu/cemuGenerator.py52 # Create the settings fileCOMMENT
MEDIUM…/batocera/core/batocera-configgen/scripts/tdp_hooks.sh4# This file is part of the batocera distribution (https://batocera.org).COMMENT
MEDIUMpackage/batocera/utils/batocera-led-handheld/batoled.py721 # Create a chasing color wheel using quadrant phase-shifting (Rainbow)COMMENT
MEDIUMpackage/batocera/utils/batocera-led-handheld/batoled.py1758 # Create a chasing color wheel using quadrant phase-shifting (Rainbow)COMMENT
MEDIUM…kage/batocera/emulators/lindbergh-loader/lindbergh.ini85# Define the path to pass the JVS packets to if JVS is not being emulatedCOMMENT
MEDIUM…kage/batocera/emulators/lindbergh-loader/lindbergh.ini88# Define the path to pass the first serial port toCOMMENT
MEDIUM…kage/batocera/emulators/lindbergh-loader/lindbergh.ini91# Define the path to pass the second serial port toCOMMENT
MEDIUM…kage/batocera/emulators/lindbergh-loader/lindbergh.ini94# Define the path to the sram.bin fileCOMMENT
MEDIUM…kage/batocera/emulators/lindbergh-loader/lindbergh.ini97# Define the path to the eeprom.bin fileCOMMENT
MEDIUM…ge/batocera/emulators/vpinball/batocera-vpx-scraper.py592 # Create a backup of existing fileCOMMENT
Deep Nesting178 hits · 168 pts
SeverityFileLineSnippetContext
LOW…-src/batocera-es-system/batocera_es_system/registry.py402CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py651CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py666CODE
LOW…/batocera-es-system/batocera_es_system/translations.py72CODE
LOW…atocera-es-system/batocera_es_system/systems_report.py88CODE
LOWpython-src/scripts/generate-ecodes-stubs.py78CODE
LOWscripts/linux/convertChangelog.py101CODE
LOW…era/core/batocera-configgen/configgen/configgen/gun.py138CODE
LOW…era-configgen/configgen/configgen/controllersConfig.py31CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py69CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py429CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py503CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py628CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py119CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py233CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py522CODE
LOW…tocera-configgen/configgen/configgen/utils/metadata.py32CODE
LOW…era-configgen/configgen/configgen/utils/wheelsUtils.py112CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py40CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py408CODE
LOW…batocera-configgen/configgen/configgen/utils/bezels.py503CODE
LOW…ocera-configgen/configgen/configgen/utils/videoMode.py25CODE
LOW…nfiggen/generators/duckstation/duckstationGenerator.py41CODE
LOW…nfiggen/configgen/generators/hatari/hatariGenerator.py33CODE
LOW…nfiggen/configgen/generators/hatari/hatariGenerator.py159CODE
LOW…n/configgen/generators/openmohaa/openmohaaGenerator.py42CODE
LOW…n/configgen/generators/model2emu/model2emuGenerator.py225CODE
LOW…n/configgen/generators/model2emu/model2emuGenerator.py35CODE
LOW…iggen/configgen/generators/drastic/drasticGenerator.py34CODE
LOW…nfiggen/generators/dxx_rebirth/dxx_rebirthGenerator.py23CODE
LOW…configgen/configgen/generators/vice/viceControllers.py49CODE
LOW…gen/configgen/generators/flycast/flycastControllers.py130CODE
LOW…configgen/configgen/generators/mame/mameControllers.py25CODE
LOW…configgen/configgen/generators/mame/mameControllers.py501CODE
LOW…ggen/configgen/configgen/generators/mame/mameCommon.py18CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py824CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py61CODE
LOW…n/configgen/configgen/generators/mame/mameGenerator.py642CODE
LOW…nfiggen/configgen/generators/dolphin/dolphinSYSCONF.py55CODE
LOW…gen/configgen/generators/dolphin/dolphinControllers.py25CODE
LOW…gen/configgen/generators/dolphin/dolphinControllers.py349CODE
LOW…gen/configgen/generators/dolphin/dolphinControllers.py517CODE
LOW…gen/configgen/generators/dolphin/dolphinControllers.py579CODE
LOW…gen/configgen/generators/dolphin/dolphinControllers.py658CODE
LOW…gen/configgen/generators/dolphin/dolphinControllers.py688CODE
LOW…n/configgen/generators/openjkdf2/openjkdf2Generator.py165CODE
LOW…n/configgen/generators/openjkdf2/openjkdf2Generator.py240CODE
LOW…n/configgen/generators/openjkdf2/openjkdf2Generator.py263CODE
LOW…n/configgen/generators/openjkdf2/openjkdf2Generator.py337CODE
LOW…iggen/configgen/generators/cgenius/cgeniusGenerator.py25CODE
LOW…nfiggen/configgen/generators/mupen/mupenControllers.py42CODE
LOW…nfiggen/configgen/generators/mupen/mupenControllers.py96CODE
LOW…nfiggen/configgen/generators/mupen/mupenControllers.py151CODE
LOW…nfiggen/generators/cannonball/cannonballControllers.py31CODE
LOW…iggen/configgen/generators/openbor/openborGenerator.py30CODE
LOW…iggen/configgen/generators/openbor/openborGenerator.py84CODE
LOW…gen/configgen/generators/openbor/openborControllers.py17CODE
LOW…gen/configgen/generators/openjazz/openjazzGenerator.py292CODE
LOW…ggen/configgen/configgen/generators/kodi/kodiConfig.py17CODE
LOW…n/configgen/configgen/generators/wine/wineGenerator.py25CODE
118 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
Hyper-Verbose Identifiers72 hits · 86 pts
SeverityFileLineSnippetContext
LOW…rc/batocera-es-system/batocera_es_system/es_systems.py39 def _inner_emulators_data_to_xml() -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py100 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py161 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py187def _dict_to_custom_features_iter(CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py249 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py346def _system_info_list_to_dict(CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py389 def _get_translatable_strings(self) -> Iterator[str]:CODE
LOW…-src/batocera-es-system/batocera_es_system/registry.py666 def _iter_system_emulator_cores(self) -> Iterator[tuple[SystemInfo, str, EmulatorInfo, 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.py88def _generate_target_system_report(CODE
LOWpython-src/batocera-common/tests/test_configparser.py10 def test_preserves_option_case_on_set_and_get(self) -> None:CODE
LOWpython-src/batocera-common/tests/test_configparser.py18 def test_preserves_option_case_when_reading_string(self) -> None:CODE
LOWpython-src/batocera-common/tests/test_configparser.py25 def test_distinct_keys_with_different_case(self) -> None:CODE
LOWpython-src/batocera-common/tests/test_configparser.py38 def test_preserves_option_case_on_set_and_get(self) -> None:CODE
LOWpython-src/batocera-common/tests/test_configparser.py46 def test_preserves_option_case_when_reading_string(self) -> None:CODE
LOWpython-src/batocera-common/tests/test_configparser.py53 def test_supports_interpolation_with_case_sensitive_keys(self) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py17 def test_identical_directories_are_falsy(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py25 def test_empty_directories_are_falsy(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py33 def test_differing_directories_are_truthy(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py41 def test_left_only_file_is_truthy(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py51 def test_identical_directories_report(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py59 def test_empty_directories_report(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py67 def test_reports_file_missing_in_right(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py77 def test_reports_file_extra_in_right(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py87 def test_reports_different_file(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py97 def test_reports_same_size_different_content(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py108 def test_reports_all_categories_together(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py122 def test_reports_nested_differences_with_relative_paths(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py132 def test_reports_subdirectory_only_in_left(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py142 def test_report_can_be_called_multiple_times(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_fs.py152 def test_report_is_unaffected_by_prior_bool_check(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py16 def test_loads_simple_mapping(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py32 def test_loads_nested_structure(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py48 def test_empty_file_returns_none(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py56 def test_raises_on_missing_file(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py62 def test_uses_safe_pure_loader(self, tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py102 def test_dump_uses_safe_pure_yaml_and_forwards_data(self, tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py113 def test_dump_with_none_options_leaves_yaml_attributes_untouched(CODE
LOWpython-src/batocera-common/tests/test_yaml.py144 def test_dump_forwards_all_options_to_yaml(self, tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py168 def test_dump_uses_default_options_when_unspecified(self, tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py182 def test_loads_simple_mapping(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py198 def test_loads_nested_structure(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py206 def test_empty_file_returns_none(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py214 def test_raises_on_missing_file(self, tmp_path: Path) -> None:CODE
LOWpython-src/batocera-common/tests/test_yaml.py220 def test_delegates_to_pyyaml_safe_load(self, tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOWscripts/linux/refresh_resolver.py173def 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.py75def build_text_popup_top_center(text: str, text_color: str, font_pt: int) -> Gtk.Window:CODE
LOW…e/batocera-configgen/configgen/configgen/controller.py43def _key_to_sdl_game_controller_config(keyname: str, input: Input, /) -> str | None:CODE
LOW…e/batocera-configgen/configgen/configgen/controller.py140 def generate_sdl_game_db_line(self, sdl_mapping: Mapping[str, str] = _DEFAULT_SDL_MAPPING, /, ignore_buttons: list[sCODE
LOW…e/batocera-configgen/configgen/configgen/controller.py177 def get_mapping_axis_relaxed_values(self) -> dict[str, _RelaxedDict]:CODE
LOW…e/batocera-configgen/configgen/configgen/controller.py262def generate_sdl_game_controller_config(controllers: Controllers, /, ignore_buttons: list[str] | None = None) -> str:CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py469def _reconfigure_evmapy_on_the_fly():CODE
LOW…cera-configgen/configgen/configgen/emulatorlauncher.py503def _controller_monitor_thread():CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py73def _keys_action_to_evmapy_action(keys_action: _KeysAction, /) -> _EvmapyAction:CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py77def _keys_mouse_action_to_evmapy_action(CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py233 def __write_controller_config(self, controller: Controller, keys_actions: _KeysActions, keys_file: Path, /) -> None:CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py412 def __get_mapping_for_triggers(CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py505 def __trigger_mapper_mode_string(self, trigger: str, /) -> Literal['any'] | None:CODE
LOW…batocera-configgen/configgen/configgen/utils/evmapy.py536 def __get_pad_min_max_axis_for_keys(self, min: float, max: float, /) -> tuple[float, float]:CODE
12 more matches not shown…
Over-Commented Block73 hits · 72 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/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…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…batocera-configgen/configgen/configgen/utils/bezels.py41 # by order choose :COMMENT
LOW…batocera-configgen/configgen/configgen/utils/bezels.py301 return 1, 0COMMENT
LOW…n/configgen/generators/openmohaa/openmohaaGenerator.py1#COMMENT
LOW…n/configgen/generators/openjkdf2/openjkdf2Generator.py1#COMMENT
LOW…gen/configgen/generators/openjazz/openjazzGenerator.py301 # 'x': 'swim up',COMMENT
LOW…iggen/configgen/generators/yquake2/yquake2Generator.py1#COMMENT
LOW…nfiggen/configgen/generators/openjk/openjkGenerator.py1#COMMENT
LOW…n/configgen/generators/lindbergh/lindberghGenerator.py1#COMMENT
LOW…configgen/configgen/generators/rpcs3/rpcs3Generator.py461 # -= [Core] =-COMMENT
LOW…gen/configgen/configgen/generators/trx/trxGenerator.py1#COMMENT
LOW…iggen/configgen/generators/shadps4/shadps4Generator.py1#COMMENT
LOW…iggen/configgen/generators/ppsspp/ppssppControllers.py21COMMENT
LOW…nfiggen/configgen/generators/bstone/bstoneGenerator.py1#COMMENT
LOW…configgen/configgen/generators/xash3d_fwgs/gamepad.cfg1// Default gamepad bindingsCOMMENT
LOW…n/configgen/configgen/generators/ymir/ymirGenerator.py1#COMMENT
LOW…/batocera/core/batocera-configgen/scripts/tdp_hooks.sh1#!/bin/bashCOMMENT
LOW…ckage/batocera/utils/sdl2-touch-test/sdl2-touch-test.c21#include <fcntl.h>COMMENT
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1221 # 0. OffCOMMENT
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
13 more matches not shown…
Redundant / Tautological Comments41 hits · 60 pts
SeverityFileLineSnippetContext
LOWscripts/linux/refresh_resolver.py148 # Verify if the modified file path sits within this package directoryCOMMENT
LOW…n/configgen/generators/openmohaa/openmohaaGenerator.py212 # Check if the omconfig.cfg file existsCOMMENT
LOW…gen/configgen/generators/fallout1/fallout1Generator.py37 # Check if the directories exist, if not create themCOMMENT
LOW…configgen/generators/catacombgl/catacombglGenerator.py41 # Check if the ini file exists, and if not, create and adjust itCOMMENT
LOW…nfiggen/generators/dxx_rebirth/dxx_rebirthGenerator.py37 # Check if the file existsCOMMENT
LOW…n/generators/theforceengine/theforceengineGenerator.py31 # Check if the directories exist, if not create themCOMMENT
LOW…n/configgen/configgen/generators/mame/mameGenerator.py575 # Check if the media being used is a floppy typeCOMMENT
LOW…iggen/configgen/generators/dolphin/dolphinGenerator.py94 # Display message in game (Memory card save and many more...)COMMENT
LOW…iggen/configgen/generators/dolphin/dolphinGenerator.py150 # Set value to 6 if it is 6a or 6b. This is to differentiate between Standard Controller and GameCube CoCOMMENT
LOW…n/configgen/generators/openjkdf2/openjkdf2Generator.py463 # Check if the binary exists in the destination and if it is outdatedCOMMENT
LOW…en/configgen/configgen/generators/mupen/mupenConfig.py89 # Set fullscreen to True on Wayland, False otherwise (due to issues on Xorg/DRM)COMMENT
LOW…nfiggen/generators/cannonball/cannonballControllers.py42 # Check if this control is in pad.inputs to maintain cannonballJoystick orderCOMMENT
LOW…gen/configgen/generators/fallout2/fallout2Generator.py37 # Check if the directories exist, if not create themCOMMENT
LOW…figgen/configgen/generators/libretro/libretroConfig.py563 # Check if game natively supports widescreen from metadata (not widescreen hack) (for easy scalability ensure alCOMMENT
LOW…figgen/configgen/generators/libretro/libretroConfig.py574 # Check if the ratio string contains a '/' to see if it's numericalCOMMENT
LOW…nfiggen/configgen/generators/openjk/openjkGenerator.py175 # Check if the config file existsCOMMENT
LOW…nfiggen/configgen/generators/openjk/openjkGenerator.py204 # Check if the binary exists in the destination and if it is outdatedCOMMENT
LOW…gen/configgen/generators/etlegacy/etlegacyGenerator.py65 # Check if the file existsCOMMENT
LOW…n/configgen/generators/lindbergh/lindberghGenerator.py157 # Check if file is executableCOMMENT
LOW…iggen/configgen/generators/shadps4/shadps4Generator.py82 # Check if the file existsCOMMENT
LOW…/configgen/configgen/generators/ppsspp/ppssppConfig.py52 # Check if we have a discrete GPU & if so, set the NameCOMMENT
LOW…nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py62 # Check if the key already existsCOMMENT
LOW…n/configgen/configgen/generators/ymir/ymirGenerator.py156 # Check if the file existsCOMMENT
LOW…nfiggen/configgen/generators/iortcw/iortcwGenerator.py79 # Check if the file existsCOMMENT
LOW…n/configgen/configgen/generators/play/playGenerator.py53 # Check if the configuration file existsCOMMENT
LOW…n/configgen/configgen/generators/cemu/cemuGenerator.py146 # Check if we have a discrete GPU & if so, set the UUIDCOMMENT
LOW…n/configgen/configgen/generators/cemu/cemuGenerator.py226 # Set volume to the maxCOMMENT
LOW…iggen/configgen/generators/melonds/melondsGenerator.py167 # Check if dual screen mode is enabledCOMMENT
LOW…/batocera/core/batocera-configgen/scripts/tdp_hooks.sh54 # Check if TDP is defined and non-emptyCOMMENT
LOW…/batocera/core/batocera-configgen/scripts/tdp_hooks.sh103 # Check if we actually changed anything on game startCOMMENT
LOW…e/batocera-configgen/scripts/powermode_launch_hooks.sh30 # Check if power connectedCOMMENT
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.py34 # Check if user selected another modeCOMMENT
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py37 # 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
Cross-Language Confusion7 hits · 52 pts
SeverityFileLineSnippetContext
HIGH…n/configgen/configgen/generators/mame/mameGenerator.py520 # if still undefined, default autoRunCmd based on media typeCOMMENT
HIGH…n/configgen/configgen/generators/mame/mameGenerator.py558 # if still undefined, default autoRunCmd based on media typeCOMMENT
HIGH…en/configgen/generators/libretro/libretroMAMEConfig.py351 # if still undefined, default autoRunCmd based on media typeCOMMENT
HIGHpackage/batocera/utils/piboy/piboy_power_ctrl.py22 os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmodCODE
HIGHpackage/batocera/utils/piboy/piboy_power_ctrl.py24 os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmodCODE
HIGHpackage/batocera/utils/piboy/piboy_power_ctrl.py32 os.system("echo 20 > /sys/kernel/xpi_gamecon/green && echo 20 > /sys/kernel/xpi_gamecon/red")CODE
HIGHpackage/batocera/utils/piboy/piboy_power_ctrl.py34 os.system("/etc/init.d/S31emulationstation stop && echo 0 > /sys/kernel/xpi_gamecon/flags && /sbin/rmmodCODE
Modern Structural Boilerplate12 hits · 10 pts
SeverityFileLineSnippetContext
LOW…tocera-configgen/configgen/configgen/utils/metadata.py50def _update_metadata_from_element(md: dict[str, str], element: ET.Element, /, extra_log_text: str = '') -> None:CODE
LOW…iggen/configgen/generators/libretro/libretroOptions.py24def _set_from_system(settings: UnixSettings, settings_name: str, system: Emulator, option_name: str | None = None, *, deCODE
LOW…iggen/configgen/generators/libretro/libretroOptions.py28def _set_from_system_bool(settings: UnixSettings, settings_name: str, system: Emulator, option_name: str | None = None, CODE
LOW…nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py49 def set_value(self, section: str, key: str, value: str) -> None:CODE
LOW…nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py60 def set_value_if_missing(self, section: str, key: str, value: str) -> None:CODE
LOW…nfiggen/configgen/generators/gzdoom/gzdoomGenerator.py121 def _update_ini_file(self, system, rom: Path, playersControllers) -> None:CODE
LOW…nfiggen/configgen/generators/bstone/bstoneGenerator.py31def _update_or_create_config(gameResolution: Resolution, config: SystemConfig, /) -> None:CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1213 def set_mode(self, mode: int) -> None:CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1218 def set_color(self, rgb: str) -> None:CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1278 def set_color_dec(self, rgb: str) -> None:CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1314 def set_brightness (self, b: int) -> None:CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1317 def set_brightness_conf (self) -> None:CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…ggen/configgen/configgen/generators/mame/mameCommon.py11# The comprehensive list of known floppy disk extensions for the Atom systemCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…iggen/configgen/generators/libretro/libretroOptions.py426 # If you want to change them, you can addCOMMENT
AI Structural Patterns4 hits · 2 pts
SeverityFileLineSnippetContext
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1898CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1908CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1561CODE
LOWpackage/batocera/utils/batocera-led-handheld/batoled.py1596CODE