Coding articles to level up your development skills
This report summarizes scanner evidence for Chalarangelo/30-seconds-of-code, a JavaScript project with 129,379 GitHub stars. SynthScan examined 90,884 lines of code across 1010 source files, recording 109 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 37 finding(s).
Are imports declared and package/API names verified? 71 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 109 finding(s).
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.
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.
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.
The scanner identified 109 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/core/serializer.test.js | 13 | const user = new User(1, 'John Doe', 'x@y.z'); | CODE |
| LOW | spec/core/serializer.test.js | 30 | fullName: 'John Doe', | CODE |
| LOW | spec/core/serializer.test.js | 41 | { id: 1, fullName: 'John Doe', email: 'X@Y.Z' }, | CODE |
| LOW | spec/core/model.test.js | 26 | const user1 = new User({ id: 'john-doe', name: 'John Doe', email: 'x@y.z' }); | CODE |
| LOW | spec/core/model.test.js | 27 | const user2 = new User({ id: 'jane-doe', name: 'Jane Doe', email: 'a@b.c' }); | CODE |
| LOW | spec/core/model.test.js | 41 | expect(User.where({ name: ['John Doe', 'Jane Doe'] })).toEqual([ | CODE |
| LOW | spec/core/model.test.js | 41 | expect(User.where({ name: ['John Doe', 'Jane Doe'] })).toEqual([ | CODE |
| LOW⚡ | spec/core/model.test.js | 54 | expect(User.where({ id: 'john-doe', name: 'John Doe' })).toEqual([user1]); | CODE |
| LOW⚡ | spec/core/model.test.js | 59 | expect(User.where({ name: 'John Doe' }).first).toEqual(user1); | CODE |
| LOW⚡ | spec/core/model.test.js | 65 | expect(User.where({ name: 'John Doe' }).last).toEqual(user1); | CODE |
| LOW | spec/models/snippet.test.js | 31 | recTokens: 'lorem ipsum', | CODE |
| LOW | spec/models/snippet.test.js | 32 | docTokens: 'lorem ipsum', | CODE |
| LOW⚡ | content/snippets/css/s/hover-additional-content.md | 23 | <h3>Lorem ipsum</h3> | CODE |
| LOW⚡ | content/snippets/css/s/hover-additional-content.md | 25 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br/> <a href="#">Link to source</a> | CODE |
| LOW⚡ | content/snippets/css/s/hover-additional-content.md | 25 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br/> <a href="#">Link to source</a> | CODE |
| LOW | content/snippets/css/s/typewriter-effect.md | 66 | const text = 'Lorem ipsum dolor sit amet.'; | CODE |
| LOW | content/snippets/css/s/typewriter-effect.md | 66 | const text = 'Lorem ipsum dolor sit amet.'; | CODE |
| LOW⚡ | content/snippets/js/s/iterators.md | 79 | { complete: true, value: 'Lorem ipsum' }, | CODE |
| LOW⚡ | content/snippets/js/s/iterators.md | 80 | { complete: true, value: 'dolor sit amet' }, | CODE |
| LOW⚡ | content/snippets/js/s/iterators.md | 90 | console.log(item); // 'Lorem ipsum', 'dolor sit amet', 'adipiscing elit' | CODE |
| LOW⚡ | content/snippets/js/s/iterators.md | 90 | console.log(item); // 'Lorem ipsum', 'dolor sit amet', 'adipiscing elit' | CODE |
| LOW⚡ | content/snippets/js/s/find-remove-compact-whitespace.md | 22 | containsWhitespace('lorem ipsum'); // true | CODE |
| LOW⚡ | content/snippets/js/s/find-remove-compact-whitespace.md | 32 | removeWhitespace('Lorem ipsum.\n Dolor sit amet. '); | CODE |
| LOW⚡ | content/snippets/js/s/find-remove-compact-whitespace.md | 32 | removeWhitespace('Lorem ipsum.\n Dolor sit amet. '); | CODE |
| LOW | content/snippets/js/s/find-remove-compact-whitespace.md | 43 | compactWhitespace('Lorem Ipsum'); // 'Lorem Ipsum' | CODE |
| LOW | content/snippets/js/s/find-remove-compact-whitespace.md | 44 | compactWhitespace('Lorem \n Ipsum'); // 'Lorem Ipsum' | CODE |
| LOW | …/snippets/js/s/string-starts-or-ends-with-substring.md | 29 | startsWithSubstring('/>Lorem ipsum dolor sit amet', '<br />'); // '/>' | CODE |
| LOW | …/snippets/js/s/string-starts-or-ends-with-substring.md | 29 | startsWithSubstring('/>Lorem ipsum dolor sit amet', '<br />'); // '/>' | CODE |
| LOW | …/snippets/js/s/string-starts-or-ends-with-substring.md | 45 | endsWithSubstring('Lorem ipsum dolor sit amet<br /', '<br />'); // '<br /' | CODE |
| LOW | …/snippets/js/s/string-starts-or-ends-with-substring.md | 45 | endsWithSubstring('Lorem ipsum dolor sit amet<br /', '<br />'); // '<br /' | CODE |
| LOW | content/snippets/js/s/get-selected-text.md | 19 | getSelectedText(); // 'Lorem ipsum' | CODE |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 68 | content: 'Lorem ipsum dolor sit amet.', | CODE |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 68 | content: 'Lorem ipsum dolor sit amet.', | CODE |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 76 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 76 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 79 | // name: 'John Doe', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 88 | // author: 'John Doe', | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 168 | // content: 'Lorem ipsum dolor sit amet.', | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 168 | // content: 'Lorem ipsum dolor sit amet.', | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 253 | // content: 'Lorem ipsum dolor sit amet.', | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 253 | // content: 'Lorem ipsum dolor sit amet.', | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 327 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 327 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 372 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 372 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 375 | // name: 'John Doe' | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 382 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 382 | // content: '<p>Lorem ipsum dolor sit amet.</p>', | COMMENT |
| LOW⚡ | content/snippets/js/s/complex-object-serialization.md | 385 | // name: 'John Doe', | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 428 | // author: 'John Doe' | COMMENT |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 17 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.'; | CODE |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 17 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.'; | CODE |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 20 | // 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.' | COMMENT |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 20 | // 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.' | COMMENT |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 39 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.'; | CODE |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 39 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempus.'; | CODE |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 42 | // 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.' | COMMENT |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 42 | // 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit.\nFusce tempus.' | COMMENT |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 45 | 'Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.\r\nFusce tempus.' | CODE |
| LOW⚡ | content/snippets/js/s/word-wrap.md | 45 | 'Lorem ipsum dolor sit amet,\r\nconsectetur adipiscing elit.\r\nFusce tempus.' | CODE |
| 11 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | env.d.ts | 1 | /// <reference path="../.astro/types.d.ts" /> | COMMENT |
| LOW | content/snippets/js/s/indexed-object-collections.md | 161 | COMMENT | |
| LOW | content/snippets/js/s/indexed-object-collections.md | 521 | // Found matching indexes: | COMMENT |
| LOW | content/snippets/js/s/indexed-object-collections.md | 541 | // Found matching indexes: | COMMENT |
| LOW | content/snippets/js/s/indexed-object-collections.md | 561 | // { | COMMENT |
| LOW | content/snippets/js/s/indexed-object-collections.md | 581 | // } | COMMENT |
| LOW | content/snippets/js/s/indexed-object-collections.md | 601 | // origin: 'Spain', | COMMENT |
| LOW | content/snippets/js/s/indexed-object-collections.md | 621 | // ] | COMMENT |
| LOW | content/snippets/js/s/complex-object-serialization.md | 81 | // } | COMMENT |
| LOW | content/snippets/js/s/toggle-array-element.md | 61 | // { name: 'Jane', age: 28 }, | COMMENT |
| LOW | content/snippets/js/s/merge-objects.md | 101 | // { | COMMENT |
| LOW | …nt/snippets/js/s/recursion-performance-optimization.md | 41 | // [CALLED] fibonacciNumber(0) | COMMENT |
| LOW | …nt/snippets/js/s/recursion-performance-optimization.md | 81 | fibonacciNumber(4); | COMMENT |
| LOW | content/snippets/js/s/combine-object-arrays.md | 41 | // { id: 1, name: 'John', age: 28 }, | COMMENT |
| LOW | content/snippets/js/s/math-expression-tokenizer.md | 21 | In the context of a math expression, a **token** is a **single unit of the expression**. It can be a number, an operator | COMMENT |
| LOW | content/snippets/js/s/math-expression-tokenizer.md | 281 | }; | COMMENT |
| LOW | content/snippets/js/s/math-expression-tokenizer.md | 421 | // [ | COMMENT |
| LOW | content/snippets/js/s/math-expression-tokenizer.md | 441 | tokenize('3 * (-4 + 5)'); | COMMENT |
| LOW | content/snippets/js/s/math-expression-tokenizer.md | 461 | // { type: 'OP_ADD' }, | COMMENT |
| LOW | …t/snippets/js/s/simple-html-tokenization-validation.md | 181 | // opening: true, closing: false, | COMMENT |
| LOW | …t/snippets/js/s/simple-html-tokenization-validation.md | 201 | // { type: 'text', value: '!' }, | COMMENT |
| LOW | content/snippets/git/s/list-aliases.md | 21 | # Syntax: git config -l | grep alias | sed 's/^alias\.//g' | COMMENT |
| LOW | content/snippets/git/s/view-changes-summary.md | 21 | git shortlog 3050fc0de..HEAD | COMMENT |
| LOW | content/snippets/git/s/split-commit.md | 21 | ```shell title="git-rebase-todo" | COMMENT |
| LOW | content/snippets/git/s/view-last-commit.md | 21 | # Author: 30 seconds of code | COMMENT |
| LOW | content/snippets/git/s/view-commits-by-string.md | 21 | git log -S<string> | COMMENT |
| LOW | content/snippets/git/s/view-status.md | 21 | # Your branch is up to date with 'origin/patch-1'. | COMMENT |
| LOW | src/lib/contentUtils/markdownParser/markdownParser.js | 61 | // --------------------------------------------- | COMMENT |
| LOW | src/astro/env.d.ts | 1 | /// <reference path="../../.astro/types.d.ts" /> | COMMENT |
| LOW | src/astro/styles/index.scss | 1 | @use "sass:meta"; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | content/snippets/js/s/porter-stemming-algorithm.md | 563 | // Step 2 - common suffixes | COMMENT |
| LOW | content/snippets/js/s/porter-stemming-algorithm.md | 599 | // Step 3 - common suffixes | COMMENT |
| LOW | content/snippets/js/s/porter-stemming-algorithm.md | 622 | // Step 4 - common suffixes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ls/markdownParser/codeHighlighters/utils/metaParser.js | 209 | // If there is, we need to check if the closing quote is also in the buffer. | COMMENT |
| LOW | …ls/markdownParser/codeHighlighters/utils/metaParser.js | 268 | // If it's a range delimiter, we need to check if we're inside a label | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …python/s/initialize-list-with-range-value-daterange.md | 17 | def initialize_list_with_values(n, val = 0): | CODE |
| LOW | …python/s/initialize-list-with-range-value-daterange.md | 28 | def initialize_list_with_range(end, start = 0, step = 1): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | content/snippets/python/s/bare-except.md | 32 | except Exception: | CODE |