AI Slop Code Risk Monitor

gogs/gogs

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

The painless way to host your own Git service

0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gogs/gogs, a Go project with 47,913 GitHub stars. SynthScan examined 193,809 lines of code across 810 source files, recording 73 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.

0.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
47.9K
Stars
Go
Language
193.8K
Lines of Code
810
Files
73
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 1.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 3.4/100 · LOW

Which changes need focused human review? 73 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 3HIGH 0MEDIUM 16LOW 54

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 73 distinct pattern matches across 10 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 Block30 hits · 30 pts
SeverityFileLineSnippetContext
LOWmockgen.yaml1force: trueCOMMENT
LOWweb/src/pages/repo/Commit.search.ts1// Search-param schema for the commit diff route. Defined here (and not inCOMMENT
LOWinternal/database/users.go1421COMMENT
LOWinternal/database/mocks_gen.go201// method Authenticate on an instance of MockProvider.COMMENT
LOWinternal/database/database.go121 return db, nilCOMMENT
LOWinternal/database/mocks_test.go1// Code generated by go-mockgen 2.1.1; DO NOT EDIT.COMMENT
LOWinternal/database/mocks_test.go381// LoginSourceFileStoreSetGeneralFuncCall is an object that describes anCOMMENT
LOWinternal/database/mocks_test.go401func (c LoginSourceFileStoreSetGeneralFuncCall) Results() []interface{} {COMMENT
LOWinternal/context/auth.go101 return falseCOMMENT
LOWinternal/context/auth.go121 // name already exists, or database.ErrEmailAlreadyUsed if the email has beenCOMMENT
LOWinternal/context/store.go21 // database.ErrUserNotExist when not found.COMMENT
LOWinternal/route/user/setting.go741// SettingsStore is the data layer carrier for user settings endpoints. ThisCOMMENT
LOWinternal/route/lfs/store.go41 // GetUserByID returns the user with given ID. It returnsCOMMENT
LOWinternal/route/lfs/mocks_test.go21 // controlling the behavior of the method AuthenticateUser.COMMENT
LOWinternal/route/lfs/mocks_test.go41 GetLFSObjectsByOIDsFunc *StoreGetLFSObjectsByOIDsFuncCOMMENT
LOWinternal/route/lfs/mocks_test.go321 // Arg1 is the value of the 2nd argument passed to this methodCOMMENT
LOWinternal/route/lfs/mocks_test.go541COMMENT
LOWinternal/route/lfs/mocks_test.go661 // Arg0 is the value of the 1st argument passed to this methodCOMMENT
LOWinternal/route/lfs/mocks_test.go881// of method GetLFSObjectByOID on an instance of MockStore.COMMENT
LOWinternal/route/repo/store.go21 // returns database.ErrRepoNotExist when not found.COMMENT
LOWinternal/route/repo/store.go41 //COMMENT
LOWpublic/plugins/codemirror-5.17.0/mode/markdown/test.js801 MT("emStrongMixed",COMMENT
LOWpublic/plugins/codemirror-5.17.0/mode/erlang/erlang.js461COMMENT
LOWpublic/plugins/codemirror-5.17.0/mode/tcl/index.html21 <li><a href="../index.html">Language modes</a>COMMENT
LOWpublic/plugins/codemirror-5.17.0/mode/tcl/index.html41## ## Start Setup. ## ##COMMENT
LOWpublic/plugins/codemirror-5.17.0/mode/sas/sas.js1// CodeMirror, copyright (c) by Marijn Haverbeke and othersCOMMENT
LOW…plugins/codemirror-5.17.0/mode/coffeescript/index.html21 <li><a class=active href="#">CoffeeScript</a>COMMENT
LOW…plugins/codemirror-5.17.0/mode/coffeescript/index.html41# **Underscore.coffeeCOMMENT
LOWpublic/plugins/codemirror-5.17.0/mode/rpm/index.html61 indentUnit: 4COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALpublic/plugins/marked-4.3.0/marked.min.js6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?defCODE
CRITICALpublic/js/semantic-2.4.2.min.js11!function(p,h,v,b){p.site=p.fn.site=function(e){var s,l,i=(new Date).getTime(),o=[],t=e,n="string"==typeof t,c=[].slice.CODE
CRITICALpublic/js/jquery-3.7.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html54# --------------COMMENT
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html123# --------------------COMMENT
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html296# ---------------COMMENT
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html405# ------------------COMMENT
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html464# ----------------COMMENT
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html597# -----------------COMMENT
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html681# ---------------------COMMENT
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html106# Create a safe reference to the Underscore object for use below.COMMENT
MEDIUM…plugins/codemirror-5.17.0/mode/coffeescript/index.html407# Create a function bound to a given object (assigning `this`, and arguments,COMMENT
MEDIUMpublic/plugins/codemirror-5.17.0/mode/puppet/index.html55# Create a subdirectory in /etc for config filesCOMMENT
MEDIUMpublic/plugins/codemirror-5.17.0/mode/puppet/index.html63# Create an example backup file, useful for referenceCOMMENT
MEDIUMpublic/plugins/codemirror-5.17.0/mode/puppet/index.html91# Create the base backup directoryCOMMENT
MEDIUMpublic/plugins/codemirror-5.17.0/mode/ruby/index.html97# Create a string of the polynomial in sort-of-readable form.COMMENT
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWinternal/database/organizations_test.go118 org1, err := usersStore.Create(ctx, "org1", "org1@example.com", CreateUserOptions{FullName: "Acme Corp"})CODE
LOWpublic/plugins/codemirror-5.17.0/mode/textile/test.js80 'user@example.com');CODE
LOWpublic/plugins/codemirror-5.17.0/mode/rst/index.html419 Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_CODE
LOWpublic/plugins/codemirror-5.17.0/mode/rst/index.html419 Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_CODE
LOWpublic/plugins/codemirror-5.17.0/mode/rst/index.html437 Lorem ipsum [Ref]_ dolor sit amet.CODE
LOWpublic/plugins/codemirror-5.17.0/mode/rst/index.html437 Lorem ipsum [Ref]_ dolor sit amet.CODE
LOWpublic/plugins/dompurify-3.4.8/purify.min.js2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
LOWpublic/plugins/simplemde-1.10.1/simplemde.min.js7!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof definCODE
LOWpublic/plugins/simplemde-1.10.1/simplemde.min.js14for(var r=e.getCursor("start"),i=e.getCursor("end"),o=r.line;o<=i.line;o++)!function(r){var i=e.getLine(r),o=i.search(/[CODE
LOWpublic/js/semantic-2.4.2.min.js11!function(p,h,v,b){p.site=p.fn.site=function(e){var s,l,i=(new Date).getTime(),o=[],t=e,n="string"==typeof t,c=[].slice.CODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM⚡public/plugins/highlight-9.18.0/highlight.pack.js2!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"==typeof exports||exports.nodCODE
MEDIUM⚡public/plugins/highlight-9.18.0/highlight.pack.js2!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"==typeof exports||exports.nodCODE
MEDIUM⚡public/plugins/highlight-9.18.0/highlight.pack.js2!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"==typeof exports||exports.nodCODE
Structural Annotation Overuse5 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocs/dev/local_development.md19## Step 1: Install dependenciesCOMMENT
LOWdocs/dev/local_development.md96## Step 2: Initialize your databaseCOMMENT
LOWdocs/dev/local_development.md124## Step 3: Get the codeCOMMENT
LOWdocs/dev/local_development.md134## Step 4: Configure database settingsCOMMENT
LOWdocs/dev/local_development.md148## Step 5: Start the serverCOMMENT
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOWpublic/plugins/codemirror-5.17.0/mode/dart/dart.js124 function tokenInterpolationIdentifier(stream, state) {CODE
LOWpublic/plugins/codemirror-5.17.0/mode/markdown/test.js42 function FormatTokenTypeOverrideTest(name) { test.mode(name, modeFormattingOverride, Array.prototype.slice.call(argumeCODE
LOW…lugins/codemirror-5.17.0/mode/powershell/powershell.js282 function tokenHereStringInterpolation(stream, state) {CODE
LOWpublic/plugins/codemirror-5.17.0/mode/slim/slim.js265 function startAttributeWrapperMode(state, endQuote, tokenize) {CODE
LOWpublic/plugins/codemirror-5.17.0/mode/sass/sass.js93 function buildInterpolationTokenizer(currentTokenizer) {CODE
LOWpublic/js/gogs.js1342function initRepositoryCollaboration() {CODE
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWconf/locale/locale_en-GB.ini301delete_token_success=Personal access token has been removed successfully! Don't forget to update your application as welCODE
LOWconf/locale/locale_en-US.ini350delete_token_success = Personal access token has been removed successfully! Don't forget to update your application as wCODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpublic/plugins/codemirror-5.17.0/mode/ruby/index.html102 # Assign exponents to each term, making pairs of coeff and exponent,COMMENT