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.
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? 144 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 5 finding(s).
Which changes need focused human review? 154 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | msvc/test_threads/test_threads.cpp | 1 | // jemalloc C++ threaded test | COMMENT |
| LOW | test/unit/arena_reset_prof.c | 1 | #include "test/jemalloc_test.h" | COMMENT |
| LOW | test/include/test/SFMT-params2281.h | 41 | #define SL2 1 | COMMENT |
| LOW | test/include/test/SFMT-params.h | 101 | COMMENT | |
| LOW | test/include/test/SFMT-params.h | 121 | # include "test/SFMT-params216091.h" | COMMENT |
| LOW | test/include/test/SFMT-params1279.h | 41 | #define SL2 3 | COMMENT |
| LOW | test/include/test/SFMT-params44497.h | 41 | #define SL2 3 | COMMENT |
| LOW | test/include/test/test.h | 21 | COMMENT | |
| LOW | test/include/test/test.h | 41 | #define expect_x_eq(a, b, ...) expect_cmp(int, a, b, ==, !=, "#x", __VA_ARGS__) | COMMENT |
| LOW | test/include/test/test.h | 61 | COMMENT | |
| LOW | test/include/test/test.h | 301 | COMMENT | |
| LOW | test/include/test/test.h | 321 | #define assert_c_gt(a, b, ...) assert_cmp(char, a, b, >, <=, "c", __VA_ARGS__) | COMMENT |
| LOW | test/include/test/test.h | 341 | #define assert_u_ge(a, b, ...) assert_cmp(int, a, b, >=, <, "u", __VA_ARGS__) | COMMENT |
| LOW | test/include/test/SFMT-params4253.h | 41 | #define SL2 1 | COMMENT |
| LOW | test/include/test/SFMT-params11213.h | 41 | #define SL2 3 | COMMENT |
| LOW | test/include/test/SFMT-params86243.h | 41 | #define SL2 7 | COMMENT |
| LOW | test/include/test/SFMT-params132049.h | 41 | #define SL2 1 | COMMENT |
| LOW | test/include/test/SFMT-params216091.h | 41 | #define SL2 3 | COMMENT |
| LOW | test/include/test/SFMT-params19937.h | 41 | #define SL2 1 | COMMENT |
| LOW | test/include/test/SFMT-params607.h | 41 | #define SL2 3 | COMMENT |
| LOW | test/stress/pa/pa_microbench.c | 1 | #include "test/jemalloc_test.h" | COMMENT |
| LOW | test/src/math.c | 1 | #define MATH_C_ | COMMENT |
| LOW | test/src/SFMT.c | 41 | * @author Makoto Matsumoto (Hiroshima University) | COMMENT |
| LOW | include/jemalloc/internal/pac.h | 1 | #ifndef JEMALLOC_INTERNAL_PAC_H | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_probe_custom.h | 41 | #ifdef __LP64__ | COMMENT |
| LOW | include/jemalloc/internal/rtree.h | 21 | #define RTREE_NHIB ((1U << (LG_SIZEOF_PTR + 3)) - LG_VADDR) | COMMENT |
| LOW | include/jemalloc/internal/rtree.h | 41 | #elif RTREE_NSB_MAX <= 52 | COMMENT |
| LOW | include/jemalloc/internal/test_hooks.h | 1 | #ifndef JEMALLOC_INTERNAL_TEST_HOOKS_H | COMMENT |
| LOW | include/jemalloc/internal/test_hooks.h | 21 | # define secure_getenv \ | COMMENT |
| LOW | include/jemalloc/internal/lockedint.h | 41 | # define LOCKEDINT_MTX_POSTFORK_PARENT(tsdn, mu) \ | COMMENT |
| LOW | include/jemalloc/internal/pages.h | 1 | #ifndef JEMALLOC_INTERNAL_PAGES_EXTERNS_H | COMMENT |
| LOW | include/jemalloc/internal/pages.h | 21 | /* Page size. LG_PAGE is determined by the configure script. */ | COMMENT |
| LOW | include/jemalloc/internal/pages.h | 101 | COMMENT | |
| LOW | include/jemalloc/internal/pages.h | 121 | #else | COMMENT |
| LOW | include/jemalloc/internal/tsd.h | 1 | #ifndef JEMALLOC_INTERNAL_TSD_H | COMMENT |
| LOW | include/jemalloc/internal/nstime.h | 1 | #ifndef JEMALLOC_INTERNAL_NSTIME_H | COMMENT |
| LOW | include/jemalloc/internal/san.h | 1 | #ifndef JEMALLOC_INTERNAL_GUARD_H | COMMENT |
| LOW | include/jemalloc/internal/ctl.h | 1 | #ifndef JEMALLOC_INTERNAL_CTL_H | COMMENT |
| LOW | include/jemalloc/internal/rtree_tsd.h | 21 | * cache. | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_inlines_a.h | 1 | #ifndef JEMALLOC_INTERNAL_INLINES_A_H | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_probe.h | 1 | #ifndef JEMALLOC_INTERNAL_JEMALLOC_PROBE_H | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_macros.h | 1 | #ifndef JEMALLOC_INTERNAL_MACROS_H | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_macros.h | 21 | #define ZD(z) ((ssize_t)z) | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_macros.h | 41 | # define JET_EXTERN extern | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_macros.h | 81 | */ | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_macros.h | 101 | # define JEMALLOC_DIAGNOSTIC_IGNORE_ALLOC_SIZE_LARGER_THAN | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_macros.h | 121 | # define JEMALLOC_DIAGNOSTIC_DISABLE_SPURIOUS | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_decls.h | 1 | #ifndef JEMALLOC_INTERNAL_DECLS_H | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_decls.h | 21 | # include <sys/mman.h> | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_decls.h | 41 | # endif | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_decls.h | 61 | # define SIZE_T_MAX SIZE_MAX | COMMENT |
| LOW | include/jemalloc/internal/jemalloc_internal_decls.h | 81 | # define PATH_MAX 1024 | COMMENT |
| LOW | include/jemalloc/internal/pa.h | 1 | #ifndef JEMALLOC_INTERNAL_PA_H | COMMENT |
| LOW | include/jemalloc/internal/malloc_dispatch_inlines.h | 1 | #ifndef JEMALLOC_INTERNAL_MALLOC_DISPATCH_INLINES_H | COMMENT |
| LOW | include/jemalloc/internal/log.h | 1 | #ifndef JEMALLOC_INTERNAL_LOG_H | COMMENT |
| LOW | include/jemalloc/internal/background_thread.h | 1 | #ifndef JEMALLOC_INTERNAL_BACKGROUND_THREAD_H | COMMENT |
| LOW | include/jemalloc/internal/arena_inlines.h | 1 | #ifndef JEMALLOC_INTERNAL_ARENA_INLINES_H | COMMENT |
| LOW | include/jemalloc/internal/tcache_inlines.h | 1 | #ifndef JEMALLOC_INTERNAL_TCACHE_INLINES_H | COMMENT |
| LOW | include/jemalloc/internal/smoothstep.sh | 1 | #!/bin/sh | COMMENT |
| LOW | include/jemalloc/internal/util.h | 41 | #define STRINGIFY(x) STRINGIFY_HELPER(x) | COMMENT |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/gen_run_tests.py | 111 | \$@ >> run_test.log 2>&1 || abort | CODE |
| HIGH | scripts/gen_run_tests.py | 119 | %(config_line)s >> run_test.log 2>&1 || abort | CODE |
| HIGH | scripts/gen_travis.py | 44 | scripts/gen_travis.py > travis_script && diff .travis.yml travis_script | CODE |
| HIGH | scripts/gen_gh_actions.py | 431 | cat /etc/os-release || true | CODE |
| HIGH | scripts/gen_gh_actions.py | 866 | name: FreeBSD (${{{{ matrix.arch }}}}, debug=${{{{ matrix.debug }}}}, prof=${{{{ matrix.prof }}}}${{{{ matrix.dps && | CODE |
| HIGH | scripts/gen_gh_actions.py | 945 | pkg publisher extra.omnios >/dev/null 2>&1 || pkg set-publisher -g https://pkg.omnios.org/${{ matrix.omnios }} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/gen_run_tests.py | 34 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gen_travis.py | 221 | def generate_unusual_combinations(unusuals, max_unusual_opts): | STRING |
| LOW | scripts/gen_gh_actions.py | 215 | def generate_job_matrix_entries(os, arch, exclude, max_unusual_opts, unusuals=all_unusuals): | CODE |
| LOW | scripts/gen_gh_actions.py | 779 | def generate_windows_msbuild_job(): | STRING |
| LOW | scripts/gen_gh_actions.py | 992 | def generate_linux_build_include_order_job(): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gen_travis.py | 4 | CODE | |
| LOW | scripts/gen_gh_actions.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/gen_gh_actions.py | 227 | CODE | |
| LOW | scripts/gen_gh_actions.py | 1006 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/prof_recent.c | 89 | * "placeholder"; the real recording of the allocation requires a lock | COMMENT |