AI Slop Code Risk Monitor

codemirror/codemirror5

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

In-browser code editor (version 5, legacy)

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for codemirror/codemirror5, a JavaScript project with 27,196 GitHub stars. SynthScan examined 98,820 lines of code across 567 source files, recording 76 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-04-16
Last Push
27.2K
Stars
JavaScript
Language
98.8K
Lines of Code
567
Files
76
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 3.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.5/100 · LOW

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

Agent Over-Engineering Ratio 2.4/100 · LOW

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

PR Review Velocity Impact 5.8/100 · LOW

Which changes need focused human review? 76 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 0MEDIUM 16LOW 59

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 76 distinct pattern matches across 9 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.

Hyper-Verbose Identifiers25 hits · 26 pts
SeverityFileLineSnippetContext
LOWtest/mode_test.js161 function highlightOutputsDifferent(o1, o2) {CODE
LOWmode/clojure/test.js363 function testFormsThatHaveBodyParameter(forms) {CODE
LOWmode/dart/dart.js135 function tokenInterpolationIdentifier(stream, state) {CODE
LOWmode/markdown/test.js47 function FormatTokenTypeOverrideTest(name) { test.mode(name, modeFormattingOverride, Array.prototype.slice.call(argumeCODE
LOWmode/powershell/powershell.js284 function tokenHereStringInterpolation(stream, state) {CODE
LOWmode/slim/slim.js265 function startAttributeWrapperMode(state, endQuote, tokenize) {CODE
LOWmode/sass/sass.js108 function buildInterpolationTokenizer(currentTokenizer) {CODE
LOWmode/sql/sql.js226 function hookIdentifierDoublequote(stream) {CODE
LOWaddon/merge/merge.js789 function collapseIdenticalStretches(mv, margin) {CODE
LOWaddon/comment/continuecomment.js93 function continueLineCommentEnabled(cm) {CODE
LOWaddon/search/searchcursor.js45 function searchRegexpForwardMultiline(doc, regexp, start) {CODE
LOWaddon/search/searchcursor.js102 function searchRegexpBackwardMultiline(doc, regexp, start) {CODE
LOWaddon/search/search.js220 function getReplacementQueryDialog(cm) {CODE
LOWaddon/edit/continuelist.js67 function incrementRemainingMarkdownListNumbers(cm, pos) {CODE
LOWsrc/measurement/position_measurement.js76function updateExternalMeasurement(cm, line) {CODE
LOW⚡src/measurement/position_measurement.js252function maybeUpdateRectForZooming(measure, rect) {CODE
LOW⚡src/measurement/position_measurement.js262export function clearLineMeasurementCacheFor(lineView) {CODE
LOW⚡src/measurement/position_measurement.js271export function clearLineMeasurementCache(cm) {CODE
LOWsrc/line/spans.js242export function conflictingCollapsedRange(doc, lineNo, from, to, marker) {CODE
LOWsrc/line/line_data.js121export function defaultSpecialCharPlaceholder(ch) {CODE
LOWsrc/model/changes.js212function makeChangeSingleDocInEditor(cm, change, spans) {CODE
LOWsrc/model/line_widget.js54function adjustScrollWhenAboveVisible(cm, line, diff) {CODE
LOWsrc/model/history.js105function selectionEventCanBeMerged(doc, origin, prev, sel) {CODE
LOWsrc/model/selection_updates.js85export function setSelectionReplaceHistory(doc, sel, options) {CODE
LOWsrc/display/line_numbers.js32export function maybeUpdateLineNumberWidth(cm) {CODE
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMmode/coffeescript/index.html54# --------------COMMENT
MEDIUMmode/coffeescript/index.html123# --------------------COMMENT
MEDIUMmode/coffeescript/index.html296# ---------------COMMENT
MEDIUMmode/coffeescript/index.html405# ------------------COMMENT
MEDIUMmode/coffeescript/index.html464# ----------------COMMENT
MEDIUMmode/coffeescript/index.html597# -----------------COMMENT
MEDIUMmode/coffeescript/index.html681# ---------------------COMMENT
Fake / Example Data17 hits · 19 pts
SeverityFileLineSnippetContext
LOW⚡demo/matchhighlighter.html43Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut pharetraCODE
LOW⚡demo/matchhighlighter.html43Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut pharetraCODE
LOW⚡demo/matchhighlighter.html49sagittis felis a, pellentesque mauris. Lorem ipsum dolor sit amet,CODE
LOW⚡demo/matchhighlighter.html49sagittis felis a, pellentesque mauris. Lorem ipsum dolor sit amet,CODE
LOWdemo/matchhighlighter.html75Nam rhoncus, est blandit auctor auctor, lorem ipsum laoreet ipsum,CODE
LOWdemo/hardwrap.html29<form><textarea id="code" name="code">Lorem ipsum dolor sit amet, vim augue dictas constituto ex,CODE
LOWdemo/hardwrap.html29<form><textarea id="code" name="code">Lorem ipsum dolor sit amet, vim augue dictas constituto ex,CODE
LOWdemo/simplescrollbars.html33Lorem ipsum dolor sit amet, turpis nec facilisis neque vestibulum adipiscing, magna nunc est luctus orci a,CODE
LOWdemo/simplescrollbars.html33Lorem ipsum dolor sit amet, turpis nec facilisis neque vestibulum adipiscing, magna nunc est luctus orci a,CODE
LOWmode/textile/test.js80 'user@example.com');CODE
LOWmode/rst/index.html419 Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_CODE
LOWmode/rst/index.html419 Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_CODE
LOWmode/rst/index.html437 Lorem ipsum [Ref]_ dolor sit amet.CODE
LOWmode/rst/index.html437 Lorem ipsum [Ref]_ dolor sit amet.CODE
LOWaddon/hint/css-hint.js20 "placeholder":1, "read-only":1, "read-write":1, "required":1, "root":1,CODE
LOWaddon/display/placeholder.js12 CodeMirror.defineOption("placeholder", "", function(cm, val, old) {CODE
LOWaddon/display/placeholder.js45 var placeHolder = cm.getOption("placeholder")CODE
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMmode/coffeescript/index.html106# Create a safe reference to the Underscore object for use below.COMMENT
MEDIUMmode/coffeescript/index.html407# Create a function bound to a given object (assigning `this`, and arguments,COMMENT
MEDIUMmode/puppet/index.html55# Create a subdirectory in /etc for config filesCOMMENT
MEDIUMmode/puppet/index.html63# Create an example backup file, useful for referenceCOMMENT
MEDIUMmode/puppet/index.html91# Create the base backup directoryCOMMENT
MEDIUMmode/ruby/index.html97# Create a string of the polynomial in sort-of-readable form.COMMENT
Over-Commented Block16 hits · 16 pts
SeverityFileLineSnippetContext
LOWtest/test.js1621 // Good:COMMENT
LOWmode/markdown/test.js181 // Unclosed backticksCOMMENT
LOWmode/erlang/erlang.js461 }COMMENT
LOWmode/tcl/index.html21 <li><a href="../index.html">Language modes</a>COMMENT
LOWmode/tcl/index.html41## ## Start Setup. ## ##COMMENT
LOWmode/sas/sas.js1// CodeMirror, copyright (c) by Marijn Haverbeke and othersCOMMENT
LOWmode/coffeescript/index.html21 <li><a class=active href="#">CoffeeScript</a>COMMENT
LOWmode/coffeescript/index.html41# **Underscore.coffeeCOMMENT
LOWmode/rpm/index.html61 indentUnit: 4COMMENT
LOWaddon/search/match-highlighter.js1// CodeMirror, copyright (c) by Marijn Haverbeke and othersCOMMENT
LOWaddon/tern/tern.js1// CodeMirror, copyright (c) by Marijn Haverbeke and othersCOMMENT
LOWaddon/tern/tern.js21// multi-file view, switch the view or focus to the named file.COMMENT
LOWsrc/util/bidi.js41// One-char codes used for character types:COMMENT
LOWsrc/model/chunk.js1import { cleanUpLine } from "../line/line_data.js"COMMENT
LOWsrc/model/mark_text.js21// handle that can be used to clear or find a marked position in theCOMMENT
LOWsrc/display/scroll_events.js1import { chrome, chrome_version, gecko, ie, mac, presto, safari, webkit } from "../util/browser.js"COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALsrc/input/ContentEditableInput.js134 return this.cm.display.wrapper.ownerDocument.getSelection()CODE
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMdoc/releases.html871 <li><a href="https://codemirror.net/5/doc/manual.html#addon_merge">merge addon</a>: Make aligning of unchanged chunkCODE
MEDIUMdoc/releases.html871 <li><a href="https://codemirror.net/5/doc/manual.html#addon_merge">merge addon</a>: Make aligning of unchanged chunkCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMdoc/manual.html172 <p>Here's a simple example of using RequireJS to load CodeMirror:</p>CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmode/ruby/index.html102 # Assign exponents to each term, making pairs of coeff and exponent,COMMENT