📺🗿 Terminal graphics for the 21st century.
This report summarizes scanner evidence for hpjansson/chafa, a C project with 5,371 GitHub stars. SynthScan examined 89,917 lines of code across 200 source files, recording 60 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.7 (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? 57 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 60 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 60 distinct pattern matches across 5 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 | tools/chafa/chicle-media-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chafa.c | 21 | COMMENT | |
| LOW | tools/chafa/chafa.c | 41 | COMMENT | |
| LOW | tools/chafa/chicle-font-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-webp-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-path-queue.c | 21 | COMMENT | |
| LOW | tools/chafa/chicle-options.h | 21 | #define __CHICLE_OPTIONS_H__ | COMMENT |
| LOW | tools/chafa/chicle-options.h | 41 | #include <stdlib.h> /* exit */ | COMMENT |
| LOW | tools/chafa/qoi.h | 301 | #ifdef QOI_IMPLEMENTATION | COMMENT |
| LOW | tools/chafa/chicle-qoi-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-file-mapping.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-file-mapping.c | 41 | #endif | COMMENT |
| LOW | tools/chafa/chicle-png-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-heif-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-avif-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-svg-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-util.c | 21 | #include <stdarg.h> | COMMENT |
| LOW | tools/chafa/chicle-gif-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-xwd-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tools/chafa/chicle-coregraphics-loader.c | 21 | COMMENT | |
| LOW | tools/chafa/chicle-options.c | 21 | COMMENT | |
| LOW | tools/chafa/chicle-options.c | 41 | COMMENT | |
| LOW | tools/chafa/chicle-jpeg-loader.c | 21 | #include <stdlib.h> | COMMENT |
| LOW | tools/chafa/chicle-tiff-loader.c | 21 | #include <assert.h> | COMMENT |
| LOW | tests/test-driver.sh | 1 | #! /bin/sh | COMMENT |
| LOW | tests/test-driver.sh | 161 | # time-stamp-time-zone: "UTC0" | COMMENT |
| LOW | examples/adaptive.c | 1 | /* This file is in the public domain, and you are free to use it as you see fit. | COMMENT |
| LOW | lodepng/lodepng.h | 101 | disabled and provide a much smaller implementation externally as said above. You can find such an example implementation | COMMENT |
| LOW | lodepng/lodepng.c | 41 | COMMENT | |
| LOW | lodepng/lodepng-apng.c | 21 | #define BYTES_PER_PIXEL 4 | COMMENT |
| LOW | chafa/chafa-stream-writer.c | 21 | COMMENT | |
| LOW | chafa/chafa-term.c | 21 | COMMENT | |
| LOW | chafa/chafa-version-macros.h | 21 | #define __CHAFA_VERSION_MACROS_H__ | COMMENT |
| LOW | chafa/chafa-version-macros.h | 41 | #define CHAFA_VERSION_1_12 (G_ENCODE_VERSION (1, 12)) | COMMENT |
| LOW | chafa/chafa-version-macros.h | 121 | COMMENT | |
| LOW | chafa/chafa-version-macros.h | 141 | # define CHAFA_DEPRECATED_IN_1_2_FOR(f) G_DEPRECATED_FOR(f) | COMMENT |
| LOW | chafa/chafa-version-macros.h | 161 | #if CHAFA_VERSION_MAX_ALLOWED < CHAFA_VERSION_1_4 | COMMENT |
| LOW | chafa/chafa-version-macros.h | 181 | #if CHAFA_VERSION_MIN_REQUIRED >= CHAFA_VERSION_1_8 | COMMENT |
| LOW | chafa/chafa-version-macros.h | 201 | #endif | COMMENT |
| LOW | chafa/chafa-version-macros.h | 221 | #endif | COMMENT |
| LOW | chafa/chafa-version-macros.h | 241 | # define CHAFA_DEPRECATED_IN_1_16 _CHAFA_EXTERN | COMMENT |
| LOW | chafa/chafa-version-macros.h | 261 | #else | COMMENT |
| LOW | chafa/chafa-stream-reader.c | 21 | COMMENT | |
| LOW | chafa/chafa-canvas.c | 21 | COMMENT | |
| LOW | chafa/chafa.h | 21 | #define __CHAFA_H__ | COMMENT |
| LOW | chafa/chafa.h | 41 | #include <chafa-util.h> | COMMENT |
| LOW | chafa/internal/chafa-symbol-renderer.c | 21 | COMMENT | |
| LOW | chafa/internal/chafa-pixops.c | 21 | COMMENT | |
| LOW | chafa/internal/chafa-color-table.c | 21 | COMMENT | |
| LOW | chafa/internal/chafa-kitty-renderer.c | 21 | COMMENT | |
| LOW | chafa/internal/chafa-private.h | 21 | #define __CHAFA_PRIVATE_H__ | COMMENT |
| LOW | chafa/internal/smolscale/smolscale-private.h | 21 | extern "C" { | COMMENT |
| LOW | chafa/internal/smolscale/smolscale-private.h | 41 | # endif | COMMENT |
| LOW | chafa/internal/smolscale/smolscale-private.h | 61 | COMMENT | |
| LOW | chafa/internal/smolscale/smolscale-private.h | 81 | #else | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test-driver.sh | 26 | # This file is maintained in Automake, please report | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/fontgen/chafa8x8.py | 18 | CODE | |
| LOW | tools/fontgen/chafa8x8.py | 116 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/fontgen/chafa8x8.py | 365 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lodepng/lodepng.c | 83 | lodepng source code. Don't forget to remove "static" if you copypaste them | CODE |