This report summarizes scanner evidence for KytyPS5/KytyPS5. SynthScan examined 273,707 lines of code across 599 source files, recording 404 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low 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.
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-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 401 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 404 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
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.
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.
The scanner identified 404 distinct pattern matches across 2 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/shaderCfgTests.cpp | 1 | #include "common/emulatorConfig.h" | COMMENT |
| LOW | tests/shaderCfgTests.cpp | 21 | #include "graphics/shader/recompiler/ir/ShaderIR.h" | COMMENT |
| LOW | tests/shaderCfgTests.cpp | 41 | #include <cstdlib> | COMMENT |
| LOW | tests/AudioOut2PortTests.cpp | 1 | #include "libs/audio.h" | COMMENT |
| LOW | tests/ControllerSettingsTests.cpp | 81 | #include "libs/controller.cpp" | COMMENT |
| LOW | tests/MemoryTrackerTests.cpp | 1 | #include "common/hostException.h" | COMMENT |
| LOW | tests/MemoryTrackerTests.cpp | 21 | #define NOMINMAX | COMMENT |
| LOW | tests/PadHapticsTests.cpp | 1 | // Exercise the production module with real SDL streams and fake USB endpoints. | COMMENT |
| LOW | tests/PadHapticsTests.cpp | 261 | COMMENT | |
| LOW | tests/PadHapticsTests.cpp | 281 | #define SDL_hid_enumerate Fake::HidEnumerate | COMMENT |
| LOW | tests/PadHapticsTests.cpp | 301 | #undef SDL_OpenAudioDeviceStream | COMMENT |
| LOW | tests/ArchiveFileTests.cpp | 1 | #include "common/file.h" | COMMENT |
| LOW | tests/LauncherGameViewsTests.cpp | 1 | #include "gameViews.h" | COMMENT |
| LOW | tests/HostInputTests.cpp | 41 | } | COMMENT |
| LOW | tests/SrtWalkerTestMemory.h | 1 | #ifndef KYTY_TESTS_SRTWALKERTESTMEMORY_H_ | COMMENT |
| LOW | tests/AudioOutTimingTests.cpp | 1 | // Exercise production output scheduling with a deterministic clock and consuming SDL queues. | COMMENT |
| LOW | tests/AudioOutTimingTests.cpp | 121 | #define SDL_InitSubSystem Fake::InitSubSystem | COMMENT |
| LOW | tests/EventQueueLifetimeTests.cpp | 1 | #include "kernel/eventQueue.h" | COMMENT |
| LOW | tests/PsmlTests.cpp | 1 | #include "common/abi.h" | COMMENT |
| LOW | tests/PageManagerTests.cpp | 1 | #include "common/virtualMemory.h" | COMMENT |
| LOW | tests/PageManagerTests.cpp | 21 | #undef max | COMMENT |
| LOW | tests/KernelFileSystemTests.cpp | 1 | #include <SDL3/SDL.h> | COMMENT |
| LOW | tests/KernelFileSystemTests.cpp | 21 | #include "loader/symbolDatabase.h" | COMMENT |
| LOW | tests/ScalarProvenanceTests.cpp | 1 | #include "graphics/shader/recompiler/ir/ShaderIR.h" | COMMENT |
| LOW | tests/ScalarProvenanceTests.cpp | 981 | #include "../src/graphics/shader/recompiler/ir/passes/ResourceTracking.cpp" | COMMENT |
| LOW | tests/TrinityTests.cpp | 1 | #include "common/emulatorConfig.h" | COMMENT |
| LOW | tests/macosSse4aTests.cpp | 1 | #include "common/hostException.h" | COMMENT |
| LOW | tests/ResourceMaterializationTests.cpp | 1521 | #include "graphics/shader/recompiler/ir/Type.cpp" | COMMENT |
| LOW | tests/SaveDataMemoryTests.cpp | 1 | // Exercise the guest ABI without linking unrelated emulator subsystems. | COMMENT |
| LOW | tests/TrophySystemTests.cpp | 1 | #include "common/file.h" | COMMENT |
| LOW | tests/ResourceTrackingTests.cpp | 1 | #include "graphics/guest_gpu/gpu_defs.h" | COMMENT |
| LOW | tests/ResourceTrackingTests.cpp | 9121 | #include "graphics/shader/recompiler/ir/Type.cpp" | COMMENT |
| LOW | tests/VirtualMemoryAllocationTests.cpp | 1 | #include "common/emulatorConfig.h" | COMMENT |
| LOW | tests/VirtualMemoryAllocationTests.cpp | 21 | #include <chrono> | COMMENT |
| LOW | tests/VirtualMemoryAllocationTests.cpp | 41 | #include <x86intrin.h> | COMMENT |
| LOW | tests/VirtualMemoryAllocationTests.cpp | 61 | #if KYTY_PLATFORM == KYTY_PLATFORM_WINDOWS | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread_time.h | 21 | */ | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread_time.h | 41 | #endif | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread_time.h | 61 | #ifndef CLOCK_MONOTONIC | COMMENT |
| LOW | 3rdparty/winpthread/include/semaphore.h | 21 | */ | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread_compat.h | 61 | #define WIN_PTHREADS_PTHREAD_COMPAT_H | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread_compat.h | 81 | #define WINPTHREADS_ATTRIBUTE(X) __declspec X | COMMENT |
| LOW | 3rdparty/winpthread/include/sched.h | 21 | */ | COMMENT |
| LOW | 3rdparty/winpthread/include/sched.h | 41 | #define SCHED_MIN SCHED_OTHER | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 61 | COMMENT | |
| LOW | 3rdparty/winpthread/include/pthread.h | 81 | COMMENT | |
| LOW | 3rdparty/winpthread/include/pthread.h | 101 | #ifndef ETIMEDOUT | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 121 | COMMENT | |
| LOW | 3rdparty/winpthread/include/pthread.h | 141 | #define PTHREAD_MUTEX_RECURSIVE 2 | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 421 | #ifndef SIG_UNBLOCK | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 441 | COMMENT | |
| LOW | 3rdparty/winpthread/include/pthread.h | 461 | #define mg_timedreceive(...) (pthread_testcancel(), mg_timedreceive(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 481 | #define sem_timedwait(...) (pthread_testcancel(), sem_timedwait(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 501 | #define ctime(...) (pthread_testcancel(), ctime(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 521 | #define fgets(...) (pthread_testcancel(), fgets(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 541 | #define ftw(...) (pthread_testcancel(), ftw(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 561 | #define gethostname(...) (pthread_testcancel(), gethostname(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 581 | #define getutxent(...) (pthread_testcancel(), getutxent(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 601 | #define pathconf(...) (pthread_testcancel(), pathconf(__VA_ARGS__)) | COMMENT |
| LOW | 3rdparty/winpthread/include/pthread.h | 621 | #define posix_trace_getnext_event(...) (pthread_testcancel(), posix_trace_getnext_event(__VA_ARGS__)) | COMMENT |
| 341 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …shader/recompiler/backend/spirv/spirvEmitterMemory.cpp | 255 | const auto resource = ctx.state.program.info.buffers.at(mem.resource).descriptor_index; | CODE |
| CRITICAL | …shader/recompiler/backend/spirv/spirvEmitterMemory.cpp | 1629 | const auto& buffer = ctx.state.program.info.buffers.at(inst.Flags<uint32_t>()); | CODE |
| CRITICAL | …/shader/recompiler/backend/spirv/spirvEmitterImage.cpp | 295 | const auto dimension = ctx.state.program.info.images.at(resource).dimension; | CODE |