🔥 A cross-platform build utility based on Lua
This report summarizes scanner evidence for xmake-io/xmake, a Lua project with 12,282 GitHub stars. SynthScan examined 416,071 lines of code across 3771 source files, recording 673 pattern matches distributed across 5 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? 668 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 6 finding(s).
Which changes need focused human review? 673 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 673 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 | core/src/tbox/inc/msys/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/msys/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRLEN 1 | COMMENT |
| LOW | core/src/tbox/inc/msys/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_WCSSTR 1 | COMMENT |
| LOW | core/src/tbox/inc/msys/tbox.config.h | 101 | /* #undef TB_CONFIG_LIBC_HAVE_KILL */ | COMMENT |
| LOW | core/src/tbox/inc/msys/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_ACOS 1 | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 41 | /* #undef TB_CONFIG_PACKAGE_HAVE_ZLIB */ | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRLEN 1 | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_WCSCMP 1 | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 101 | #define TB_CONFIG_LIBC_HAVE_SETLOCALE 1 | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_ASIN 1 | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 141 | #define TB_CONFIG_POSIX_HAVE_POLL 1 | COMMENT |
| LOW | core/src/tbox/inc/iphoneos/tbox.config.h | 181 | /* #undef TB_CONFIG_POSIX_HAVE_EXECVPE */ | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 41 | /* #undef TB_CONFIG_PACKAGE_HAVE_ZLIB */ | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRLEN 1 | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_WCSCMP 1 | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 101 | #define TB_CONFIG_LIBC_HAVE_SETLOCALE 1 | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_ASIN 1 | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 141 | #define TB_CONFIG_POSIX_HAVE_POLL 1 | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 161 | /* #undef TB_CONFIG_POSIX_HAVE_SCHED_SETAFFINITY */ | COMMENT |
| LOW | core/src/tbox/inc/bsd/tbox.config.h | 181 | #define TB_CONFIG_POSIX_HAVE_GETDTABLESIZE 1 | COMMENT |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 41 | /*#undef TB_CONFIG_PACKAGE_HAVE_ZLIB*/ | COMMENT |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRLEN 1 | COMMENT |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_WCSSTR 1 | COMMENT |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 101 | #define TB_CONFIG_LIBC_HAVE_KILL 1 | COMMENT |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_ACOS 1 | COMMENT |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 141 | COMMENT | |
| LOW | core/src/tbox/inc/haiku/tbox.config.h | 181 | # undef TB_CONFIG_POSIX_HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP // only for macOS >=10.15 | COMMENT |
| LOW | core/src/tbox/inc/mingw/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/mingw/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRLEN 1 | COMMENT |
| LOW | core/src/tbox/inc/mingw/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_WCSSTR 1 | COMMENT |
| LOW | core/src/tbox/inc/mingw/tbox.config.h | 101 | /* #undef TB_CONFIG_LIBC_HAVE_KILL */ | COMMENT |
| LOW | core/src/tbox/inc/mingw/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_ACOS 1 | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 41 | /* #undef TB_CONFIG_PACKAGE_HAVE_MBEDTLS */ | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRCASESTR 1 | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_MBSTOWCS 1 | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 101 | #define TB_CONFIG_LIBC_HAVE_FGETS 1 | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_FMODF 1 | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 141 | #define TB_CONFIG_POSIX_HAVE_PTHREAD_GETSPECIFIC 1 | COMMENT |
| LOW | core/src/tbox/inc/macosx/tbox.config.h | 181 | #define TB_CONFIG_POSIX_HAVE_WAITPID 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 41 | /* #undef TB_CONFIG_PACKAGE_HAVE_MBEDTLS */ | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRCASESTR 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_MBSTOWCS 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 101 | #define TB_CONFIG_LIBC_HAVE_FGETS 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_FMODF 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 141 | #define TB_CONFIG_POSIX_HAVE_PTHREAD_GETSPECIFIC 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 161 | #define TB_CONFIG_POSIX_HAVE_SEM_INIT 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 181 | #else | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 201 | #define TB_CONFIG_POSIX_HAVE_GETADDRINFO 1 | COMMENT |
| LOW | core/src/tbox/inc/linux/tbox.config.h | 221 | #define TB_CONFIG_SYSTEMV_HAVE_SEMTIMEDOP 1 | COMMENT |
| LOW | core/src/tbox/inc/solaris/tbox.config.h | 1 | #ifndef TB_CONFIG_H | COMMENT |
| LOW | core/src/tbox/inc/solaris/tbox.config.h | 61 | #define TB_CONFIG_LIBC_HAVE_STRLEN 1 | COMMENT |
| LOW | core/src/tbox/inc/solaris/tbox.config.h | 81 | #define TB_CONFIG_LIBC_HAVE_WCSCMP 1 | COMMENT |
| LOW | core/src/tbox/inc/solaris/tbox.config.h | 101 | #define TB_CONFIG_LIBC_HAVE_SETLOCALE 1 | COMMENT |
| LOW | core/src/tbox/inc/solaris/tbox.config.h | 121 | #define TB_CONFIG_LIBM_HAVE_ASIN 1 | COMMENT |
| LOW | core/src/tbox/inc/solaris/tbox.config.h | 141 | #define TB_CONFIG_POSIX_HAVE_POLL 1 | COMMENT |
| 604 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/get.sh | 8 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/get.sh | 44 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/get.sh | 121 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/get.sh | 157 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/get.sh | 212 | #----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/projects/windows/driver/kmdf/serial/pnp.c | 2316 | // Well, we think it's a serial device. Absolutely | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/projects/windows/driver/kmdf/serial/read.c | 1137 | // We need to check if the stream of readable characters | COMMENT |
| LOW | tests/projects/windows/driver/kmdf/serial/modmflow.c | 1398 | // We need to check if transmission is holding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …scripts/conan/extensions/generators/xmake_generator.py | 104 | def __prepare_process_escape_character(self, raw_string): | CODE |