AI Slop Code RIsk Monitor

google/tcmalloc

8.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for google/tcmalloc, a C++ project with 5,374 GitHub stars. SynthScan examined 44,391 lines of code across 160 source files, recording 366 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 8.2 (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.

8.2
Adjusted Signal
8.2
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.4K
Stars
C++
Language
44.4K
Lines of Code
160
Files
366
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 33.5/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 366 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.0/100 · LOW

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

PR Review Velocity Impact 33.8/100 · MEDIUM

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

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 366 distinct pattern matches across 2 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 Block365 hits · 361 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# Copyright 2026 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/page_allocator_test_util.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/tcmalloc.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/tcmalloc.h21COMMENT
LOWtcmalloc/transfer_cache.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/transfer_cache.h21#include <algorithm>COMMENT
LOWtcmalloc/huge_address_map.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/huge_address_map.h21#include "tcmalloc/huge_pages.h"COMMENT
LOWtcmalloc/new_extension.h1// Copyright 2020 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/experiment.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/experiment.h21#include <optional>COMMENT
LOWtcmalloc/profile_marshaler.h1// Copyright 2021 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/malloc_hook.h1// Copyright 2025 The TCMalloc Authors.COMMENT
LOWtcmalloc/malloc_hook.h81 //COMMENT
LOWtcmalloc/global_stats.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/static_vars.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/static_vars.h21#include <stdint.h>COMMENT
LOWtcmalloc/static_vars.h41#include "tcmalloc/internal/sampled_allocation.h"COMMENT
LOWtcmalloc/huge_cache.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/huge_cache.h21COMMENT
LOWtcmalloc/huge_cache.h121 .freq = absl::base_internal::CycleClock::Frequency}) {}COMMENT
LOWtcmalloc/huge_page_tracker.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/huge_page_tracker.h21#include <algorithm>COMMENT
LOWtcmalloc/huge_page_tracker.h41#include "tcmalloc/common.h"COMMENT
LOWtcmalloc/huge_page_tracker.h81 abandoned_(false),COMMENT
LOWtcmalloc/huge_page_tracker.h161COMMENT
LOWtcmalloc/huge_page_tracker.h261 // This is used to determine when the tracker may be revisited forCOMMENT
LOWtcmalloc/huge_page_tracker.h281 };COMMENT
LOWtcmalloc/huge_page_tracker.h401 bool was_released_;COMMENT
LOWtcmalloc/pages.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/pages.h21#include <limits>COMMENT
LOWtcmalloc/CMakeLists.txt1# Copyright 2026 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/huge_page_filler.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/huge_page_filler.h21#include <algorithm>COMMENT
LOWtcmalloc/huge_page_filler.h41#include "tcmalloc/common.h"COMMENT
LOWtcmalloc/huge_page_filler.h61#include "tcmalloc/internal/system_allocator.h"COMMENT
LOWtcmalloc/huge_page_filler.h741 // Marks r as usable by new allocations into *pt; returns pt if that hugepageCOMMENT
LOWtcmalloc/huge_page_filler.h821 // *is* hugepage-backed!)COMMENT
LOWtcmalloc/huge_page_filler.h881 // Treatments applied include:COMMENT
LOWtcmalloc/huge_page_filler.h981 // Partially released ones that we are trying to release.COMMENT
LOWtcmalloc/huge_page_filler.h1001 // n_used_released_ contains the number of pages in huge pages that are notCOMMENT
LOWtcmalloc/huge_page_filler.h1081 //COMMENT
LOWtcmalloc/huge_page_filler.h1161template <class TrackerType>COMMENT
LOWtcmalloc/huge_page_filler.h1181 //COMMENT
LOWtcmalloc/huge_page_filler.h1201 // want to use them until the regular Filler hugepages are used up. ThatCOMMENT
LOWtcmalloc/huge_page_filler.h1221 // quickly find non-empty lists. The lists are ordered to satisfy theCOMMENT
LOWtcmalloc/huge_page_filler.h1681 }COMMENT
LOWtcmalloc/pagemap.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/pagemap.h21// (i.e., page offset fits in lower 13 bits), BITS == 35 (48-13).COMMENT
LOWtcmalloc/page_allocator.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/page_allocator.h21#include <cstdint>COMMENT
LOWtcmalloc/page_allocator.h41#include "tcmalloc/page_allocator_interface.h"COMMENT
LOWtcmalloc/sizemap.h1// Copyright 2022 The TCMalloc AuthorsCOMMENT
LOWtcmalloc/sizemap.h21#include <limits>COMMENT
LOWtcmalloc/sizemap.h61 //-------------------------------------------------------------------COMMENT
LOWtcmalloc/sizemap.h81 static constexpr int kSmallSizeAlignment = 8;COMMENT
LOWtcmalloc/sizemap.h101 // and both Hot New and Hot Malloc point to P0.COMMENT
LOWtcmalloc/sizemap.h121 // aligned, this member is also aligned to the width of a cache line.COMMENT
LOWtcmalloc/sizemap.h301 ASSUME(size <= kMaxSize);COMMENT
LOWtcmalloc/central_freelist.h1// Copyright 2019 The TCMalloc AuthorsCOMMENT
305 more matches not shown…
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtcmalloc/internal/prefetch.h49// Example usage:COMMENT