Repository Analysis

kitao/pyxel

A retro game engine for Python

5.7 Low AI signal View on GitHub
5.7
Adjusted Score
5.7
Raw Score
100%
Time Factor
2026-05-30
Last Push
17,509
Stars
Rust
Language
67,966
Lines of Code
237
Files
308
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 1LOW 306

Pattern Findings

308 matches across 7 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers274 hits · 342 pts
SeverityFileLineSnippet
LOWpython/pyxel/cli.py167def _run_python_script_in_separate_process(python_script_file):
LOWpython/pyxel/cli.py232def watch_and_run_python_script(watch_dir: str, python_script_file: str) -> None:
LOWpython/pyxel/cli.py368def create_executable_from_pyxel_app(pyxel_app_file: str) -> None:
LOWpython/pyxel/cli.py421def create_html_from_pyxel_app(pyxel_app_file: str) -> None:
LOWpython/pyxel/editor/tilemap_editor.py122 def __on_tilemap_picker_change(self, value):
LOWpython/pyxel/editor/tilemap_editor.py125 def __on_tilemap_picker_mouse_hover(self, x, y):
LOWpython/pyxel/editor/sound_editor.py208 def __on_sound_picker_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/sound_editor.py217 def __on_play_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/sound_editor.py223 def __on_stop_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/sound_editor.py226 def __on_loop_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/music_editor.py162 def __on_music_picker_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/music_editor.py171 def __on_play_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/music_editor.py174 def __on_stop_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/music_editor.py177 def __on_loop_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/app.py127 def __on_editor_button_change(self, value):
LOWpython/pyxel/editor/app.py131 def __on_editor_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/app.py137 def __on_undo_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/app.py143 def __on_redo_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/app.py149 def __on_save_button_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/image_editor.py102 def __on_color_picker_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/image_editor.py105 def __on_image_picker_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/editor_base.py81 def check_tool_button_shortcuts(self):
LOWpython/pyxel/editor/editor_base.py101 def __on_number_picker_dec_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/editor_base.py104 def __on_number_picker_inc_mouse_hover(self, _x, _y):
LOWpython/pyxel/editor/editor_base.py107 def __on_tool_button_mouse_hover(self, x, y):
LOWpython/pyxel/editor/widgets/widget.py265 def remove_var_event_listener(self, name, event, listener):
LOWpython/tests/test_music.py11 def test_set_pads_to_num_channels(self):
LOWpython/tests/test_music.py40 def test_set_overwrites_previous(self):
LOWpython/tests/test_music.py47 def test_snds_list_aliases_seqs_deprecated(self, capfd):
LOWpython/tests/test_music.py64 def test_seqs_inner_seq_access(self):
LOWpython/tests/test_music.py73 def test_seqs_inner_seq_setitem(self):
LOWpython/tests/test_music.py81 def test_seqs_inner_seq_append(self):
LOWpython/tests/test_music.py89 def test_seqs_inner_seq_delitem(self):
LOWpython/tests/test_music.py96 def test_seqs_append_new_channel(self):
LOWpython/tests/test_music.py104 def test_seqs_setitem_channel(self):
LOWpython/tests/test_music.py189 def test_seqs_from_list_deprecated(self, capfd):
LOWpython/tests/test_music.py196 def test_seqs_to_list_deprecated(self, capfd):
LOWpython/tests/test_tilemap.py10 def test_new_with_image_instance(self):
LOWpython/tests/test_tilemap.py16 def test_imgsrc_read_write_int(self):
LOWpython/tests/test_tilemap.py23 def test_imgsrc_read_write_image(self):
LOWpython/tests/test_tilemap.py29 def test_pset_pget_returns_tuple(self):
LOWpython/tests/test_tilemap.py138 def test_blt_with_tilemap_instance(self):
LOWpython/tests/test_tilemap.py181 def test_clip_restricts_drawing(self):
LOWpython/tests/test_tilemap.py190 def test_camera_offsets_drawing(self):
LOWpython/tests/test_tilemap.py250 def test_collide_returns_tuple_of_floats(self):
LOWpython/tests/test_tilemap.py259 def test_collide_horizontal_wall(self):
LOWpython/tests/test_tilemap.py271 def test_collide_vertical_wall(self):
LOWpython/tests/test_tilemap.py288 def test_collide_multiple_wall_tiles(self):
LOWpython/tests/test_tilemap.py300 def test_collide_negative_direction(self):
LOWpython/tests/test_tilemap.py310 def test_collide_empty_walls_list(self):
LOWpython/tests/test_tilemap.py320 def test_image_property_aliases_imgsrc(self, capfd):
LOWpython/tests/test_tilemap.py327 def test_image_setter_deprecated(self, capfd):
LOWpython/tests/test_tilemap.py335 def test_refimg_property_aliases_imgsrc(self, capfd):
LOWpython/tests/test_tilemap.py342 def test_refimg_setter_deprecated(self, capfd):
LOWpython/tests/test_utils.py5 def test_returns_dict_with_system_and_local_keys(self, tmp_path):
LOWpython/tests/test_utils.py12 def test_extracts_system_imports(self, tmp_path):
LOWpython/tests/test_utils.py19 def test_extracts_from_imports(self, tmp_path):
LOWpython/tests/test_utils.py25 def test_extracts_local_imports(self, tmp_path):
LOWpython/tests/test_utils.py35 def test_handles_relative_imports(self, tmp_path):
LOWpython/tests/test_utils.py43 def test_handles_syntax_error_gracefully(self, tmp_path):
214 more matches not shown…
Unused Imports13 hits · 13 pts
SeverityFileLineSnippet
LOWpython/pyxel/__init__.py16
LOWpython/pyxel/editor/__init__.py1
LOWpython/pyxel/editor/__init__.py2
LOWpython/pyxel/editor/widgets/__init__.py1
LOWpython/pyxel/editor/widgets/__init__.py2
LOWpython/pyxel/editor/widgets/__init__.py3
LOWpython/pyxel/editor/widgets/__init__.py4
LOWpython/pyxel/editor/widgets/__init__.py5
LOWpython/pyxel/editor/widgets/__init__.py6
LOWpython/pyxel/editor/widgets/__init__.py7
LOWpython/pyxel/editor/widgets/__init__.py8
LOWpython/pyxel/editor/widgets/__init__.py9
LOWpython/pyxel/editor/widgets/__init__.py10
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippet
LOWpython/pyxel/cli.py195
LOWpython/pyxel/cli.py232
LOWpython/pyxel/utils.py47
LOWpython/pyxel/examples/10_platformer.py34
LOWpython/pyxel/examples/06_click_game.py59
LOWpython/pyxel/examples/07_snake.py123
LOWpython/pyxel/editor/canvas_panel.py277
LOWpython/pyxel/editor/piano_keyboard.py158
LOWpython/pyxel/editor/image_editor.py127
LOWpython/pyxel/editor/editor_base.py81
LOWpython/tests/_runner.py160
LOWpython/tests/_runner.py192
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALweb/code-maker/index.html375 resourceEditor.contentWindow.pyxelContext.pyodide.FS.readFile(
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippet
LOWcrates/pyxel-core/src/bgm_generator.rs1// Shared between Pyxel (https://github.com/kitao/pyxel) and
LOWcrates/pyxel-core/src/platform/sdl2/poll_events.rs281 SDL_BUTTON_X1 => MOUSE_BUTTON_X1,
LOWpython/pyxel/editor/tilemap_editor.py21 # tilemap_index_var
LOWpython/pyxel/editor/canvas_panel.py21
LOWpython/pyxel/editor/sound_editor.py21
LOWpython/pyxel/editor/widgets/widget.py21
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMpython/pyxel/examples/15_tiled_map_file.py20 # This example loads a PNG file as the tileset image, but you can also use
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippet
LOWpython/tests/test_utils.py46 # Syntax error: should not raise, just return empty/partial result