AI Slop Code Risk Monitor

jemalloc/jemalloc

SlopCodeMonitor badge for jemalloc/jemalloc Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jemalloc/jemalloc, a C project with 11,257 GitHub stars. SynthScan examined 115,246 lines of code across 536 source files, recording 154 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
11.3K
Stars
C
Language
115.2K
Lines of Code
536
Files
154
Pattern Hits
2026-10-31
Scan Date
0.01
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 6.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 7.9/100 · LOW

Which changes need focused human review? 154 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 7MEDIUM 0LOW 147

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 154 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.

Over-Commented Block138 hits · 138 pts
SeverityFileLineSnippetContext
LOWmsvc/test_threads/test_threads.cpp1// jemalloc C++ threaded testCOMMENT
LOWtest/unit/arena_reset_prof.c1#include "test/jemalloc_test.h"COMMENT
LOWtest/include/test/SFMT-params2281.h41#define SL2 1COMMENT
LOWtest/include/test/SFMT-params.h101COMMENT
LOWtest/include/test/SFMT-params.h121# include "test/SFMT-params216091.h"COMMENT
LOWtest/include/test/SFMT-params1279.h41#define SL2 3COMMENT
LOWtest/include/test/SFMT-params44497.h41#define SL2 3COMMENT
LOWtest/include/test/test.h21COMMENT
LOWtest/include/test/test.h41#define expect_x_eq(a, b, ...) expect_cmp(int, a, b, ==, !=, "#x", __VA_ARGS__)COMMENT
LOWtest/include/test/test.h61COMMENT
LOWtest/include/test/test.h301COMMENT
LOWtest/include/test/test.h321#define assert_c_gt(a, b, ...) assert_cmp(char, a, b, >, <=, "c", __VA_ARGS__)COMMENT
LOWtest/include/test/test.h341#define assert_u_ge(a, b, ...) assert_cmp(int, a, b, >=, <, "u", __VA_ARGS__)COMMENT
LOWtest/include/test/SFMT-params4253.h41#define SL2 1COMMENT
LOWtest/include/test/SFMT-params11213.h41#define SL2 3COMMENT
LOWtest/include/test/SFMT-params86243.h41#define SL2 7COMMENT
LOWtest/include/test/SFMT-params132049.h41#define SL2 1COMMENT
LOWtest/include/test/SFMT-params216091.h41#define SL2 3COMMENT
LOWtest/include/test/SFMT-params19937.h41#define SL2 1COMMENT
LOWtest/include/test/SFMT-params607.h41#define SL2 3COMMENT
LOWtest/stress/pa/pa_microbench.c1#include "test/jemalloc_test.h"COMMENT
LOWtest/src/math.c1#define MATH_C_COMMENT
LOWtest/src/SFMT.c41 * @author Makoto Matsumoto (Hiroshima University)COMMENT
LOWinclude/jemalloc/internal/pac.h1#ifndef JEMALLOC_INTERNAL_PAC_HCOMMENT
LOWinclude/jemalloc/internal/jemalloc_probe_custom.h41#ifdef __LP64__COMMENT
LOWinclude/jemalloc/internal/rtree.h21#define RTREE_NHIB ((1U << (LG_SIZEOF_PTR + 3)) - LG_VADDR)COMMENT
LOWinclude/jemalloc/internal/rtree.h41#elif RTREE_NSB_MAX <= 52COMMENT
LOWinclude/jemalloc/internal/test_hooks.h1#ifndef JEMALLOC_INTERNAL_TEST_HOOKS_HCOMMENT
LOWinclude/jemalloc/internal/test_hooks.h21# define secure_getenv \COMMENT
LOWinclude/jemalloc/internal/lockedint.h41# define LOCKEDINT_MTX_POSTFORK_PARENT(tsdn, mu) \COMMENT
LOWinclude/jemalloc/internal/pages.h1#ifndef JEMALLOC_INTERNAL_PAGES_EXTERNS_HCOMMENT
LOWinclude/jemalloc/internal/pages.h21/* Page size. LG_PAGE is determined by the configure script. */COMMENT
LOWinclude/jemalloc/internal/pages.h101COMMENT
LOWinclude/jemalloc/internal/pages.h121#elseCOMMENT
LOWinclude/jemalloc/internal/tsd.h1#ifndef JEMALLOC_INTERNAL_TSD_HCOMMENT
LOWinclude/jemalloc/internal/nstime.h1#ifndef JEMALLOC_INTERNAL_NSTIME_HCOMMENT
LOWinclude/jemalloc/internal/san.h1#ifndef JEMALLOC_INTERNAL_GUARD_HCOMMENT
LOWinclude/jemalloc/internal/ctl.h1#ifndef JEMALLOC_INTERNAL_CTL_HCOMMENT
LOWinclude/jemalloc/internal/rtree_tsd.h21 * cache.COMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_inlines_a.h1#ifndef JEMALLOC_INTERNAL_INLINES_A_HCOMMENT
LOWinclude/jemalloc/internal/jemalloc_probe.h1#ifndef JEMALLOC_INTERNAL_JEMALLOC_PROBE_HCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_macros.h1#ifndef JEMALLOC_INTERNAL_MACROS_HCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_macros.h21#define ZD(z) ((ssize_t)z)COMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_macros.h41# define JET_EXTERN externCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_macros.h81 */COMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_macros.h101# define JEMALLOC_DIAGNOSTIC_IGNORE_ALLOC_SIZE_LARGER_THANCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_macros.h121# define JEMALLOC_DIAGNOSTIC_DISABLE_SPURIOUSCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_decls.h1#ifndef JEMALLOC_INTERNAL_DECLS_HCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_decls.h21# include <sys/mman.h>COMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_decls.h41# endifCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_decls.h61# define SIZE_T_MAX SIZE_MAXCOMMENT
LOWinclude/jemalloc/internal/jemalloc_internal_decls.h81# define PATH_MAX 1024COMMENT
LOWinclude/jemalloc/internal/pa.h1#ifndef JEMALLOC_INTERNAL_PA_HCOMMENT
LOWinclude/jemalloc/internal/malloc_dispatch_inlines.h1#ifndef JEMALLOC_INTERNAL_MALLOC_DISPATCH_INLINES_HCOMMENT
LOWinclude/jemalloc/internal/log.h1#ifndef JEMALLOC_INTERNAL_LOG_HCOMMENT
LOWinclude/jemalloc/internal/background_thread.h1#ifndef JEMALLOC_INTERNAL_BACKGROUND_THREAD_HCOMMENT
LOWinclude/jemalloc/internal/arena_inlines.h1#ifndef JEMALLOC_INTERNAL_ARENA_INLINES_HCOMMENT
LOWinclude/jemalloc/internal/tcache_inlines.h1#ifndef JEMALLOC_INTERNAL_TCACHE_INLINES_HCOMMENT
LOWinclude/jemalloc/internal/smoothstep.sh1#!/bin/shCOMMENT
LOWinclude/jemalloc/internal/util.h41#define STRINGIFY(x) STRINGIFY_HELPER(x)COMMENT
78 more matches not shown…
Cross-Language Confusion6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHscripts/gen_run_tests.py111 \$@ >> run_test.log 2>&1 || abortCODE
HIGHscripts/gen_run_tests.py119%(config_line)s >> run_test.log 2>&1 || abortCODE
HIGHscripts/gen_travis.py44 scripts/gen_travis.py > travis_script && diff .travis.yml travis_scriptCODE
HIGHscripts/gen_gh_actions.py431 cat /etc/os-release || trueCODE
HIGHscripts/gen_gh_actions.py866 name: FreeBSD (${{{{ matrix.arch }}}}, debug=${{{{ matrix.debug }}}}, prof=${{{{ matrix.prof }}}}${{{{ matrix.dps &&CODE
HIGHscripts/gen_gh_actions.py945 pkg publisher extra.omnios >/dev/null 2>&1 || pkg set-publisher -g https://pkg.omnios.org/${{ matrix.omnios }}CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscripts/gen_run_tests.py34except:CODE
Hyper-Verbose Identifiers4 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/gen_travis.py221def generate_unusual_combinations(unusuals, max_unusual_opts):STRING
LOWscripts/gen_gh_actions.py215def generate_job_matrix_entries(os, arch, exclude, max_unusual_opts, unusuals=all_unusuals):CODE
LOWscripts/gen_gh_actions.py779def generate_windows_msbuild_job():STRING
LOWscripts/gen_gh_actions.py992def generate_linux_build_include_order_job():STRING
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/gen_travis.py4CODE
LOWscripts/gen_gh_actions.py4CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/gen_gh_actions.py227CODE
LOWscripts/gen_gh_actions.py1006CODE
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/prof_recent.c89 * "placeholder"; the real recording of the allocation requires a lockCOMMENT