Repository Analysis

preactjs/preact

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-27
Last Push
38,668
Stars
JavaScript
Language
65,738
Lines of Code
276
Files
14
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 13

Pattern Findings

14 matches across 5 categories. Click a row to expand file-level details.

Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippet
LOWdemo/people/store.ts81
LOWdemo/people/styles/index.scss21 --spinner-size: 200px;
LOWdemo/people/styles/index.scss41 // ),
LOWdemo/people/styles/index.scss61 // circle 7px at 55vw calc(100vh - 95px),
LOWdemo/people/styles/index.scss81 // rgba(255, 255, 255, 0.4) 90%,
LOWsrc/diff/children.js261 // When the array of children is growing we need to decrease the skew
LOWsrc/diff/children.js281
LOWsrc/diff/props.js21 style[key] = value;
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippet
LOWhooks/test/browser/useLayoutEffect.test.jsx100 function AutoResizeTextareaLayoutEffect(props) {
LOWdebug/src/debug.js42function getClosestDomNodeParentName(parent) {
LOWsrc/diff/children.js159function constructNewChildrenArray(
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMsrc/diff/catch-error.js58 // when we leverage prefresh
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOW.github/workflows/pr-reporter.yml74 # Set initialize to true so this action just creates the comment or
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippet
LOWtest/browser/fragments.test.jsx1144 "Don't forget to tell these special people in your life just how special they are to you.";