AI Slop Code Risk Monitor

valentderah/totk-pc-recomp

SlopCodeMonitor badge for valentderah/totk-pc-recomp Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Static recompilation of The Legend of Zelda: Tears of the Kingdom to native Windows and Linux x86-64, with a Vulkan renderer. Game files not included.

6.5 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for valentderah/totk-pc-recomp, a C project with 7,121 GitHub stars. SynthScan examined 177,710 lines of code across 344 source files, recording 905 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 6.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.5
Adjusted Signal
6.5
Raw Pattern Score
100%
Time Factor
2026-11-14
Last Push
7.1K
Stars
C
Language
177.7K
Lines of Code
344
Files
905
Pattern Hits
2026-11-14
Scan Date
0.22
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-14.

Cognitive Ownership Risk 19.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 7.6/100 · LOW

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

Agent Over-Engineering Ratio 5.8/100 · LOW

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

PR Review Velocity Impact 30.4/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

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

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 75MEDIUM 3LOW 827

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 905 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block621 hits · 555 pts
SeverityFileLineSnippetContext
LOWconfig.example.toml1# Copy to config.local.toml (ignored by git) and point it at your own files.COMMENT
LOWtools/ultrawide_layout.py21# Full-screen layouts whose root pane stays as wide as the canvas.COMMENT
LOWtools/xlate/Program.cs1// TOTK Vulkan adaptation of MacNativeGames games/totk/tools/totk_xlate/Program.cs (MIT, see LICENSE; MNG commit b75be8cCOMMENT
LOWtools/xlate/Program.cs101 // come from registers (agl_technique_pfx compute b940aa86, dfe7662f) otherwise becomes an OpConstantComposite oCOMMENT
LOWruntime/loader.c1// Adapted from LAS Recomp runtime/loader.c @ da35b83 (MIT, Copyright (c) 2026 Peiikai) and MacNativeGamesCOMMENT
LOWruntime/ui_text.c1// Catalog of the text the host shows the player (ui_text.h). One array per catalog language, indexed by UiTextId: a newCOMMENT
LOWruntime/ov_system.c1// Adapted from MacNativeGames games/totk/runtime/services.c (lines 208-302), applet_host.c, account.c, time_host.c andCOMMENT
LOWruntime/ov_system.c21COMMENT
LOWruntime/motion_fusion.c1// Adapted from MacNativeGames games/totk/runtime/motion_fusion.c @ b75be8cf (MIT, Copyright (c) 2026 MacNativeGamesCOMMENT
LOWruntime/oom.c1// Short out-of-memory spells: a failed allocation waits for memory instead of ending the game.COMMENT
LOWruntime/restbl.h1// The game's resource size table (restbl.c): System/Resource/ResourceSizeTable.Product.<n>.Nin_NX_NVN.rsizetable.zs, aCOMMENT
LOWruntime/prof_win.c1// Sampling profiler (TOTK_PROFILE=<path>) and per-frame timing (TOTK_TRACE=perf). tools/prof_report.py reads the profilCOMMENT
LOWruntime/prof_win.c21#include <tlhelp32.h>COMMENT
LOWruntime/input.h1// Host input sampling (runtime/input.c, with input_win.c or input_sdl.c): SDL3 gamepad and the keyboard as one Switch nCOMMENT
LOWruntime/input.h41void input_block(int on);COMMENT
LOWruntime/cheats.c1// Cheats of the mods' Atmosphere cheat files (cheats.h). Each enabled mod the port can use (mods.h) may holdCOMMENT
LOWruntime/cheats.c21#include <stdio.h>COMMENT
LOWruntime/nvn_ext.c1// NVN entry points beyond the core implementation that only report stored object state, attach debugging metadata,COMMENT
LOWruntime/nvn_hmap.h1// Ported from MacNativeGames games/totk/third_party/d2r_gfx/gfx/nvn/nvn_hmap.h @ b75be8cf (MIT, Copyright (c) 2026COMMENT
LOWruntime/frame_rate.c1// Adapted from MacNativeGames games/totk/runtime/game_patches.c @ ebe621d (MIT, Copyright (c) 2026 MacNativeGamesCOMMENT
LOWruntime/frame_rate.c21// same short steps also crash a physics worker reading that buffer's contacts: an access violation in main+0x1292560COMMENT
LOWruntime/frame_rate.c41//COMMENT
LOWruntime/vk_astc.c1// ASTC textures on the GPU: the TOTK_ASTC knob, a compute decoder that turns raw blocks into the RGBA8 image the CPUCOMMENT
LOWruntime/nvn_procs.c1// NVN proc table. Every name the game's proc loader asks for gets a synthetic hostCOMMENT
LOWruntime/dispatch.c1// Indirect-branch dispatch: guest address -> lifted function, O(1).COMMENT
LOWruntime/memory.c1// Adapted from MacNativeGames games/totk/runtime/services.c and loader.c @ b75be8c (MIT, Copyright (c) 2026COMMENT
LOWruntime/memory.c21#define GiB (1ull << 30)COMMENT
LOWruntime/perfmon.c1// Performance overlay numbers (runtime/perfmon.h). Frame times come from the game's presents (perf_present, only whileCOMMENT
LOWruntime/nvn_probe.c1// totk.exe --probe-nvn: the NVN front end and the null back end, called the way theCOMMENT
LOWruntime/nvn_probe.c21#include "host.h"COMMENT
LOWruntime/gfx_shader.c1// Shader service client: turns an NVN program (control section, code, c1 constants and theCOMMENT
LOWruntime/gfx_shader.c21// Pack: tools/pack_shader_cache.py folds the .spv, .res.json, .use and in/*.in files into <cache>/shader-cache.packCOMMENT
LOWruntime/gfx_shader.c41COMMENT
LOWruntime/gfx_shader.c1761// not make records of their own (a fight run meets 4126 full pairs, 1238 input ids). The fullCOMMENT
LOWruntime/vk_formats.c1// NVN format -> VkFormat for the textures of the graphics layer.COMMENT
LOWruntime/kernel.c1// Adapted from MacNativeGames games/totk/runtime/threads.c @ b75be8c (MIT, Copyright (c) 2026 MacNativeGamesCOMMENT
LOWruntime/kernel.c21#define R_TIMEOUT KERN_R_TIMEOUTCOMMENT
LOWruntime/kernel.c321 t->lw_ns += d;COMMENT
LOWruntime/kernel.c361void kern_free_cores_note(void) {COMMENT
LOWruntime/kernel.c381// it, for granting, kicking, preempting and yielding. Without it MacNativeGames' game stopped at its firstCOMMENT
LOWruntime/kernel.c441 p = w->prio;COMMENT
LOWruntime/nvn_obj.h1// Ported from MacNativeGames games/totk/third_party/d2r_gfx/gfx/nvn/nvn_obj.h and the two types of nvn_tex.h @ b75be8cfCOMMENT
LOWruntime/kernel_probe.c1// --probe-kernel: the kernel's waits, wake orders, virtual cores, fibers andCOMMENT
LOWruntime/host.h1// Interface of the host runtime: guest memory, modules, kernel, IPC, file system and boot.COMMENT
LOWruntime/host.h101// File-scope declarations; fn must be declared before. The loader binds them by symbol name. The entries of everyCOMMENT
LOWruntime/host.h321double frame_step_limit_hz(void); // the frame rate the limit gives (overlay); 0 unknownCOMMENT
LOWruntime/vk_device.c1// Vulkan instance, physical device choice, logical device, VMA, timeline semaphore and the validation messenger.COMMENT
LOWruntime/mods.c1// Player mods: the scan of the mods folder, its order and switches (mods.h).COMMENT
LOWruntime/mods.c21#include <ctype.h>COMMENT
LOWruntime/input_map.c1// Binding tables (keyboard/mouse and gamepad), their totk.ini overrides, the pure mapping functions and the ButtonsCOMMENT
LOWruntime/tex.h1// CPU-side texture code: block-linear <-> linear copies, ASTC decode, NVN format -> VkFormat. Vulkan memory andCOMMENT
LOWruntime/vk.h1// Vulkan-internal header of the graphics layer. Host code only; the guest never sees it.COMMENT
LOWruntime/vk.h81COMMENT
LOWruntime/vk.h121VkPassMark *vk_pass_mark_begin(VkCommandBuffer cb, int kind, uint64_t fence);COMMENT
LOWruntime/vk.h141// vk_present_image split in two: vk_present_blit submits the blit and leaves the present waiting, vk_present_flipCOMMENT
LOWruntime/vk.h221 void *pool; // the imported pool record behind the span (NULL for device memory), for VK_MEM_BOUNDCOMMENT
LOWruntime/vk.h241void vk_mem_dirty_submit(void); // vk_sync_submit, under its lock, before the replayCOMMENT
LOWruntime/vk.h621 uint32_t n_sets;COMMENT
LOWruntime/vk.h641// cached under the current translator from their stored inputs, and builds every recorded pipeline, on all cores.COMMENT
LOWruntime/cfg.c1// totk.ini: file-backed defaults for the TOTK_* environment variables (docs/controls.md, totk.ini.example).COMMENT
561 more matches not shown…
Cross-Language Confusion56 hits · 278 pts
SeverityFileLineSnippetContext
HIGHtools/make_dlaa_mask.py14 if (g.x < p.x && g.y < p.y) {STRING
HIGHtests/excl_mt.py40 for (int k = 0; aba_width && k < 2; k++) {CODE
HIGHtests/excl_mt.py106 int ok = got == (width == 32 ? (uint32_t)want : want) && (width != 128 || cell[1] == 3 * want);CODE
HIGH⚡tests/mouse_direct_check.py374 assert(LOAD(0x23c0a1c,11)==pad_y && fabsf(LOAD(0x23c0b00,0)+50*DEG_PER_COUNT)<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py383 assert(LOAD(0x23cb274,8)==pad_x && fabsf(LOAD(0x23cb2a0,1)-(5-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py384 assert(LOAD(0x23cb3f8,8)==pad_y && fabsf(LOAD(0x23cb424,1)-(6-50*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py406 assert(ox>1 && ox-1<100*DEG_PER_COUNT/2 && oy>0 && oy<50*DEG_PER_COUNT/4); // slower than the camera aloneCODE
HIGH⚡tests/mouse_direct_check.py416 assert(LOAD(0x23c2890,13)==pad_y && fabsf(LOAD(0x23c28b4,1)-(3-50*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py417 assert(LOAD(0x23c2934,13)==pad_x && fabsf(LOAD(0x23c2964,1)-(9-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py436 assert(LOAD(0x23cecb4,9)==pad_y && fabsf(LOAD(0x23cecf8,1)-(2-50*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py437 assert(LOAD(0x23ced0c,9)==pad_x && fabsf(LOAD(0x23ced4c,1)-(3-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py442 assert(LOAD(0x23d4b14,12)==pad_x && LOAD(0x23d4b1c,13)==pad_y);CODE
HIGH⚡tests/mouse_direct_check.py443 assert(fabsf(LOAD(0x23d4f34,0)-(7-100*DEG_PER_COUNT))<1e-5f && fabsf(LOAD(0x23d5028,1)-(8-50*DEG_PER_COUNT))<1e-CODE
HIGH⚡tests/mouse_direct_check.py447 assert(LOAD(0x23c3d64,1)==pad_y && fabsf(LOAD(0x23c3d70,1)-(4-50*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py449 assert(LOAD(0x23c3dd0,1)==pad_x && fabsf(LOAD(0x23c3dd8,1)-(5-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py457 assert(c.x[8]>>32==0 && fabsf(w-(11-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py459 assert(sample_watched==sample.generation && sample_watched_mode==MODE_WATERFALL);CODE
HIGH⚡tests/mouse_direct_check.py469 assert(tx>0 && tx<1e-9f && fabsf(LOAD(0x23c5554,1)-(2-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py470 assert(LOAD(0x23c542c,11)==pad_y && fabsf(LOAD(0x23c546c,1)-(1-50*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py517 c.x[8]=0x28; activity_hook(&c); assert((uint32_t)c.x[8]==0x11 && c.v[9]==stack[2] && c.v[8]==stack[3]);CODE
HIGH⚡tests/mouse_direct_check.py524 assert(guest_float((uintptr_t)target+0x420)==0 && guest_float((uintptr_t)target+0x424)==0);CODE
HIGH⚡tests/mouse_direct_check.py532 assert(fabsf(scalar(c.v[9])-20*HAND_PER_COUNT/ratio)<1e-5f && fabsf(scalar(c.v[15])+10*HAND_PER_COUNT/ratio)<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py548 assert(fabsf(scalar(c.v[0])-(12-50*DEG_PER_COUNT))<1e-5f && guest_float((uintptr_t)cam+0x154)==scalar(c.v[0]));CODE
HIGH⚡tests/mouse_direct_check.py557 assert(LOAD(0x1d4070c,8)==pad_x && fabsf(LOAD(0x1d40740,0)-(0.5f-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py562 assert(LOAD(0x1d50738,0)==pad_x && LOAD(0x1d50740,1)==total);CODE
HIGH⚡tests/mouse_direct_check.py563 assert(LOAD(0x1d50768,0)==total && LOAD(0x1d5076c,1)==pad_x);CODE
HIGH⚡tests/mouse_direct_check.py572 assert(c.x[8]>>32==0 && fabsf(w-(11-100*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py575 assert(LOAD(0x1d3a3f8,11)==pad_y && fabsf(LOAD(0x1d3a420,1)-(1-50*DEG_PER_COUNT))<1e-5f);CODE
HIGH⚡tests/mouse_direct_check.py636 assert(dx==123 && dy==-45 && !buttons && !right[0] && !right[1]);CODE
HIGH⚡tests/mouse_direct_check.py644 input_direct_mouse_sample(1,&dx,&dy); assert(dx==-100 && dy==50);CODE
HIGH⚡tests/mouse_direct_check.py649 mouse_camera(right,1); assert(radial_calls==1 && !row_calls && right[0]==456 && right[1]==789);CODE
HIGH⚡tests/mouse_direct_check.py651 mouse_camera(right,2); assert(row_calls==1 && radial_calls==1 && right[0]==123 && !right[1]);CODE
HIGH⚡tests/mouse_direct_check.py653 mouse_camera(right,3); assert(row_calls==2 && right[0]==123 && !right[1]);CODE
HIGHtests/mouse_direct_check.py34 if(enabled && captured && foreground && allowed) ikb_mouse_take(x,y);CODE
HIGHtests/mouse_direct_check.py55 assert(hook && activity_hook);CODE
HIGHtests/mouse_direct_check.py83 assert(fabsf(x-100*0.04f*ABILITY_GAIN_X)<1e-5f && fabsf(y-50*0.04f*ABILITY_GAIN_Y)<1e-5f);CODE
HIGHtests/mouse_direct_check.py85 assert(fabsf(x-4)<1e-5f && fabsf(y-PITCH_GAIN*2)<1e-5f);CODE
HIGHtests/mouse_direct_check.py100 assert(takes==before && raw_x==42 && !input_direct_mouse_active()); c.x[21]=0;CODE
HIGHtests/mouse_direct_check.py119 assert(guest_float((uintptr_t)target+0x420)==0 && guest_float((uintptr_t)target+0x424)==0);CODE
HIGHtests/mouse_direct_check.py132 assert(goal==0 && fabsf(current-(30-50*DEG_PER_COUNT))<0.0001f);CODE
HIGHtests/mouse_direct_check.py226 state_hook(&c); assert(c.x[10]==4 && c.x[8]==1);CODE
HIGHtests/mouse_direct_check.py245 assert(guest_float((uintptr_t)target+0x420)==0.25f && guest_float((uintptr_t)target+0x424)==0.75f);CODE
HIGHtests/mouse_direct_check.py247 assert(guest_float((uintptr_t)frame+0x44)==11 && guest_float((uintptr_t)frame+0x48)==22);CODE
HIGHtests/mouse_direct_check.py263 assert(200*HAND_PER_COUNT/ratio>HAND_MAX && fabsf(guest_float((uintptr_t)frame+0x60)-HAND_MAX)<0.00001f);CODE
HIGHtests/mouse_direct_check.py266 c.x[21]=1; raw_x=5; raw_y=6; hook(&c); assert(raw_x==0 && raw_y==0 && input_direct_mouse_active());CODE
HIGHtests/mouse_direct_check.py295 assert(takes==before && raw_x==42); selecting=0; raw_x=0;CODE
HIGHtests/mouse_direct_check.py318 assert(flips>3 && shortest>=SHAKE_SIDE_NS);CODE
HIGHtests/mouse_direct_check.py343 assert(stick_x!=pad_x && stick_y!=pad_y); // the stick the game stored has the mouse in itCODE
HIGHtests/mouse_direct_check.py350 assert(LOAD(0x23beb94,1)==pad_y && LOAD(0x23bebc8,1)==10); // the same sample turns the camera onceCODE
HIGHtests/mouse_direct_check.py482 assert(LOAD(0x23d0100,1)==pad_x && LOAD(0x23d0104,0)==total);CODE
HIGHtests/mouse_direct_check.py502 assert(hook && activity_hook && begin_hook && angles_hook && hand_hook && load_hook && !state_hook);CODE
HIGHtests/cheats_vm_check.py116 if (a < (uintptr_t)heap || a >= (uintptr_t)heap + sizeof heap) return 1;CODE
HIGHtests/cheats_vm_check.py185 for (int i = 0, j = 0; kind == CHEAT_DATA && i < c->n; j++) {CODE
HIGH⚡tests/cheats_vm_check.py253 assert(u32(heap + 0x110) == 0 && u32(heap + 0x114) == 0x2A && u32(heap + 0x118) == 0);CODE
HIGH⚡tests/cheats_vm_check.py259 assert(u32(heap + 0x110) == 7 && u32(heap + 0x114) == 0);CODE
HIGH⚡tests/cheats_vm_check.py264 assert(g_static[0x80] == 0x33 && u64(heap + 0x120) == 0);CODE
Hyper-Verbose Identifiers118 hits · 121 pts
SeverityFileLineSnippetContext
LOWtests/spin_waits_test.py61 def test_store_of_a_changing_value(self): # the wait path stores w14, which the pass writesCODE
LOW⚡tests/installer_gui_test.py230 def test_installed_folder_needs_only_itself(self):CODE
LOW⚡tests/installer_gui_test.py239 def test_installed_folder_still_checks_given_files(self):CODE
LOW⚡tests/installer_gui_test.py244 def test_broken_state_is_a_new_install(self):CODE
LOW⚡tests/installer_gui_test.py318 def test_windows_language_is_a_known_value(self):CODE
LOW⚡tests/installer_gui_test.py321 def test_windows_langid_picks_the_window_language(self):CODE
LOW⚡tests/installer_gui_test.py327 def test_chinese_window_starts_with_a_game_language_that_needs_no_shared_fonts(self):CODE
LOW⚡tests/installer_gui_test.py336 def test_ctrl_break_ends_the_process_group(self):CODE
LOW⚡tests/installer_gui_test.py445 def test_empty_field_keeps_saved_value(self):CODE
LOW⚡tests/installer_gui_test.py453 def test_missing_path_not_saved(self):CODE
LOW⚡tests/installer_gui_test.py459 def test_vanished_path_dropped_on_load(self):CODE
LOW⚡tests/installer_gui_test.py467 def test_directory_as_file_dropped(self):CODE
LOW⚡tests/installer_gui_test.py472 def test_file_as_firmware_dropped(self):CODE
LOW⚡tests/installer_gui_test.py565 def test_other_install_clears_and_restores(self):CODE
LOW⚡tests/installer_gui_test.py573 def test_install_without_recorded_inputs_clears(self):CODE
LOW⚡tests/installer_gui_test.py577 def test_user_picked_field_survives(self):CODE
LOW⚡tests/installer_gui_test.py587 def test_vanished_file_clears(self):CODE
LOW⚡tests/installer_gui_test.py594 def test_every_screen_in_both_languages(self):CODE
LOWtests/installer_gui_test.py64 def test_noise_is_not_an_event(self):CODE
LOWtests/installer_gui_test.py74 def test_steps_follow_the_events(self):CODE
LOWtests/installer_gui_test.py95 def test_a_new_step_resets_progress(self):CODE
LOWtests/installer_gui_test.py101 def test_error_marks_the_step(self):CODE
LOWtests/installer_gui_test.py124 def test_finish_without_end_event(self):CODE
LOWtests/installer_gui_test.py143 def test_unknown_event_is_ignored(self):CODE
LOWtests/installer_gui_test.py164 def test_ok_run_has_only_done_and_skipped_steps(self):CODE
LOWtests/installer_gui_test.py171 def test_a_new_run_keeps_nothing_of_the_failed_one(self):CODE
LOWtests/installer_gui_test.py256 def test_every_language_covers_english_with_the_same_placeholders(self):CODE
LOWtests/installer_gui_test.py267 def test_language_names_tell_the_codes_apart(self):CODE
LOWtests/installer_gui_test.py278 def test_every_id_the_window_uses_exists(self):CODE
LOWtests/installer_gui_test.py353 def test_px_follows_the_display_scale(self):CODE
LOWtests/installer_gui_test.py359 def test_px_at_the_scales_of_other_displays(self):CODE
LOWtests/installer_gui_test.py370 def test_the_window_draws_at_the_display_scale(self):CODE
LOWtests/installer_gui_test.py407 def test_override_is_honoured(self):CODE
LOWtests/installer_gui_test.py431 def test_folder_without_state(self):CODE
LOWtests/installer_gui_test.py502 def test_old_dest_only_format(self):CODE
LOWtests/installer_gui_test.py514 def test_blocking_load_leaves_fields_empty(self):CODE
LOWtests/installer_gui_test.py521 def test_fast_load_is_returned(self):CODE
LOWtests/installer_gui_test.py661 def test_verify_run_skips_every_step(self):CODE
LOWtests/installer_gui_test.py676 def test_cancel_during_the_check(self):CODE
LOW⚡tests/ncz_test.py91 def test_stream_comes_back_byte_for_byte(self):CODE
LOW⚡tests/ncz_test.py101 def test_blocks_come_back_byte_for_byte(self):CODE
LOW⚡tests/ncz_test.py105 def test_plain_nsp_is_not_compressed(self):CODE
LOW⚡tests/ncz_test.py110 def test_changed_byte_fails_the_hash(self):CODE
LOW⚡tests/ncz_test.py118 def test_cut_stream_is_damaged(self):CODE
LOWtests/ncz_test.py145 def test_unpacks_the_base_and_reuses_it(self):CODE
LOWtests/ncz_test.py156 def test_content_decides_not_the_name(self):CODE
LOWtests/ncz_test.py163 def test_damaged_base_names_the_chosen_file(self):CODE
LOWtests/romfs_prompts_test.py413 def test_plain_overlay_has_only_the_frame_rate_patch(self):CODE
LOWtests/romfs_prompts_test.py422 def test_face_buttons_name_the_xbox_label_of_the_button_pressed(self):CODE
LOWtests/romfs_prompts_test.py448 def test_other_buttons_are_drawn_as_xbox_icons(self):CODE
LOWtests/romfs_prompts_test.py475 def test_button_guide_images_show_the_same_icons(self):CODE
LOWtests/romfs_prompts_test.py494 def test_resource_size_table_grows_with_the_fonts(self):CODE
LOWtests/romfs_prompts_test.py510 def test_manifest_lists_what_changed_with_both_hashes(self):CODE
LOWtests/romfs_prompts_test.py524 def test_pc_prompts_draw_every_button_as_its_key(self):CODE
LOWtests/romfs_prompts_test.py555 def test_pc_prompts_follow_the_bind_lines(self):CODE
LOWtests/romfs_prompts_test.py568 def test_same_input_same_output_and_the_older_flag(self):CODE
LOWtests/romfs_prompts_test.py576 def test_reuse_links_the_files_that_match_and_writes_the_same_overlay(self):CODE
LOWtests/romfs_prompts_test.py604 def test_unrecognised_romfs_fails_before_writing(self):CODE
LOW⚡tests/installer_test.py112 def test_fresh_install_runs_everything_and_records_it(self):CODE
LOW⚡tests/installer_test.py122 def test_rerun_skips_finished_steps_and_unneeded_transient(self):CODE
58 more matches not shown…
Empty Error Handlers18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHtools/pack_shader_cache.py127except OSError:CODE
HIGHtools/pack_shader_cache.py99except OSError:CODE
HIGHtools/cheats.py84except ValueError:CODE
HIGHtools/run_game.py135except OSError:CODE
HIGHrecomp/gen.py535except FileNotFoundError:CODE
HIGHrecomp/gen.py680except ValueError:CODE
HIGHrecomp/jumptables.py1030except _Unknown:CODE
HIGHinstaller/steps.py347except InstallError:CODE
HIGHinstaller/steps.py508except OSError:CODE
HIGHinstaller/steps.py688except (OSError, IndexError):CODE
HIGHinstaller/dpi.py57except (AttributeError, OSError):CODE
HIGHinstaller/dpi.py65except (AttributeError, OSError):CODE
HIGHinstaller/dpi.py84except (AttributeError, OSError):CODE
HIGHinstaller/dpi.py88except (AttributeError, OSError):CODE
HIGHinstaller/dpi.py92except (AttributeError, OSError):CODE
HIGHinstaller/dpi.py96except (AttributeError, OSError):CODE
HIGHinstaller/recent.py85except OSError:CODE
HIGHinstaller/gui.py458except Exception:CODE
Deep Nesting75 hits · 74 pts
SeverityFileLineSnippetContext
LOWtools/make_romfs_patches.py112CODE
LOWtools/make_romfs_patches.py182CODE
LOWtools/pack_shader_cache.py31CODE
LOWtools/pack_shader_cache.py77CODE
LOWtools/prof_report.py34CODE
LOWtools/button_icons.py425CODE
LOWtools/ncz.py144CODE
LOWtools/crit_path.py43CODE
LOWtools/exefs_patches.py73CODE
LOWtools/exefs_patches.py141CODE
LOWtools/exefs_patches.py238CODE
LOWtools/exefs_patches.py380CODE
LOWtools/prepare_shaders.py88CODE
LOWtools/cheats.py72CODE
LOWtools/cheats.py96CODE
LOWtools/cheats.py112CODE
LOWtools/cheats.py258CODE
LOWtools/spin_waits.py89CODE
LOWtools/spin_waits.py223CODE
LOWtools/spin_waits.py264CODE
LOWtools/spin_waits.py339CODE
LOWtools/build_game.py790CODE
LOWtools/run_game.py152CODE
LOWtools/ultrawide_layout.py163CODE
LOWtools/ultrawide_layout.py246CODE
LOWtools/perf_summary.py66CODE
LOWtools/make_release.py472CODE
LOWtests/installer_e2e.py40CODE
LOWtests/installer_gui_test.py604CODE
LOWtests/installer_gui_test.py637CODE
LOWtests/jumptables_check.py572CODE
LOWtests/jumptables_check.py699CODE
LOWtests/jumptables_check.py78CODE
LOWtests/jumptables_check.py311CODE
LOWtests/romfs_prompts_test.py422CODE
LOWtests/romfs_prompts_test.py448CODE
LOWtests/romfs_prompts_test.py475CODE
LOWtests/romfs_prompts_test.py494CODE
LOWtests/romfs_prompts_test.py524CODE
LOWtests/diff/lift.py157CODE
LOWtests/diff/simd.py60CODE
LOWtests/diff/simd.py123CODE
LOWtests/diff/common.py102CODE
LOWtests/diff/atomic.py68CODE
LOWtests/diff/atomic.py133CODE
LOWtests/diff/func.py150CODE
LOWrecomp/lifter.py757CODE
LOWrecomp/lifter.py511CODE
LOWrecomp/lifter.py597CODE
LOWrecomp/lifter.py711CODE
LOWrecomp/gen.py691CODE
LOWrecomp/gen.py225CODE
LOWrecomp/gen.py307CODE
LOWrecomp/gen.py350CODE
LOWrecomp/simd_c.py92CODE
LOWrecomp/simd_c.py1043CODE
LOWrecomp/simd_c.py1088CODE
LOWrecomp/patches.py74CODE
LOWrecomp/nso.py44CODE
LOWrecomp/jumptables.py288CODE
15 more matches not shown…
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMruntime/third_party/imgui/imgui.cpp6309 // FIXME: Essentially we want to restrict manual resizing to WindowMinSize+Decoration, and allow api resizing to be COMMENT
MEDIUMtests/diff/common.py22# Record layouts of struct In / struct Out in harness.c.COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHruntime/third_party/imgui/imgui_draw.cpp2843 const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0xCODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWruntime/third_party/imgui/imgui.cpp3159 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWruntime/third_party/imgui/imgui.cpp3176 // Step 1: Let the clipper infer height from first rangeCOMMENT
LOWruntime/third_party/imgui/imgui.cpp16891 // Step 0: stack queryCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWruntime/third_party/imgui/imgui.cpp3159 // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element hCOMMENT
LOWruntime/third_party/imgui/imgui.cpp3176 // Step 1: Let the clipper infer height from first rangeCOMMENT
LOWruntime/third_party/imgui/imgui.cpp16891 // Step 0: stack queryCOMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMruntime/third_party/imgui/imgui_widgets.cpp6963// Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image.COMMENT
LOWruntime/third_party/imgui/imgui.cpp873 - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. PreviCODE
Unused Imports4 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/installer_gui_test.py374CODE
LOWtests/installer_gui_test.py596CODE
LOWrecomp/lifter.py9CODE
LOWinstaller/steps.py35CODE
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWinstaller/runner.py148 except Exception as e:CODE
LOWinstaller/gui.py458 except Exception:CODE