AI Slop Code Risk Monitor

xmake-io/xmake

SlopCodeMonitor badge for xmake-io/xmake Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🔥 A cross-platform build utility based on Lua

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
12.3K
Stars
Lua
Language
416.1K
Lines of Code
3.8K
Files
673
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 7.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 668 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 0.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 6 finding(s).

PR Review Velocity Impact 7.9/100 · LOW

Which changes need focused human review? 673 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 6LOW 667

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block664 hits · 598 pts
SeverityFileLineSnippetContext
LOWcore/src/tbox/inc/msys/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/msys/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRLEN 1COMMENT
LOWcore/src/tbox/inc/msys/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_WCSSTR 1COMMENT
LOWcore/src/tbox/inc/msys/tbox.config.h101/* #undef TB_CONFIG_LIBC_HAVE_KILL */COMMENT
LOWcore/src/tbox/inc/msys/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_ACOS 1COMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h41/* #undef TB_CONFIG_PACKAGE_HAVE_ZLIB */COMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRLEN 1COMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_WCSCMP 1COMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h101#define TB_CONFIG_LIBC_HAVE_SETLOCALE 1COMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_ASIN 1COMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h141#define TB_CONFIG_POSIX_HAVE_POLL 1COMMENT
LOWcore/src/tbox/inc/iphoneos/tbox.config.h181/* #undef TB_CONFIG_POSIX_HAVE_EXECVPE */COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h41/* #undef TB_CONFIG_PACKAGE_HAVE_ZLIB */COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRLEN 1COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_WCSCMP 1COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h101#define TB_CONFIG_LIBC_HAVE_SETLOCALE 1COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_ASIN 1COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h141#define TB_CONFIG_POSIX_HAVE_POLL 1COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h161/* #undef TB_CONFIG_POSIX_HAVE_SCHED_SETAFFINITY */COMMENT
LOWcore/src/tbox/inc/bsd/tbox.config.h181#define TB_CONFIG_POSIX_HAVE_GETDTABLESIZE 1COMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h41/*#undef TB_CONFIG_PACKAGE_HAVE_ZLIB*/COMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRLEN 1COMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_WCSSTR 1COMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h101#define TB_CONFIG_LIBC_HAVE_KILL 1COMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_ACOS 1COMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h141COMMENT
LOWcore/src/tbox/inc/haiku/tbox.config.h181# undef TB_CONFIG_POSIX_HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP // only for macOS >=10.15COMMENT
LOWcore/src/tbox/inc/mingw/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/mingw/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRLEN 1COMMENT
LOWcore/src/tbox/inc/mingw/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_WCSSTR 1COMMENT
LOWcore/src/tbox/inc/mingw/tbox.config.h101/* #undef TB_CONFIG_LIBC_HAVE_KILL */COMMENT
LOWcore/src/tbox/inc/mingw/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_ACOS 1COMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h41/* #undef TB_CONFIG_PACKAGE_HAVE_MBEDTLS */COMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRCASESTR 1COMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_MBSTOWCS 1COMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h101#define TB_CONFIG_LIBC_HAVE_FGETS 1COMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_FMODF 1COMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h141#define TB_CONFIG_POSIX_HAVE_PTHREAD_GETSPECIFIC 1COMMENT
LOWcore/src/tbox/inc/macosx/tbox.config.h181#define TB_CONFIG_POSIX_HAVE_WAITPID 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h41/* #undef TB_CONFIG_PACKAGE_HAVE_MBEDTLS */COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRCASESTR 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_MBSTOWCS 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h101#define TB_CONFIG_LIBC_HAVE_FGETS 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_FMODF 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h141#define TB_CONFIG_POSIX_HAVE_PTHREAD_GETSPECIFIC 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h161#define TB_CONFIG_POSIX_HAVE_SEM_INIT 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h181#elseCOMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h201#define TB_CONFIG_POSIX_HAVE_GETADDRINFO 1COMMENT
LOWcore/src/tbox/inc/linux/tbox.config.h221#define TB_CONFIG_SYSTEMV_HAVE_SEMTIMEDOP 1COMMENT
LOWcore/src/tbox/inc/solaris/tbox.config.h1#ifndef TB_CONFIG_HCOMMENT
LOWcore/src/tbox/inc/solaris/tbox.config.h61#define TB_CONFIG_LIBC_HAVE_STRLEN 1COMMENT
LOWcore/src/tbox/inc/solaris/tbox.config.h81#define TB_CONFIG_LIBC_HAVE_WCSCMP 1COMMENT
LOWcore/src/tbox/inc/solaris/tbox.config.h101#define TB_CONFIG_LIBC_HAVE_SETLOCALE 1COMMENT
LOWcore/src/tbox/inc/solaris/tbox.config.h121#define TB_CONFIG_LIBM_HAVE_ASIN 1COMMENT
LOWcore/src/tbox/inc/solaris/tbox.config.h141#define TB_CONFIG_POSIX_HAVE_POLL 1COMMENT
604 more matches not shown…
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMscripts/get.sh8#-----------------------------------------------------------------------------COMMENT
MEDIUMscripts/get.sh44#-----------------------------------------------------------------------------COMMENT
MEDIUMscripts/get.sh121#-----------------------------------------------------------------------------COMMENT
MEDIUMscripts/get.sh157#-----------------------------------------------------------------------------COMMENT
MEDIUMscripts/get.sh212#-----------------------------------------------------------------------------COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/projects/windows/driver/kmdf/serial/pnp.c2316 // Well, we think it's a serial device. AbsolutelyCOMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/projects/windows/driver/kmdf/serial/read.c1137 // We need to check if the stream of readable charactersCOMMENT
LOWtests/projects/windows/driver/kmdf/serial/modmflow.c1398 // We need to check if transmission is holdingCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…scripts/conan/extensions/generators/xmake_generator.py104 def __prepare_process_escape_character(self, raw_string):CODE