SuperTux source code
This report summarizes scanner evidence for SuperTux/supertux, a C++ project with 3,166 GitHub stars. SynthScan examined 161,524 lines of code across 1118 source files, recording 1210 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 7.6 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1208 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 1210 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 1210 distinct pattern matches across 7 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 | CMakeLists.txt | 1 | # | COMMENT |
| LOW | CMakeLists.txt | 21 | # | COMMENT |
| LOW | CMakeLists.txt | 221 | # TODO: SDL3 | COMMENT |
| LOW | tools/bwrap-supertux.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/upload_supertux_wiki.sh | 1 | #! /bin/bash | COMMENT |
| LOW | tools/font-add-border.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/sexpr.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/build-addon-index.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/png_recompress.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/bootstrap-android-project.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/levelconverter-0.1.3_0.2.0.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | tools/levelconverter-0.1.3_0.2.0.pl | 21 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | COMMENT |
| LOW | tools/scripting_docs_gen/class.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/util.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/CMakeLists.txt | 1 | # SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/parser.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/writer.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/util.hpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/parser.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/main.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/scripting_docs_gen/writer.cpp | 1 | // SuperTux - Scripting reference generator | COMMENT |
| LOW | tools/darwin/makebundle.pl | 1 | #!/opt/local/bin/perl | COMMENT |
| LOW | tools/tilemanager/Tile.cs | 21 | /// <remarks> | COMMENT |
| LOW | tests/unit/reader_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/ifile_stream_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/string_util_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/uid_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/rectf_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/rect_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/md5_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/sizef_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/object_option_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/file_system_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/collision_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/version_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/size_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/aatriangle_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/dynamic_scoped_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/random_test.cpp | 1 | // SuperTux | COMMENT |
| LOW | tests/unit/st_assert.hpp | 1 | // st_assert.hpp - Assert function for tests | COMMENT |
| LOW | tests/unit/util/colorspace_oklab.cpp | 1 | // SuperTux | COMMENT |
| LOW | mk/emscripten/AL/al.h | 1 | #ifndef OPENAL_AL_H__ | COMMENT |
| LOW | mk/emscripten/AL/al.h | 21 | #define AL_EXPONENT_DISTANCE 0xD005 | COMMENT |
| LOW | mk/emscripten/AL/al.h | 41 | #define AL_LINEAR_DISTANCE 0xD003 | COMMENT |
| LOW | mk/emscripten/AL/al.h | 61 | #define AL_SEC_OFFSET 0x1024 | COMMENT |
| LOW | mk/emscripten/AL/alc.h | 1 | #ifndef OPENAL_ALC_H__ | COMMENT |
| LOW | mk/emscripten/AL/alc.h | 21 | #define ALC_EXT_CAPTURE 1 | COMMENT |
| LOW | .github/workflows/windows.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/scripting.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/wasm.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/lint.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/translation_templates.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/macos.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/translations.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/flatpak.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/freebsd.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/android.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/gnulinux.yml | 1 | # SuperTux | COMMENT |
| LOW | .github/workflows/gnulinux.yml | 201 | run: | | COMMENT |
| LOW | .github/workflows/wiki.yml | 1 | # SuperTux | COMMENT |
| 1139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/object/powerup.cpp | 118 | // Older levels utilize hardcoded behaviour from the chosen sprite | COMMENT |
| MEDIUM | src/object/weak_block.cpp | 40 | // Older levels utilize hardcoded behaviour from the "linked" property. | COMMENT |
| MEDIUM | src/supertux/tile_set_parser.cpp | 322 | // b) so that the resulting 'tiles' entry is more robust, | COMMENT |
| MEDIUM | src/supertux/savegame.cpp | 302 | // But i'd really love to actually utilize this save list here, but for now we | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CMakeLists.txt | 23 | # ------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/sexpr.py | 23 | CODE | |
| LOW | tools/build-addon-index.py | 93 | CODE | |
| LOW | tools/build-addon-index.py | 36 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/levelconverter-0.1.3_0.2.0.pl | 28 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/badguy/stumpy.cpp | 130 | // TODO: Handle exception or add relevant logic here. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/build-addon-index.py | 108 | except Exception as e: | CODE |