AI Slop Code RIsk Monitor

AlDanial/cloc

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

6.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for AlDanial/cloc, a Perl project with 23,588 GitHub stars. SynthScan examined 32,529 lines of code across 691 source files, recording 107 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 6.5 (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.

6.5
Adjusted Signal
6.5
Raw Pattern Score
100%
Time Factor
2026-09-20
Last Push
23.6K
Stars
Perl
Language
32.5K
Lines of Code
691
Files
107
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 19.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 9.3/100 · LOW

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

PR Review Velocity Impact 26.9/100 · MEDIUM

Which changes need focused human review? 107 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 1HIGH 8MEDIUM 24LOW 74

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 107 distinct pattern matches across 11 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.

Self-Referential Comments13 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUMtests/inputs/utilities.R286 ## Create the interaction terms for nested effectsCOMMENT
MEDIUMtests/inputs/nomad_job.hcl33 # Create an individual task (unit of work). This particularCOMMENT
MEDIUM⚡tests/inputs/issues/906/previous_version.py267 # Create a partial function with 'project' as a fixed argumentCOMMENT
MEDIUM⚡tests/inputs/issues/906/previous_version.py273 # Create a ThreadPoolExecutor with the specified number of threadsCOMMENT
MEDIUMtests/inputs/issues/906/previous_version.py90 # Create a metadata objectCOMMENT
MEDIUMtests/inputs/issues/906/previous_version.py93 # Define the tbl_orcode_extension_mapping tableCOMMENT
MEDIUMtests/inputs/issues/906/previous_version.py114 # Create a connectionCOMMENT
MEDIUM⚡tests/inputs/issues/906/current_version.py267 # Create a partial function with 'project' as a fixed argumentCOMMENT
MEDIUM⚡tests/inputs/issues/906/current_version.py273 # Create a ThreadPoolExecutor with the specified number of threadsCOMMENT
MEDIUMtests/inputs/issues/906/current_version.py90 # Create a metadata objectCOMMENT
MEDIUMtests/inputs/issues/906/current_version.py93 # Define the tbl_orcode_extension_mapping tableCOMMENT
MEDIUMtests/inputs/issues/906/current_version.py114 # Create a connectionCOMMENT
MEDIUMtests/inputs/issues/606/in/nomad_job.hcl33 # Create an individual task (unit of work). This particularCOMMENT
Excessive Try-Catch Wrapping26 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/inputs/issues/906/previous_version.py333 # print(f"An error occurred for branch {branch_name}: {e}")COMMENT
MEDIUM⚡tests/inputs/issues/906/previous_version.py283 print(f"An error occurred: {e}")CODE
MEDIUMtests/inputs/issues/906/previous_version.py172 print(f"An error occurred for project {git_project_id}: {e}")CODE
MEDIUMtests/inputs/issues/906/previous_version.py80def mapTechExtensions(engine,or_code,logger):CODE
MEDIUMtests/inputs/issues/906/previous_version.py296def wrapper_function(branch_name, project):CODE
LOW⚡tests/inputs/issues/906/previous_version.py256 except Exception as e:CODE
LOW⚡tests/inputs/issues/906/previous_version.py281 except Exception as e:CODE
LOW⚡tests/inputs/issues/906/previous_version.py331 except Exception as e:CODE
LOW⚡tests/inputs/issues/906/previous_version.py342 except Exception as ex:CODE
LOWtests/inputs/issues/906/previous_version.py119 except Exception as e:CODE
LOWtests/inputs/issues/906/previous_version.py171 except Exception as e:CODE
LOWtests/inputs/issues/906/previous_version.py364 except Exception as ex:CODE
LOWtests/inputs/issues/906/previous_version.py377 except Exception as ex:CODE
MEDIUM⚡tests/inputs/issues/906/current_version.py333 # print(f"An error occurred for branch {branch_name}: {e}")COMMENT
MEDIUM⚡tests/inputs/issues/906/current_version.py283 print(f"An error occurred: {e}")CODE
MEDIUMtests/inputs/issues/906/current_version.py172 print(f"An error occurred for project {git_project_id}: {e}")CODE
MEDIUMtests/inputs/issues/906/current_version.py80def mapTechExtensions(engine,or_code,logger):CODE
MEDIUMtests/inputs/issues/906/current_version.py296def wrapper_function(branch_name, project):CODE
LOW⚡tests/inputs/issues/906/current_version.py256 except Exception as e:CODE
LOW⚡tests/inputs/issues/906/current_version.py281 except Exception as e:CODE
LOW⚡tests/inputs/issues/906/current_version.py331 except Exception as e:CODE
LOW⚡tests/inputs/issues/906/current_version.py342 except Exception as ex:CODE
LOWtests/inputs/issues/906/current_version.py119 except Exception as e:CODE
LOWtests/inputs/issues/906/current_version.py171 except Exception as e:CODE
LOWtests/inputs/issues/906/current_version.py364 except Exception as ex:CODE
LOWtests/inputs/issues/906/current_version.py377 except Exception as ex:CODE
Over-Commented Block42 hits · 42 pts
SeverityFileLineSnippetContext
LOWtests/inputs/Application_Data_Test.feature.cs1// ------------------------------------------------------------------------------COMMENT
LOWtests/inputs/csharp-designer.designer.cs1//------------------------------------------------------------------------------COMMENT
LOWtests/inputs/tour.swift1// https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedToCOMMENT
LOWtests/inputs/utilities.R1# from https://github.com/lme4/lme4COMMENT
LOWtests/inputs/utilities.R141 fl <- do.call(data.frame, c(fl, check.names = FALSE))COMMENT
LOWtests/inputs/utilities.R241COMMENT
LOWtests/inputs/utilities.R261##' ## => list of length 2: list ( 1 | cask:batch , 1 | batch)COMMENT
LOWtests/inputs/utilities.R321##' expand terms with the double vertical bar operatorCOMMENT
LOWtests/inputs/utilities.R361COMMENT
LOWtests/inputs/utilities.R401##' model.frame function.COMMENT
LOWtests/inputs/utilities.R661## (2) otherwise, if formula has an environment, use itCOMMENT
LOWtests/inputs/utilities.R741## }COMMENT
LOWtests/inputs/utilities.R761##' Not exported.COMMENT
LOWtests/inputs/messages.rb1#!/usr/local/bin/rubyCOMMENT
LOWtests/inputs/messages.rb21# along with this program; if not, write to the Free SoftwareCOMMENT
LOWtests/inputs/hello_app_autogen.go1// Code generated by manual copy DO NOT EDIT.COMMENT
LOWtests/inputs/TypeScript.ts1//COMMENT
LOWtests/inputs/hello_app.go1// https://raw.githubusercontent.com/golang/example/master/appengine-hello/app.goCOMMENT
LOWtests/inputs/locale_facets.h1// Locale support -*- C++ -*-COMMENT
LOWtests/inputs/locale_facets.h21// USA.COMMENT
LOWtests/inputs/locale_facets.h41#ifndef _LOCALE_FACETS_HCOMMENT
LOWtests/inputs/dd/bb/ee/TeapotRenderer.cpp21//--------------------------------------------------------------------------------COMMENT
LOWtests/inputs/dd/bb/cc/MoreTeapotsRenderer.cpp21//--------------------------------------------------------------------------------COMMENT
LOWtests/inputs/aa/bb/cc/plasma.c61#define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))COMMENT
LOWtests/inputs/aa/bb/cc/plasma.c81#endifCOMMENT
LOW…sts/inputs/issues/753/Application_Data_Test.feature.cs1// ------------------------------------------------------------------------------COMMENT
LOWtests/inputs/issues/753/csharp-designer.designer.cs1//------------------------------------------------------------------------------COMMENT
LOWtests/inputs/issues/280/R/locale_facets.h1// Locale support -*- C++ -*-COMMENT
LOWtests/inputs/issues/280/R/locale_facets.h21// USA.COMMENT
LOWtests/inputs/issues/280/R/locale_facets.h41#ifndef _LOCALE_FACETS_HCOMMENT
LOWtests/inputs/issues/280/L/locale_facets.h1// Locale support -*- C++ -*-COMMENT
LOWtests/inputs/issues/280/L/locale_facets.h21// USA.COMMENT
LOWtests/inputs/issues/280/L/locale_facets.h41#ifndef _LOCALE_FACETS_HCOMMENT
LOWtests/inputs/issues/513/R/locale_facets.h1// Locale support -*- C++ -*-COMMENT
LOWtests/inputs/issues/513/R/locale_facets.h21// USA.COMMENT
LOWtests/inputs/issues/513/R/locale_facets.h41#ifndef _LOCALE_FACETS_HCOMMENT
LOWtests/inputs/issues/513/L/locale_facets.h1// Locale support -*- C++ -*-COMMENT
LOWtests/inputs/issues/513/L/locale_facets.h21// USA.COMMENT
LOWtests/inputs/issues/513/L/locale_facets.h41#ifndef _LOCALE_FACETS_HCOMMENT
LOWtests/inputs/issues/579/csharp-autogen.cs1//------------------------------------------------------------------------------COMMENT
LOWtests/inputs/issues/577/tour.swift1// https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedToCOMMENT
LOWtests/inputs/issues/577/tour2.swift1// https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedToCOMMENT
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHtests/inputs/Application_Data_Test.feature.cs3// This code was generated by SpecFlow (https://www.specflow.org/).COMMENT
HIGHtests/inputs/csharp-designer.designer.cs3// This code was generated by a tool.COMMENT
HIGH…sts/inputs/issues/753/Application_Data_Test.feature.cs3// This code was generated by SpecFlow (https://www.specflow.org/).COMMENT
HIGHtests/inputs/issues/753/csharp-designer.designer.cs3// This code was generated by a tool.COMMENT
HIGHtests/inputs/issues/579/csharp-autogen.cs3// This code was generated by a tool.COMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/inputs/issues/906/previous_version.py342except Exception as ex:CODE
HIGHtests/inputs/issues/906/previous_version.py364except Exception as ex:CODE
HIGHtests/inputs/issues/906/previous_version.py377except Exception as ex:CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtests/inputs/issues/365/RSpecTests.java27 org.assertj.core.util.Files.currentFolder().getParent(), "lib/bootstrap/rspec.rb"CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/inputs/issues/906/previous_version.py195 # Check if the combination of or_code and extension already existsCOMMENT
LOWtests/inputs/issues/906/previous_version.py228 # Check if the extension already exists in master extension tableCOMMENT
LOWtests/inputs/issues/906/current_version.py195 # Check if the combination of or_code and extension already existsCOMMENT
LOWtests/inputs/issues/906/current_version.py228 # Check if the extension already exists in master extension tableCOMMENT
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡tests/inputs/issues/906/previous_version.py260def list_file_extensions_all_branches(project):CODE
LOWtests/inputs/issues/906/previous_version.py304def list_file_extensions_recursive(project,branch_name, path=""):CODE
LOW⚡tests/inputs/issues/906/current_version.py260def list_file_extensions_all_branches(project):CODE
LOWtests/inputs/issues/906/current_version.py304def list_file_extensions_recursive(project,branch_name, path=""):CODE
Unused Imports6 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/inputs/issues/906/previous_version.py2CODE
LOWtests/inputs/issues/906/previous_version.py14CODE
LOWtests/inputs/issues/906/previous_version.py15CODE
LOWtests/inputs/issues/906/previous_version.py16CODE
LOWtests/inputs/issues/862/a.py2CODE
LOWtests/inputs/issues/862/b.py4CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/inputs/utilities.R436##' Does every level of f1 occur in conjunction with exactly one levelCOMMENT
Deep Nesting2 hits · 1 pts
SeverityFileLineSnippetContext
LOWtests/inputs/issues/906/previous_version.py80CODE
LOWtests/inputs/issues/906/previous_version.py304CODE