A single-header ANSI C immediate mode cross-platform GUI library
This report summarizes scanner evidence for Immediate-Mode-UI/Nuklear, a C project with 11,480 GitHub stars. SynthScan examined 90,484 lines of code across 143 source files, recording 232 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 2.4 (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? 229 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 232 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 232 distinct pattern matches across 4 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 | demo/xcb_cairo/nuklear_xcb.h | 81 | COMMENT | |
| LOW | demo/xcb_cairo/nuklear_xcb.h | 101 | #endif /* NK_XCB_FPS */ | COMMENT |
| LOW | demo/xcb_cairo/main.c | 1 | /* nuklear - v1.32.0 - public domain */ | COMMENT |
| LOW | demo/xcb_cairo/main.c | 41 | /*#define INCLUDE_ALL */ | COMMENT |
| LOW | demo/xcb_cairo/main.c | 61 | #ifdef INCLUDE_CALCULATOR | COMMENT |
| LOW | demo/sdl_opengl2/main.c | 1 | /* nuklear - 1.32.0 - public domain */ | COMMENT |
| LOW | demo/sdl_opengl2/main.c | 41 | #define INCLUDE_OVERVIEW | COMMENT |
| LOW | demo/sdl_opengl2/main.c | 61 | #include "../../demo/common/canvas.c" | COMMENT |
| LOW | demo/sdl_opengl3/main.c | 1 | /* nuklear - 1.32.0 - public domain */ | COMMENT |
| LOW | demo/sdl_opengl3/main.c | 41 | /*#define INCLUDE_ALL */ | COMMENT |
| LOW | demo/sdl_opengl3/main.c | 61 | #ifdef INCLUDE_CALCULATOR | COMMENT |
| LOW | demo/d3d11/nuklear_d3d11_vertex_shader.h | 1 | #if 0 | COMMENT |
| LOW | demo/d3d11/nuklear_d3d11_vertex_shader.h | 21 | // TEXCOORD 0 xy 2 NONE float xy | COMMENT |
| LOW | demo/d3d11/nuklear_d3d11_pixel_shader.h | 1 | #if 0 | COMMENT |
| LOW | demo/d3d11/nuklear_d3d11_pixel_shader.h | 21 | // | COMMENT |
| LOW | demo/d3d11/main.c | 1 | /* nuklear - 1.32.0 - public domain */ | COMMENT |
| LOW | demo/d3d11/main.c | 41 | /*#define INCLUDE_CONFIGURATOR */ | COMMENT |
| LOW | demo/sdl_opengles2/main.c | 1 | /* nuklear - 1.40.8 - public domain */ | COMMENT |
| LOW | demo/sdl_opengles2/main.c | 41 | * done with this library. To try out an example uncomment the defines */ | COMMENT |
| LOW | demo/sdl_opengles2/main.c | 61 | #endif | COMMENT |
| LOW | demo/sfml_opengl3/main.cpp | 1 | /* nuklear - v1.32.0 - public domain */ | COMMENT |
| LOW | demo/sfml_opengl3/main.cpp | 41 | /*#define INCLUDE_CALCULATOR */ | COMMENT |
| LOW | demo/sfml_opengl3/main.cpp | 61 | #endif | COMMENT |
| LOW | demo/sdl_renderer/main.c | 1 | /* nuklear - 1.32.0 - public domain */ | COMMENT |
| LOW | demo/sdl_renderer/main.c | 41 | /*#define INCLUDE_CONFIGURATOR */ | COMMENT |
| LOW | demo/gdi_native_nuklear/main.c | 1 | #include <windows.h> | COMMENT |
| LOW | demo/sfml_opengl2/main.cpp | 1 | /* nuklear - v1.32.0 - public domain */ | COMMENT |
| LOW | demo/sfml_opengl2/main.cpp | 41 | #define INCLUDE_OVERVIEW | COMMENT |
| LOW | demo/sfml_opengl2/main.cpp | 61 | #include "../../demo/common/canvas.c" | COMMENT |
| LOW | demo/sdl3_opengl3/main.c | 1 | /* nuklear - 1.32.0 - public domain */ | COMMENT |
| LOW | demo/sdl3_opengl3/main.c | 41 | /*#define INCLUDE_ALL */ | COMMENT |
| LOW | demo/sdl3_opengl3/main.c | 61 | #ifdef INCLUDE_CALCULATOR | COMMENT |
| LOW | demo/gdi/main.c | 1 | /* nuklear - 1.32.0 - public domain */ | COMMENT |
| LOW | demo/gdi/main.c | 41 | #define INCLUDE_CONFIGURATOR | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 121 | COMMENT | |
| LOW | demo/common/filebrowser/stb_image.h | 141 | // // ... x = width, y = height, n = # 8-bit components per pixel ... | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 161 | // output otherwise. E.g. if you set desired_channels to 4, you will always | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 181 | // Paletted PNG, BMP, GIF, and PIC images are automatically depalettized. | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 201 | // which defaults to 2**24 = 16777216 pixels. Due to the above memory limit, | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 221 | // Philosophy | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 241 | // | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 261 | // | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 281 | // interface; if you attempt to load an HDR file, it will be automatically remapped | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 301 | // stbi_ldr_to_hdr_gamma(2.2f); | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 321 | // says there's premultiplied data (currently only happens in iPhone images, | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 341 | // | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 381 | STBI_rgb_alpha = 4 | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 541 | // | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 561 | #define STBI_NO_PSD | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 581 | #define STBI_NO_ZLIB | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 601 | #define STBI_ASSERT(x) assert(x) | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 621 | #ifndef STBI_NO_THREAD_LOCALS | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 661 | #ifdef _MSC_VER | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 681 | #define STBI_REALLOC(p,newsz) realloc(p,newsz) | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 701 | // exposed in GCC/Clang is, sadly, not really suited for one-file libs. | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 761 | COMMENT | |
| LOW | demo/common/filebrowser/stb_image.h | 781 | #include <arm_neon.h> | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 981 | #endif | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 1081 | return a >= SHRT_MIN / b; | COMMENT |
| LOW | demo/common/filebrowser/stb_image.h | 1141 | COMMENT | |
| 167 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/build.py | 80 | # ========== | COMMENT |
| MEDIUM | src/build.py | 95 | # ---------- | COMMENT |
| MEDIUM | src/build.py | 131 | # ------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/nuklear_vertex.c | 234 | * and don't forget to specify the new element size in your drawing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/build.py | 33 | CODE |