General purpose 3D and 2D game engine using Go (golang) and Vulkan with built in editor
This report summarizes scanner evidence for KaijuEngine/kaiju, a Go project with 4,732 GitHub stars. SynthScan examined 318,679 lines of code across 1683 source files, recording 271 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 253 finding(s).
Are imports declared and package/API names verified? 18 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 271 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 271 distinct pattern matches across 11 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 | src/bootstrap/game_interface.go | 21 | // engine, so it is on the the implementing code to take care of registering | COMMENT |
| LOW | src/framework/spawn_template.go | 41 | } | COMMENT |
| LOW | src/plugins/lua/llimits.h | 101 | ** Internal assertions for in-house debugging | COMMENT |
| LOW | src/plugins/lua/llimits.h | 121 | */ | COMMENT |
| LOW | src/plugins/lua/llimits.h | 141 | #define cast_int(i) cast(int, (i)) | COMMENT |
| LOW | src/plugins/lua/llimits.h | 161 | #define l_castU2S(i) ((lua_Integer)(i)) | COMMENT |
| LOW | src/plugins/lua/llimits.h | 281 | #if !defined(luai_userstateopen) | COMMENT |
| LOW | src/plugins/lua/llimits.h | 341 | ((void)L, (b == 2) ? (a)*(a) : l_mathop(pow)(a,b)) | COMMENT |
| LOW | src/plugins/lua/llimits.h | 361 | COMMENT | |
| LOW | src/plugins/lua/luaconf.h | 61 | #if defined(LUA_USE_LINUX) | COMMENT |
| LOW | src/plugins/lua/luaconf.h | 221 | LUA_CDIR"loadall.dll;" ".\\?.dll" | COMMENT |
| LOW | src/plugins/lua/luaconf.h | 461 | COMMENT | |
| LOW | src/plugins/lua/luaconf.h | 681 | #if !defined(luai_likely) | COMMENT |
| LOW | src/plugins/lua/lgc.h | 61 | #define setbits(x,m) ((x) |= (m)) | COMMENT |
| LOW | src/plugins/lua/lgc.h | 101 | COMMENT | |
| LOW | src/plugins/lua/liolib.c | 121 | COMMENT | |
| LOW | src/plugins/lua/lua.hpp | 1 | // lua.hpp | COMMENT |
| LOW | src/plugins/lua/lua.go | 21 | #cgo noescape m_lua_isfunction | COMMENT |
| LOW | src/plugins/lua/lua.go | 41 | #cgo noescape luaL_newstate | COMMENT |
| LOW | src/plugins/lua/lvm.c | 21 | #include "ldebug.h" | COMMENT |
| LOW | src/plugins/lua/lvm.c | 1061 | */ | COMMENT |
| LOW | src/plugins/lua/lstrlib.c | 1 | /* | COMMENT |
| LOW | src/plugins/lua/ltable.c | 21 | ** in its main position (i.e. the 'original' position that its hash gives | COMMENT |
| LOW | src/plugins/lua/lobject.h | 321 | COMMENT | |
| LOW | src/plugins/lua/lopcodes.h | 41 | #define SIZE_A 8 | COMMENT |
| LOW | src/plugins/lua/lopcodes.h | 81 | #define MAXARG_Ax ((1<<SIZE_Ax)-1) | COMMENT |
| LOW | src/plugins/lua/lopcodes.h | 121 | #define getarg(i,pos,size) (cast_int(((i)>>(pos)) & MASK1(size,0))) | COMMENT |
| LOW | src/plugins/lua/loslib.c | 121 | COMMENT | |
| LOW | src/plugins/lua/lcode.c | 21 | #include "ldebug.h" | COMMENT |
| LOW | src/plugins/lua/lapi.c | 21 | #include "ldo.h" | COMMENT |
| LOW | src/plugins/lua/lua.h | 61 | ** basic types | COMMENT |
| LOW | src/plugins/lua/lua.h | 221 | #define LUA_OPDIV 5 | COMMENT |
| LOW | src/plugins/lua/lua.h | 321 | */ | COMMENT |
| LOW | src/plugins/lua/lua.h | 381 | COMMENT | |
| LOW | src/plugins/lua/ldebug.c | 21 | #include "ldebug.h" | COMMENT |
| LOW | src/plugins/lua/lparser.c | 21 | #include "lfunc.h" | COMMENT |
| LOW | src/plugins/lua/lctype.h | 21 | #if 'A' == 65 && '0' == 48 | COMMENT |
| LOW | src/plugins/lua/ldo.c | 21 | #include "ldo.h" | COMMENT |
| LOW | src/plugins/lua/ldo.c | 61 | #define luai_jmpbuf int /* dummy variable */ | COMMENT |
| LOW | src/platform/steam/steam_api.go | 21 | #cgo noescape c_SteamAPI_Shutdown | COMMENT |
| LOW | src/platform/steam/steam_wrapper.h | 21 | //////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | src/platform/steam/steam_wrapper.h | 41 | #endif | COMMENT |
| LOW | src/platform/windowing/x11.c | 41 | COMMENT | |
| LOW | src/platform/windowing/strings.c | 41 | COMMENT | |
| LOW | src/platform/windowing/window_windows.go | 21 | COMMENT | |
| LOW | src/platform/windowing/window_windows.go | 41 | #cgo noescape window_poll_controller | COMMENT |
| LOW | src/platform/windowing/cocoa_window.h | 101 | // Nonzero while AppKit is performing a live (interactive) window resize. The render | COMMENT |
| LOW | src/platform/windowing/window.x11.go | 21 | #cgo noescape window_position | COMMENT |
| LOW | src/platform/windowing/android.c | 41 | COMMENT | |
| LOW | src/platform/windowing/window_android.go | 21 | /* | COMMENT |
| LOW | src/platform/windowing/strings.h | 41 | #include <stdio.h> | COMMENT |
| LOW | src/platform/windowing/x11.h | 41 | #include <X11/Xlib.h> | COMMENT |
| LOW | src/platform/windowing/shared_mem.h | 1 | COMMENT | |
| LOW | src/platform/windowing/shared_mem.h | 21 | COMMENT | |
| LOW | src/platform/windowing/cocoa_window.m | 1 | // Fixed Cocoa backend: single event ingestion model, no polling, no double-dispatch | COMMENT |
| LOW | src/platform/windowing/cocoa_window.m | 21 | COMMENT | |
| LOW | src/platform/windowing/windowing.h | 41 | #if defined(_WIN32) || defined(_WIN64) | COMMENT |
| LOW | src/platform/windowing/memory.h | 1 | COMMENT | |
| LOW | src/platform/windowing/win32.c | 41 | COMMENT | |
| LOW | src/platform/windowing/win32.c | 61 | #include <string.h> | COMMENT |
| 179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …_graph_workspace/render_graph_workspace_create_menu.go | 108 | if m.workspace.Host.Window.Keyboard.KeyDown(hid.KeyboardKeyEscape) { | CODE |
| CRITICAL | src/editor/global_interface/status_bar/status_bar.go | 160 | pos := b.uiMan.Host.Window.Mouse.ScreenPosition() | CODE |
| CRITICAL | …r_overlay/content_selector/content_selector_overlay.go | 164 | o.uiMan.Host.Window.Keyboard.RemoveKeyCallback(o.keyKb) | CODE |
| CRITICAL | …or/editor_overlay/file_browser/file_browser_overlay.go | 151 | fb.uiMan.Host.Window.Keyboard.RemoveKeyCallback(keyCallbackId) | CODE |
| CRITICAL | …ditor_overlay/action_palette/action_palette_overlay.go | 114 | p.uiMan.Host.Window.Keyboard.RemoveKeyCallback(p.keyKb) | CODE |
| CRITICAL | …ditor_stage_manager/editor_stage_view/stage_picking.go | 342 | p.view.host.Window.GpuInstance == nil || !p.view.host.Window.GpuInstance.IsValid() { | CODE |
| CRITICAL | …ditor_stage_manager/editor_stage_view/stage_picking.go | 345 | return p.view.host.Window.GpuInstance.PrimaryDevice() | CODE |
| CRITICAL | …e_manager/editor_stage_view/select_tool/select_tool.go | 84 | p := s.uiMan.Host.Window.Cursor.ScreenPosition() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/platform/windowing/cocoa_window.m | 2 | // APIs preserved as requested | COMMENT |
| HIGH | src/platform/windowing/win32.c | 896 | // Reset rawInputRequested to true as requested by develper code | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | AGENTS.md | 673 | input.Init("placeholder") | CODE |
| LOW | agent_skill/kaijuengine-game-dev/reference/ui.md | 66 | input := man.Add().ToInput(); input.Init("placeholder") | CODE |
| LOW | …/engine/ui/markup/css/pseudos/css_placeholder_shown.go | 15 | if isValidationControl(elm) && elm.HasAttribute("placeholder") { | CODE |
| LOW | src/engine/ui/markup/document/html_parser_test.go | 65 | if got := textarea.Attribute("placeholder"); got != "Say something" { | CODE |
| LOW | src/engine/ui/markup/document/html_parser.go | 340 | input.Init(e.Attribute("placeholder")) | CODE |
| LOW | src/engine/ui/markup/document/html_parser.go | 380 | textarea.Init(e.Attribute("placeholder")) | CODE |
| LOW | src/engine/encoding/pod/pod_test.go | 382 | Street: "123 Main St", | CODE |
| LOW | …oject_database/content_database/cache_database_test.go | 50 | const validConfig = `{"Name":"placeholder","Type":"texture"}` | CODE |
| LOW | …oject_database/content_database/cache_database_test.go | 188 | if cfg.Name != "placeholder" { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/ci-build-test.yml | 417 | # NVIDIA with extended validation (best practices + sync) | COMMENT |
| MEDIUM | .github/workflows/ci-build-test.yml | 478 | # Extended validation with GPU-assisted, best practices, and synchronization | COMMENT |
| MEDIUM | src/editor/editor_plugin_data.go | 567 | // is left untouched. This is more robust than a HasPrefix check against | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | AGENTS.md | 168 | ### Step 1: Implement GameInterface | COMMENT |
| LOW | AGENTS.md | 195 | ### Step 2: Implement Launch | COMMENT |
| LOW | AGENTS.md | 208 | ### Step 3: Register Updates | COMMENT |
| LOW | AGENTS.md | 221 | ### Step 4: Bootstrap | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/editor/plugins.md | 62 | // TODO: implement plugin behaviour | COMMENT |
| LOW | src/engine/stages/stage.go | 307 | // TODO: Handle error? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/main.ed.go | 27 | // feel free to modify this code for any special needs, but beware that when | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/editor/editor_plugin/editor_plugin_manager.go | 43 | // Example call (taken from the scaffold body below): | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mkdocs/generate_blog_posts_json.py | 18 | def _read_existing_categories(output_path: Path) -> dict[str, str]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mkdocs/generate_blog_posts_json.py | 1 | CODE |