Executive summary
The system holds an adequate standing with an overall health score of 60%. While performance is flawless, the foundation is uneven, creating a workable but risky environment for future delivery. This score reflects a medium-sized asset where technical debt is beginning to constrain agility rather than halt it entirely.
The value at stake is significant, with over 160,000 lines of code representing roughly 0.7 person-years of effort to rebuild. This translates to a potential replacement cost of €100,000. The codebase is dense with logic, leaving little room for boilerplate, which means every change requires careful engineering to avoid unintended side effects. The business must recognize that maintaining this asset is an active investment, not a passive cost.
The primary risk lies in Code Health, which scores only 56%. This weakness suggests that the code is becoming harder to understand and modify, directly threatening delivery speed and increasing the likelihood of defects. When developers struggle to navigate complex logic, features take longer to build, and bugs slip through. This is the most critical area to address, as it is the bottleneck for all future work.
A secondary concern is Production Readiness at 57%. The system lacks robust automated security checks in the deployment pipeline, leaving it exposed to regressions. Without these safeguards, security issues may go undetected until they reach production, risking reliability and compliance. Additionally, while architecture is strong, the lack of measured domain modeling and event-driven clarity means new teams may struggle to grasp the business context, slowing onboarding and increasing operational risk.
The system’s genuine strength is its Performance, which is perfect. The application is fast and responsive, providing a solid user experience. This indicates that the core infrastructure is sound and that the team has successfully optimized for speed, even if maintainability has lagged.
Focus first on migrating remaining JavaScript files to TypeScript. This single action offers the highest leverage, improving type safety and reducing the complexity that drives poor code health. It is the most efficient way to stabilize the codebase and unlock faster, safer development for the rest of the team.
Raise Code Health 56 → 70 (the Healthy floor) ⇒ headline 60 → ~63.
New since the last scan (6+)
Rebuild cost & value ~ Modeled — €35,000–€170,000
| Cost to rebuild | €35,000–€170,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.8× (at 60% quality) |
| Size & shape | Medium · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.7 person-years of build effort (about ~€100,000 to rebuild). Its weakest lens is Code Health at 56% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency matrix
| depends on → | 1 demos.web-worker | 2 plugins._experiments.ast.src | 3 plugins._experiments.compress.src | 4 plugins._experiments.markdown.src | 5 plugins._experiments.markdown.src.parse | 6 plugins._experiments.sentiment.src | 7 plugins.dates | 8 plugins.dates.builds | 9 plugins.dates.scripts | 10 plugins.dates.src | 11 plugins.dates.src.api | 12 plugins.dates.src.api.find | 13 plugins.dates.src.api.parse | 14 plugins.dates.src.api.parse.one | 15 src.API.View | 16 plugins.dates.builds.compromise-dates | 17 plugins.dates.src.api.dates | 18 plugins.dates.src.api.durations | 19 plugins.dates.src.api.times | 20 src.2-two.contraction-two.api | 21 src.3-three.adjectives.plugin | 22 src.3-three.adverbs.plugin | 23 src.3-three.chunker.api.api | 24 src.3-three.coreference.api.pronouns | 25 src.3-three.misc.acronyms | 26 src.3-three.misc.parentheses | 27 src.3-three.misc.possessives | 28 src.3-three.misc.quotations | 29 src.3-three.misc.slashes | 30 src.3-three.nouns.api.api | 31 src.3-three.numbers.fractions.api | 32 src.3-three.numbers.money.api | 33 src.3-three.numbers.numbers.api | 34 src.3-three.sentences.api | 35 src.3-three.topics.people.api | 36 src.3-three.verbs.api.api | 37 plugins.dates.src.api.parse.one.units._day | 38 plugins.dates.src.api.parse.one.units._time | 39 plugins.dates.src.api.parse.one.units._week | 40 plugins.dates.src.api.parse.one.units._year |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 demos.web-worker | ||||||||||||||||||||||||||||||||||||||||
| 2 plugins._experiments.ast.src | ||||||||||||||||||||||||||||||||||||||||
| 3 plugins._experiments.compress.src | ||||||||||||||||||||||||||||||||||||||||
| 4 plugins._experiments.markdown.src | ||||||||||||||||||||||||||||||||||||||||
| 5 plugins._experiments.markdown.src.parse | ||||||||||||||||||||||||||||||||||||||||
| 6 plugins._experiments.sentiment.src | ||||||||||||||||||||||||||||||||||||||||
| 7 plugins.dates | ||||||||||||||||||||||||||||||||||||||||
| 8 plugins.dates.builds | ||||||||||||||||||||||||||||||||||||||||
| 9 plugins.dates.scripts | ||||||||||||||||||||||||||||||||||||||||
| 10 plugins.dates.src | ||||||||||||||||||||||||||||||||||||||||
| 11 plugins.dates.src.api | ||||||||||||||||||||||||||||||||||||||||
| 12 plugins.dates.src.api.find | ||||||||||||||||||||||||||||||||||||||||
| 13 plugins.dates.src.api.parse | ||||||||||||||||||||||||||||||||||||||||
| 14 plugins.dates.src.api.parse.one | ||||||||||||||||||||||||||||||||||||||||
| 15 src.API.View | ||||||||||||||||||||||||||||||||||||||||
| 16 plugins.dates.builds.compromise-dates | 3 | |||||||||||||||||||||||||||||||||||||||
| 17 plugins.dates.src.api.dates | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 plugins.dates.src.api.durations | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 plugins.dates.src.api.times | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 src.2-two.contraction-two.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 src.3-three.adjectives.plugin | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 src.3-three.adverbs.plugin | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 src.3-three.chunker.api.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 src.3-three.coreference.api.pronouns | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 src.3-three.misc.acronyms | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 src.3-three.misc.parentheses | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 src.3-three.misc.possessives | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 src.3-three.misc.quotations | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 src.3-three.misc.slashes | 1 | |||||||||||||||||||||||||||||||||||||||
| 30 src.3-three.nouns.api.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 src.3-three.numbers.fractions.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 src.3-three.numbers.money.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 src.3-three.numbers.numbers.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 src.3-three.sentences.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 35 src.3-three.topics.people.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 src.3-three.verbs.api.api | 1 | |||||||||||||||||||||||||||||||||||||||
| 37 plugins.dates.src.api.parse.one.units._day | 4 | |||||||||||||||||||||||||||||||||||||||
| 38 plugins.dates.src.api.parse.one.units._time | 3 | |||||||||||||||||||||||||||||||||||||||
| 39 plugins.dates.src.api.parse.one.units._week | 2 | |||||||||||||||||||||||||||||||||||||||
| 40 plugins.dates.src.api.parse.one.units._year | 6 |
16→15 plugins.dates.builds.compromise-dates depends on src.API.View✕
- Type pairs
- 3 distinct (type in plugins.dates.builds.compromise-dates → type in src.API.View) references.
- Which types
plugins.dates.builds.compromise-dates.Dates→src.API.View.Viewplugins.dates.builds.compromise-dates.Durations→src.API.View.Viewplugins.dates.builds.compromise-dates.Times→src.API.View.View
- Direction
- plugins.dates.builds.compromise-dates uses src.API.View. Changing src.API.View can break plugins.dates.builds.compromise-dates, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→15 plugins.dates.src.api.dates depends on src.API.View✕
- Type pairs
- 1 distinct (type in plugins.dates.src.api.dates → type in src.API.View) reference.
- Which types
plugins.dates.src.api.dates.Dates→src.API.View.View
- Direction
- plugins.dates.src.api.dates uses src.API.View. Changing src.API.View can break plugins.dates.src.api.dates, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→15 plugins.dates.src.api.durations depends on src.API.View✕
- Type pairs
- 1 distinct (type in plugins.dates.src.api.durations → type in src.API.View) reference.
- Which types
plugins.dates.src.api.durations.Durations→src.API.View.View
- Direction
- plugins.dates.src.api.durations uses src.API.View. Changing src.API.View can break plugins.dates.src.api.durations, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→15 plugins.dates.src.api.times depends on src.API.View✕
- Type pairs
- 1 distinct (type in plugins.dates.src.api.times → type in src.API.View) reference.
- Which types
plugins.dates.src.api.times.Times→src.API.View.View
- Direction
- plugins.dates.src.api.times uses src.API.View. Changing src.API.View can break plugins.dates.src.api.times, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→15 src.2-two.contraction-two.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.2-two.contraction-two.api → type in src.API.View) reference.
- Which types
src.2-two.contraction-two.api.Contractions→src.API.View.View
- Direction
- src.2-two.contraction-two.api uses src.API.View. Changing src.API.View can break src.2-two.contraction-two.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→15 src.3-three.adjectives.plugin depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.adjectives.plugin → type in src.API.View) reference.
- Which types
src.3-three.adjectives.plugin.Adjectives→src.API.View.View
- Direction
- src.3-three.adjectives.plugin uses src.API.View. Changing src.API.View can break src.3-three.adjectives.plugin, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→15 src.3-three.adverbs.plugin depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.adverbs.plugin → type in src.API.View) reference.
- Which types
src.3-three.adverbs.plugin.Adverbs→src.API.View.View
- Direction
- src.3-three.adverbs.plugin uses src.API.View. Changing src.API.View can break src.3-three.adverbs.plugin, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→15 src.3-three.chunker.api.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.chunker.api.api → type in src.API.View) reference.
- Which types
src.3-three.chunker.api.api.Chunks→src.API.View.View
- Direction
- src.3-three.chunker.api.api uses src.API.View. Changing src.API.View can break src.3-three.chunker.api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→15 src.3-three.coreference.api.pronouns depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.coreference.api.pronouns → type in src.API.View) reference.
- Which types
src.3-three.coreference.api.pronouns.Pronouns→src.API.View.View
- Direction
- src.3-three.coreference.api.pronouns uses src.API.View. Changing src.API.View can break src.3-three.coreference.api.pronouns, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→15 src.3-three.misc.acronyms depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.misc.acronyms → type in src.API.View) reference.
- Which types
src.3-three.misc.acronyms.Acronyms→src.API.View.View
- Direction
- src.3-three.misc.acronyms uses src.API.View. Changing src.API.View can break src.3-three.misc.acronyms, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→15 src.3-three.misc.parentheses depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.misc.parentheses → type in src.API.View) reference.
- Which types
src.3-three.misc.parentheses.Parentheses→src.API.View.View
- Direction
- src.3-three.misc.parentheses uses src.API.View. Changing src.API.View can break src.3-three.misc.parentheses, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→15 src.3-three.misc.possessives depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.misc.possessives → type in src.API.View) reference.
- Which types
src.3-three.misc.possessives.Possessives→src.API.View.View
- Direction
- src.3-three.misc.possessives uses src.API.View. Changing src.API.View can break src.3-three.misc.possessives, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→15 src.3-three.misc.quotations depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.misc.quotations → type in src.API.View) reference.
- Which types
src.3-three.misc.quotations.Quotations→src.API.View.View
- Direction
- src.3-three.misc.quotations uses src.API.View. Changing src.API.View can break src.3-three.misc.quotations, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→15 src.3-three.misc.slashes depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.misc.slashes → type in src.API.View) reference.
- Which types
src.3-three.misc.slashes.Slashes→src.API.View.View
- Direction
- src.3-three.misc.slashes uses src.API.View. Changing src.API.View can break src.3-three.misc.slashes, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→15 src.3-three.nouns.api.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.nouns.api.api → type in src.API.View) reference.
- Which types
src.3-three.nouns.api.api.Nouns→src.API.View.View
- Direction
- src.3-three.nouns.api.api uses src.API.View. Changing src.API.View can break src.3-three.nouns.api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→15 src.3-three.numbers.fractions.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.numbers.fractions.api → type in src.API.View) reference.
- Which types
src.3-three.numbers.fractions.api.Fractions→src.API.View.View
- Direction
- src.3-three.numbers.fractions.api uses src.API.View. Changing src.API.View can break src.3-three.numbers.fractions.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→15 src.3-three.numbers.money.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.numbers.money.api → type in src.API.View) reference.
- Which types
src.3-three.numbers.money.api.Money→src.API.View.View
- Direction
- src.3-three.numbers.money.api uses src.API.View. Changing src.API.View can break src.3-three.numbers.money.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→15 src.3-three.numbers.numbers.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.numbers.numbers.api → type in src.API.View) reference.
- Which types
src.3-three.numbers.numbers.api.Numbers→src.API.View.View
- Direction
- src.3-three.numbers.numbers.api uses src.API.View. Changing src.API.View can break src.3-three.numbers.numbers.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→15 src.3-three.sentences.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.sentences.api → type in src.API.View) reference.
- Which types
src.3-three.sentences.api.Sentences→src.API.View.View
- Direction
- src.3-three.sentences.api uses src.API.View. Changing src.API.View can break src.3-three.sentences.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→15 src.3-three.topics.people.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.topics.people.api → type in src.API.View) reference.
- Which types
src.3-three.topics.people.api.People→src.API.View.View
- Direction
- src.3-three.topics.people.api uses src.API.View. Changing src.API.View can break src.3-three.topics.people.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→15 src.3-three.verbs.api.api depends on src.API.View✕
- Type pairs
- 1 distinct (type in src.3-three.verbs.api.api → type in src.API.View) reference.
- Which types
src.3-three.verbs.api.api.Verbs→src.API.View.View
- Direction
- src.3-three.verbs.api.api uses src.API.View. Changing src.API.View can break src.3-three.verbs.api.api, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→16 plugins.dates.src.api.parse.one.units._day depends on plugins.dates.builds.compromise-dates✕
- Type pairs
- 4 distinct (type in plugins.dates.src.api.parse.one.units._day → type in plugins.dates.builds.compromise-dates) references.
- Which types
plugins.dates.src.api.parse.one.units._day.CalendarDate→plugins.dates.builds.compromise-dates.Dayplugins.dates.src.api.parse.one.units._day.Day→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._day.Holiday→plugins.dates.builds.compromise-dates.CalendarDateplugins.dates.src.api.parse.one.units._day.WeekDay→plugins.dates.builds.compromise-dates.Day
- Direction
- plugins.dates.src.api.parse.one.units._day uses plugins.dates.builds.compromise-dates. Changing plugins.dates.builds.compromise-dates can break plugins.dates.src.api.parse.one.units._day, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→16 plugins.dates.src.api.parse.one.units._time depends on plugins.dates.builds.compromise-dates✕
- Type pairs
- 3 distinct (type in plugins.dates.src.api.parse.one.units._time → type in plugins.dates.builds.compromise-dates) references.
- Which types
plugins.dates.src.api.parse.one.units._time.Hour→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._time.Minute→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._time.Moment→plugins.dates.builds.compromise-dates.Unit
- Direction
- plugins.dates.src.api.parse.one.units._time uses plugins.dates.builds.compromise-dates. Changing plugins.dates.builds.compromise-dates can break plugins.dates.src.api.parse.one.units._time, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→16 plugins.dates.src.api.parse.one.units._week depends on plugins.dates.builds.compromise-dates✕
- Type pairs
- 2 distinct (type in plugins.dates.src.api.parse.one.units._week → type in plugins.dates.builds.compromise-dates) references.
- Which types
plugins.dates.src.api.parse.one.units._week.Week→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._week.WeekEnd→plugins.dates.builds.compromise-dates.Unit
- Direction
- plugins.dates.src.api.parse.one.units._week uses plugins.dates.builds.compromise-dates. Changing plugins.dates.builds.compromise-dates can break plugins.dates.src.api.parse.one.units._week, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→16 plugins.dates.src.api.parse.one.units._year depends on plugins.dates.builds.compromise-dates✕
- Type pairs
- 6 distinct (type in plugins.dates.src.api.parse.one.units._year → type in plugins.dates.builds.compromise-dates) references.
- Which types
plugins.dates.src.api.parse.one.units._year.AnyMonth→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._year.AnyQuarter→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._year.Month→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._year.Quarter→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._year.Season→plugins.dates.builds.compromise-dates.Unitplugins.dates.src.api.parse.one.units._year.Year→plugins.dates.builds.compromise-dates.Unit
- Direction
- plugins.dates.src.api.parse.one.units._year uses plugins.dates.builds.compromise-dates. Changing plugins.dates.builds.compromise-dates can break plugins.dates.src.api.parse.one.units._year, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2021 — Cryptographic Failures | 28 | High / Critical |
| A03:2021 — Injection | 8 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 2 | High / Critical |
Roadmap
Top priorities: Migrate the remaining .js/.jsx files to TypeScript; Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5; Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Migrate the remaining .js/.jsx files to TypeScript. | +4.2 pts | Medium | Type Safety |
| Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5. | +4.1 pts | Medium | Cyclomatic Complexity |
| Resolve the 1 Assertions commented out finding(s) in Test Quality — start with topics.test.js. | +1.8 pts | Low | Test Quality |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing. | +3.6 pts | Medium | Security & performance tooling |
| Add tests that import the unreached modules (directly or through their public entry). | +3.5 pts | Medium | Test Coverage |
| Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies. | +3.3 pts | Medium | Dependency Hygiene |
| Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract. | +2.6 pts | Medium | Code Duplication |
| Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package. | +2.4 pts | Medium | Large Files |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| tests/three/topics.test.js | 7.1 | Mixed | Test Quality: Assertions commented out: topics-basic |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 41 of 45 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 45 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 1035 of 1057 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D1 Cyclomatic Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.js) had no cyclomatic complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D2 Cognitive Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.js) had no cognitive complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.ts, .js) and the coverage collector does support this ecosystem — it drives jest, vitest and mocha — but the runner it declares is one the coverage collector has no executor for (`tape`). Read from the manifests: the root package has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer` and declares `tape`; `plugins/_experiments/ast` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/_experiments/cmd-k` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/_experiments/markdown` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/_experiments/sentiment` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/dates` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/paragraphs` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/payload` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/speech` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/speed` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/stats` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/wikipedia` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`. Not scored — this is a gap in the analyzer's runner coverage, not a missing .ts/.js runner and not a defect in this repository. To have real coverage read, produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — a committed report is read whatever runner produced it.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.ts, .js) and the reliability runner does support this ecosystem — it drives jest, vitest, mocha and egg-bin — but the runner it declares is one the re-runner has no executor for (`tape`). Read from the manifests: the root package has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer` and declares `tape`; `plugins/_experiments/ast` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/_experiments/cmd-k` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/_experiments/markdown` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/_experiments/sentiment` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/dates` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/paragraphs` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/payload` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/speech` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/speed` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/stats` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`; `plugins/wikipedia` has a `scripts.test` of `tape "./tests/**/*.test.js" | tap-dancer --color always` and declares `tape`. So flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's runner coverage, not a missing .ts/.js runner and not a finding about this repository.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (128 contributor(s) across 6257 commit(s) sampled, automation and bot accounts excluded). One of them holds 92% of the history; the other 127 hold 0.1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (package.json), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D34 Knowledge Freshness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. File-level freshness contradicts repo activity: 79 commits in the last 90 days, yet 74 of 105 significant files carry no living knowledge. Those two readings cannot both be true, so the per-file recency signal is treated as unreliable here and freshness is not scored for this run.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and none applies: this repository publishes a library and deploys nothing (no container, IaC or deployment manifest), so it holds no runtime state of its own. Any data-access dependency it declares is the store it is a CLIENT for, not one it operates. The DR control belongs to whoever runs that data.
- R10 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 136 further occurrence(s) are not listed individually; the score already reflects all 176.
- R4 Test Coverage — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 199 further occurrence(s) are not listed individually; the score already reflects all 239.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Java and Rust source only, and no C# was loaded and no Java or Rust was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Scala source only, and no C# was loaded and no Scala was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Scala source only, and no C# was loaded and no Scala was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D5 · Coupling
16 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence, with abstractness counted on 1 of the 16 (the rest declare no modelled class or interface, export only macros, or have no source directory of their own).
D6 · Cohesion (LCOM4)
0 of 24 classes have LCOM4 above 3.
D9 · Test Distribution
927 test methods: 927 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 927 `it`/`test` case(s) across 273 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 845 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 927 tests (3 harness-style project(s) excluded from the assertion penalty).
What to do
- Resolve the 1 Assertions commented out finding(s) in Test Quality — start with topics.test.js. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 10 No assertions finding(s) in Test Quality — start with misc.test.js (4), payload.test.js (2), stream.test.js (2). — One of this dimension's main actionable groups (10 warning-level).
- Resolve the 5 Test project verifies nothing finding(s) in Test Quality — start with misc.test.js (2), payload.test.js, syllables.test.js. — One of this dimension's main actionable groups (5 warning-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D12 · Dependency Hygiene
10 outdated direct production npm dependency(ies) of 11 graded, 0 pinning defect(s), across 8 package.json (8 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded: this dimension grades what SHIPS. Whether any of these packages is DEPRECATED or UNMAINTAINED is not graded — registry.npmjs.org's latest-version answer carries neither, and release age does not stand in for a maintenance status. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 11 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 11 production dependency(ies) this repository's committed lockfile resolves, across 8 product package.json manifest(s). Its 19 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. 1 of them publish no licence this pass can read on registry.npmjs.org — an absent field, `UNLICENSED`, or a `SEE LICENSE IN <file>` pointer into a tarball this pass does not download; that is missing data, not a violation, and none of them is charged. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
Top hotspots: src/1-one/change/api/replace.js (3×23=69); src/1-one/output/api/out.js (2×21=42); src/3-three/redact/redact.js (2×16=32)
What to do
- Resolve the 3 Hotspot finding(s) in Churn × Complexity Hotspots — start with replace.js, out.js, redact.js. — One of this dimension's main actionable groups (3 warning-level).
D17 · Explicit Debt
0 deducted task-comment markers across 330 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
This repository is well documented: the READMEs and architecture/Docs markdown files are cohesive, complete, and well-structured. The compromise-nlp package's README describes itself with a usage example (import nlp(...), call .verbs().toPastTense()) plus an overview of the five 'rules that prevent almost every mistake'. docs/concepts.md is a 5-minute mental model covering what it is, the three objects (Document, View, Term), mutability, and clone(), while docs/match-syntax.md gives a full quick-reference table for .match() syntax. AGENTS.md maps out the referenced docs as territory and provides a 30-second mental model plus a 'Not supported' warning. The only unshown section is clipped by the scanner; no section is missing from an outline. (14 of 20 sampled documents could not be assessed: 1 of 2 evaluation groups failed.)
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
2 of 12 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
27 finding(s): 0 critical, 27 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 27 REDACTED finding(s) in Secrets (history) — start with REDACTED (5), REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (27 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
8 finding(s): 0 critical, 4 high, 4 medium, 0 low. semgrep hit a parse error in 7 file(s) — `REDACTED`, `builds/one/compromise-one.cjs`, `builds/one/compromise-one.mjs`, `REDACTED`, `builds/three/compromise-three.mjs`, … (+2 more) — so no absence of findings in them is evidence of anything, and nothing in them was analysed. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
2 finding(s): 0 critical, 2 high, 0 medium, 0 low.
What to do
- Resolve the 2 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
D35 · Change Coupling
Strongest change-coupling: scratch.js↔_verb.js 100%; actors.js↔scratch.js 100%; scratch.js↔insert.js 100%
What to do
- Resolve the 1 Change-coupling hub finding(s) in Change Coupling — start with scratch.js. — One of this dimension's main actionable groups (1 warning-level).
D36 · Supply-chain Provenance & Signing
2/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 3 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 4 of 15 project(s) that lack one — worth up to 0.5 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
M4 · Documentation accuracy
- README advertises a microservices architecture, but the repo is a single project with no service manifests — searched for: `microservice`, `service-mesh`, `istio`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
What to do
- Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests.
P1 · CI/CD gates
P10 · Library API & versioning
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 3716 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P6 · Release Hygiene
PF3 · Async & latency hygiene
R1 · Type Safety
- 5 typed · 959 plain JS — the untyped files are data/lexicon/adjectives/adjectives.js, data/lexicon/adjectives/comparables.js, data/lexicon/dates/dates.js, data/lexicon/dates/durations.js, data/lexicon/dates/months.js, data/lexicon/dates/weekdays.js (+953 more).
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- 39 duplicated blocks under plugins/dates/ have copies in at least two of the sibling directories builds, src — 32 of them are reported below, and 7 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 39 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 39 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 39 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — plugins/dates/builds/compromise-dates.cjs:621
- 7 duplicated blocks under plugins/ have copies in at least two of the sibling directories dates, paragraphs, payload, speech, speed, stats (+1 more sibling(s) not listed) — 6 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — plugins/dates/scripts/perf.js:5
- 7 duplicated blocks under src/ have copies in at least two of the sibling directories 1-one, 2-two, 3-three — 5 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — src/1-one/contraction-one/compute/contractions/_splice.js:2
- 6 duplicated blocks under the repository root have copies in at least two of the sibling directories plugins, scripts, src — 3 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 6 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 6 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — plugins/_experiments/ast/src/ast.js:2
- 6 duplicated blocks under src/3-three/ have copies in at least two of the sibling directories adjectives, adverbs, chunker, nouns, numbers, topics (+1 more sibling(s) not listed) — 3 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 6 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 6 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — src/3-three/nouns/api/api.js:8
- 5 of the duplicated blocks reported below have copies in at least two of the sibling directories builds, src under plugins/speed/. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — REDACTED:25
- plugins/dates/builds/compromise-dates.cjs:621 · plugins/dates/src/model/words/timezones.js:15 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — plugins/dates/builds/compromise-dates.cjs:621
- plugins/dates/builds/compromise-dates.cjs:3200 · plugins/dates/src/api/parse/range/02-date-range.js:110 — the two spans are one implementation copied and then locally edited — 821 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:3200
- plugins/dates/builds/compromise-dates.cjs:137 · plugins/dates/src/api/parse/one/01-tokenize/01-shift.js:1 — the two spans are one implementation copied and then locally edited — 699 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:137
- plugins/dates/builds/compromise-dates.cjs:2810 · plugins/dates/src/api/parse/range/01-two-times.js:3 — the two spans are one implementation copied and then locally edited — 481 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:2810
- plugins/speech/builds/compromise-speech.cjs:8 · plugins/speech/src/compute/soundsLike/transformations.js:2 — the two spans are one implementation copied and then locally edited — 490 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/speech/builds/compromise-speech.cjs:8
- plugins/dates/builds/compromise-dates.cjs:2497 · plugins/dates/src/api/parse/one/03-transform/addCounter.js:3 — the two spans are one implementation copied and then locally edited — 501 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:2497
- plugins/paragraphs/builds/compromise-paragraphs.cjs:43 · plugins/paragraphs/src/api.js:38 — the two spans are one implementation copied and then locally edited — 414 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/paragraphs/builds/compromise-paragraphs.cjs:43
- plugins/speech/builds/compromise-speech.cjs:138 · plugins/speech/src/compute/syllables/postProcess.js:11 — the two spans are one implementation copied and then locally edited — 541 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/speech/builds/compromise-speech.cjs:138
- plugins/_experiments/compress/src/lz.js:101 · plugins/_experiments/compress/src/lz.js:186 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — plugins/_experiments/compress/src/lz.js:101
- plugins/dates/builds/compromise-dates.cjs:3923 · plugins/dates/src/api/durations/parse.js:1 — the two spans are one implementation copied and then locally edited — 358 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:3923
- plugins/dates/builds/compromise-dates.cjs:3531 · plugins/dates/src/api/parse/range/index.js:9 — the two spans are one implementation copied and then locally edited — 402 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:3531
- plugins/dates/builds/compromise-dates.cjs:273 · plugins/dates/src/api/parse/one/01-tokenize/02-counter.js:9 — the two spans are one implementation copied and then locally edited — 340 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:273
- plugins/dates/builds/compromise-dates.cjs:888 · plugins/dates/src/api/parse/one/01-tokenize/06-timezone.js:8 — the two spans are one implementation copied and then locally edited — 323 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:888
- plugins/payload/builds/compromise-payload.cjs:20 · plugins/payload/src/plugin.js:3 — the two spans are one implementation copied and then locally edited — 427 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/payload/builds/compromise-payload.cjs:20
- plugins/dates/builds/compromise-dates.cjs:3689 · plugins/dates/src/api/toJSON.js:1 — the two spans are one implementation copied and then locally edited — 314 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:3689
- plugins/speech/builds/compromise-speech.cjs:248 · plugins/speech/src/compute/syllables/syllables.js:15 — the two spans are one implementation copied and then locally edited — 338 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/speech/builds/compromise-speech.cjs:248
- plugins/dates/builds/compromise-dates.cjs:3614 · plugins/dates/src/api/normalize.js:3 — the two spans are one implementation copied and then locally edited — 311 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:3614
- src/3-three/nouns/api/api.js:8 · src/3-three/topics/people/api.js:6 — the two spans are one implementation copied and then locally edited — 214 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/3-three/nouns/api/api.js:8
- plugins/dates/builds/compromise-dates.cjs:2151 · plugins/dates/src/api/parse/one/02-parse/03-next-last.js:2 — the two spans are one implementation copied and then locally edited — 184 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:2151
- plugins/stats/src/ngram/endGrams.js:12 · plugins/stats/src/ngram/startGrams.js:11 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — plugins/stats/src/ngram/endGrams.js:12
- src/1-one/match/methods/match/steps/and-block.js:5 · src/1-one/match/methods/match/steps/or-block.js:4 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — src/1-one/match/methods/match/steps/and-block.js:5
- plugins/dates/builds/compromise-dates.cjs:965 · plugins/dates/src/api/parse/one/01-tokenize/index.js:10 — the two spans are one implementation copied and then locally edited — 196 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:965
- plugins/dates/builds/compromise-dates.cjs:1118 · plugins/dates/src/api/parse/one/units/Unit.js:87 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — plugins/dates/builds/compromise-dates.cjs:1118
- plugins/dates/builds/compromise-dates.cjs:2585 · plugins/dates/src/api/parse/one/03-transform/index.js:5 — the two spans are one implementation copied and then locally edited — 218 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:2585
- REDACTED:17 · REDACTED:64 · REDACTED:112 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — REDACTED:17
- plugins/stats/src/ngram/endGrams.js:12 · plugins/stats/src/ngram/getGrams.js:11 · plugins/stats/src/ngram/startGrams.js:11 — the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — plugins/stats/src/ngram/endGrams.js:12
- REDACTED:25 · plugins/speed/src/stream/streamFile.js:1 — the two spans are one implementation copied and then locally edited — 231 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — REDACTED:25
- plugins/dates/scripts/perf.js:5 · plugins/wikipedia/scripts/perf.js:5 — the two spans are one implementation copied and then locally edited — 258 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/scripts/perf.js:5
- src/1-one/contraction-one/compute/contractions/_splice.js:2 · src/2-two/contraction-two/compute/_splice.js:2 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — src/1-one/contraction-one/compute/contractions/_splice.js:2
- REDACTED:85 · plugins/speed/src/keypress/index.js:4 — the two spans are one implementation copied and then locally edited — 194 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — REDACTED:85
- plugins/dates/builds/compromise-dates.cjs:4148 · plugins/dates/src/compute/01-time-range.js:3 — the two spans are one implementation copied and then locally edited — 212 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:4148
- REDACTED:186 · plugins/speed/src/workerPool/index.js:4 — the two spans are one implementation copied and then locally edited — 203 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — REDACTED:186
- plugins/dates/builds/compromise-dates.cjs:560 · plugins/dates/src/api/parse/one/01-tokenize/04-relative.js:2 — the two spans are one implementation copied and then locally edited — 145 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:560
- plugins/dates/builds/compromise-dates.cjs:4211 · plugins/dates/src/compute/02-timezone.js:5 — the two spans are one implementation copied and then locally edited — 145 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — plugins/dates/builds/compromise-dates.cjs:4211
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- plugins/wikipedia/scratch.js:2 reaches into another package with a relative path (../../src/one.js) — import the package by name instead. — plugins/wikipedia/scratch.js:2
- plugins/wikipedia/scripts/generate/02-filter.js:5 reaches into another package with a relative path (../../../../src/two.js) — import the package by name instead. — plugins/wikipedia/scripts/generate/02-filter.js:5
- plugins/wikipedia/scripts/perf.js:3 reaches into another package with a relative path (../../../src/one.js) — import the package by name instead. — plugins/wikipedia/scripts/perf.js:3
- plugins/wikipedia/src/plugin.js:2 reaches into another package with a relative path (./_model.js) — import the package by name instead. — plugins/wikipedia/src/plugin.js:2
What to do
- Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity
- isPossessive has cyclomatic complexity 44 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/2-two/contraction-two/compute/isPossessive.js:17
- parseToken has cyclomatic complexity 43 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:34
- parseTime has cyclomatic complexity 43 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) — plugins/dates/builds/compromise-dates.cjs:395, plugins/dates/src/api/parse/one/01-tokenize/03-time.js:63
- doesMatch has cyclomatic complexity 43 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/1-one/match/methods/match/term/doesMatch.js:7
- _compress has cyclomatic complexity 38 and cognitive complexity 150; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — plugins/_experiments/compress/src/lz.js:75
- add has cyclomatic complexity 37 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — plugins/dates/builds/compromise-dates.cjs:333
- parseExplicit has cyclomatic complexity 36 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) — plugins/dates/builds/compromise-dates.cjs:2295, plugins/dates/src/api/parse/one/02-parse/05-explicit.js:14
- parse has cyclomatic complexity 34 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/3-three/numbers/numbers/parse/toNumber/index.js:27
- _decompress has cyclomatic complexity 32 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — plugins/_experiments/compress/src/lz.js:298
- tryHere has cyclomatic complexity 28 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/1-one/match/methods/match/02-from-here.js:15
- replaceWith has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/1-one/change/api/replace.js:34
- normalizePunctuation has cyclomatic complexity 25 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/1-one/tokenize/methods/03-whitespace/tokenize.js:10
- postprocess has cyclomatic complexity 24 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) — plugins/speech/builds/compromise-speech.cjs:151, plugins/speech/src/compute/syllables/postProcess.js:24
- (anonymous) has cyclomatic complexity 24 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/1-one/output/api/_text.js:11
- tagYear has cyclomatic complexity 22 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/2-two/preTagger/compute/tagger/2nd-pass/05-year.js:73
- findNumbers has cyclomatic complexity 22 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/3-three/numbers/numbers/find.js:7
- byNeighbour has cyclomatic complexity 21 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/3-three/chunker/compute/02-neighbours.js:2
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×40) — plugins/dates/builds/compromise-dates.cjs, data/pairs/Gerund.js, data/pairs/PastTense.js, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
R7 · Dead Code
- Unreachable from the 79 application, 24 tooling and 290 test entry point(s) detected in this repo. Gate removals on `pnpm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (plugins/_experiments/compress/src/index.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — plugins/_experiments/compress/src/lz.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (scripts/patterns/tester.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×2) — scripts/patterns/manual.js, scripts/patterns/patterns.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×19) — plugins/_experiments/sentiment/test.js, scripts/typescript/one.ts, src/4-four/sense/model/more.js, …
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/4-four/facts/api.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/4-four/facts/parse/index.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/4-four/facts/plugin.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/4-four/facts/api.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/4-four/sense/model/senses/index.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×3) — src/4-four/sense/model/senses/noun.js, src/4-four/sense/model/senses/verb.js, src/4-four/sense/model/senses/adjective.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/4-four/sense/plugin.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×3) — src/4-four/sense/compute/index.js, src/4-four/sense/model/index.js, src/4-four/sense/api/api.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/4-four/facts/parse/index.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×3) — src/4-four/facts/parse/postProcess.js, src/4-four/facts/parse/adjective.js, src/4-four/facts/parse/pivot.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/4-four/facts/parse/index.js, src/4-four/facts/parse/statement/index.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×2) — src/4-four/facts/parse/verb.js, src/4-four/facts/parse/noun.js
- no import path from any entry point (79 application, 24 tooling, 290 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/four.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×2) — src/4-four/sense/plugin.js, src/4-four/facts/plugin.js
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. — plugins/_experiments/markdown/src/parse/index.js:1
- Declared in plugins/_experiments/markdown/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X29 · Per-element action decided by a fixed element
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 56% | Adequate — gated by R1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 80% | Strong | Solid. |
| Maturity | 64% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 57% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 63% | Adequate — gated by D28 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 81 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's JavaScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D1 Cyclomatic Complexity — cyclomatic complexity not measured — .js exposed no member bodies
- D11 Test Reliability — Test reliability not included — no executor for the `tape` test runner
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D2 Cognitive Complexity — cognitive complexity not measured — .js exposed no member bodies
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- D3 God Classes — Most of this repository's production source (.js) was not read by god-class detection, so class size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's class size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.cjs, .js, .ts) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — no executor for the `tape` test runner
- DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this lens looks for
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P2 Observability — This repository's JavaScript/TypeScript source (12 module(s), 682 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R5 Dependency Freshness — uses a pnpm lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X28 Index access outside its own emptiness guard — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 35 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Assertions commented out: topics-basic tests/three/topics.test.js:39
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Unlisted import 'mdast-util-from-markdown' plugins/_experiments/markdown/src/parse/index.js:1
Serious — 168 finding(s)
- No test reaches this file plugins/dates/builds/compromise-dates.cjs
- No test reaches this file data/pairs/Gerund.js
- No test reaches this file data/pairs/PastTense.js
- No test reaches this file data/pairs/PresentTense.js
- No test reaches this file data/lexicon/people/femaleNames.js
- No test reaches this file data/lexicon/people/maleNames.js
- No test reaches this file REDACTED
- No test reaches this file data/lexicon/verbs/phrasals.js
- No test reaches this file data/lexicon/switches/noun-verb.js
- No test reaches this file data/lexicon/people/lastnames.js
- No test reaches this file data/lexicon/adjectives/adjectives.js
- No test reaches this file data/lexicon/verbs/infinitives.js
- No test reaches this file data/lexicon/nouns/actors.js
- No test reaches this file data/lexicon/places/cities.js
- No test reaches this file plugins/_experiments/compress/src/lz.js
- No test reaches this file data/pairs/AdjToNoun.js
- No test reaches this file data/lexicon/nouns/singulars.js
- No test reaches this file data/pairs/Superlative.js
- No test reaches this file plugins/speech/builds/compromise-speech.cjs
- No test reaches this file data/lexicon/places/places.js
- No test reaches this file data/lexicon/switches/adj-past.js
- No test reaches this file data/lexicon/nouns/organizations.js
- No test reaches this file data/lexicon/adjectives/comparables.js
- No test reaches this file data/pairs/Comparative.js
- No test reaches this file data/lexicon/switches/adj-gerund.js
- No assertions: paragraph-basic plugins/paragraphs/tests/misc.test.js:7
- No assertions: paragraph-tests plugins/paragraphs/tests/misc.test.js:37
- No assertions: payload-misc plugins/payload/tests/payload.test.js:4
- No assertions: payload-fn plugins/payload/tests/payload.test.js:32
- No assertions: test length plugins/speech/tests/syllables.test.js:64
- No assertions: soundsLike-tests plugins/speech/tests/soundsLike.test.js:4
- No assertions: stream the whole document plugins/speed/tests/stream.test.js:14
- No assertions: return no matches plugins/speed/tests/stream.test.js:24
- No assertions: true-positive plugins/wikipedia/tests/misc.test.js:4
- No assertions: true-negative plugins/wikipedia/tests/misc.test.js:17
- Test project verifies nothing: plugins/paragraphs plugins/paragraphs/tests/misc.test.js:7
- Test project verifies nothing: plugins/payload plugins/payload/tests/payload.test.js:4
- Test project verifies nothing: plugins/speech plugins/speech/tests/syllables.test.js:64
- Test project verifies nothing: plugins/speed plugins/speed/tests/stream.test.js:14
- Test project verifies nothing: plugins/wikipedia plugins/wikipedia/tests/misc.test.js:4
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Boundary violation [package:relative-cross-package] plugins/wikipedia/scratch.js:2
- Boundary violation [package:relative-cross-package] plugins/wikipedia/scripts/generate/02-filter.js:5
- Boundary violation [package:relative-cross-package] plugins/wikipedia/scripts/perf.js:3
- Boundary violation [package:relative-cross-package] plugins/wikipedia/src/plugin.js:2
- Hotspot: src/1-one/change/api/replace.js src/1-one/change/api/replace.js:34
- Hotspot: src/1-one/output/api/out.js src/1-one/output/api/out.js:24
- Hotspot: src/3-three/redact/redact.js src/3-three/redact/redact.js:36
- Duplicated block with local edits (69 matched lines × 2 locations) plugins/paragraphs/builds/compromise-paragraphs.cjs:43
- Duplicated block with local edits (69 matched lines × 2 locations) plugins/speech/builds/compromise-speech.cjs:138
- Duplicated block with local edits (42 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:3689
- Duplicated block with local edits (42 matched lines × 2 locations) plugins/speech/builds/compromise-speech.cjs:248
- Duplicated block with local edits (39 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:3614
- Duplicated block with local edits (39 matched lines × 2 locations) src/3-three/nouns/api/api.js:8
- Duplicated block (29 lines × 3 locations) REDACTED:17
- Duplicated block (29 lines × 3 locations) plugins/stats/src/ngram/endGrams.js:12
- Duplicated block with local edits (23 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:4148
- Duplicated block with local edits (23 matched lines × 2 locations) REDACTED:186
- Complex function parseTime (cyclomatic 43, cognitive 71) plugins/dates/builds/compromise-dates.cjs:395
- Complex function parseTime (cyclomatic 43, cognitive 71) plugins/dates/src/api/parse/one/01-tokenize/03-time.js:63
- Complex function parseExplicit (cyclomatic 36, cognitive 57) plugins/dates/builds/compromise-dates.cjs:2295
- Complex function parseExplicit (cyclomatic 36, cognitive 57) plugins/dates/src/api/parse/one/02-parse/05-explicit.js:14
- Complex function postprocess (cyclomatic 24, cognitive 32) plugins/speech/builds/compromise-speech.cjs:151
- Complex function postprocess (cyclomatic 24, cognitive 32) plugins/speech/src/compute/syllables/postProcess.js:24
- Dead file (~36 LoC) plugins/wikipedia/scripts/generate/01-download.js
- Dead file (~36 LoC) scripts/patterns/tester.js
- Dead file (~22 LoC) scripts/typescript/two.ts
- Dead file (~22 LoC) src/4-four/sense/model/senses/adjective.js
- Dead file (~12 LoC) src/4-four/facts/parse/adjective.js
- Dead file (~12 LoC) src/4-four/facts/parse/pivot.js
- Dead file (~11 LoC) src/4-four/facts/parse/noun.js
- Dead file (~11 LoC) src/4-four/sense/api/api.js
- Dead file (~8 LoC) scripts/patterns/patterns.js
- Dead file (~8 LoC) src/four.js
- Change-coupling hub: scratch.js → adjectives.js, comparables.js, REDACTED, actors.js, organizations.js, properNouns.js, singulars.js, units.js, femaleNames.js, lastnames.js, maleNames.js, people.js, places.js, adj-gerund.js, adj-noun.js, adj-past.js, noun-verb.js, participles.js, dates.js, insert.js, insert.js, replace.js, REDACTED, multi-word.js, single-word.js, lookaround.js, match.js, 02-from-here.js, _text.js, REDACTED, tokenize.js, REDACTED, isPossessive.js, REDACTED, _misc.js, adj-adverb.js, adj-gerund.js, adj-noun.js, adj-verb.js, REDACTED, nouns.js, organizations.js, places.js, ambig-name.js, person-phrase.js, imperative.js, verb-noun.js, 01-acronym.js, 06-switches.js, REDACTED, byTag.js, looksPlural.js, _adj.js, _noun.js, _verb.js, adj-gerund.js, adj-past.js, REDACTED, frozenLex.js, misc.js, suffixes.js, regex-normal.js, misc.js, nouns.js, verbs.js, clauses.js, REDACTED, api.js, api.js, toInfinitive.js, View.js, extend.js, one.js, three.d.ts scratch.js
- Type Safety
- Duplication concentrated across 2 sibling directories (39 clone groups) plugins/dates/builds/compromise-dates.cjs:621
- Duplication concentrated across 7 sibling directories (7 clone groups) plugins/dates/scripts/perf.js:5
- Duplication concentrated across 3 sibling directories (7 clone groups) src/1-one/contraction-one/compute/contractions/_splice.js:2
- Duplication concentrated across 3 sibling directories (6 clone groups) plugins/_experiments/ast/src/ast.js:2
- Duplication concentrated across 7 sibling directories (6 clone groups) src/3-three/nouns/api/api.js:8
- Duplication concentrated across 2 sibling directories (5 clone groups) REDACTED:25
- Duplicated block (238 lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:621
- Duplicated block with local edits (114 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:3200
- Duplicated block with local edits (92 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:137
- Duplicated block with local edits (81 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:2810
- Duplicated block with local edits (78 matched lines × 2 locations) plugins/speech/builds/compromise-speech.cjs:8
- Duplicated block with local edits (73 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:2497
- Duplicated block (64 lines × 2 locations) plugins/_experiments/compress/src/lz.js:101
- Duplicated block with local edits (56 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:3923
- Duplicated block with local edits (54 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:3531
- Duplicated block with local edits (53 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:273
- Duplicated block with local edits (49 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:888
- Duplicated block with local edits (48 matched lines × 2 locations) plugins/payload/builds/compromise-payload.cjs:20
- Duplicated block with local edits (35 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:2151
- Duplicated block (34 lines × 2 locations) plugins/stats/src/ngram/endGrams.js:12
- Duplicated block (33 lines × 2 locations) src/1-one/match/methods/match/steps/and-block.js:5
- Duplicated block with local edits (31 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:965
- Duplicated block (30 lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:1118
- Duplicated block with local edits (30 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:2585
- Duplicated block with local edits (27 matched lines × 2 locations) REDACTED:25
- Duplicated block with local edits (26 matched lines × 2 locations) plugins/dates/scripts/perf.js:5
- Duplicated block (26 lines × 2 locations) src/1-one/contraction-one/compute/contractions/_splice.js:2
- Duplicated block with local edits (24 matched lines × 2 locations) REDACTED:85
- Duplicated block with local edits (22 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:560
- Duplicated block with local edits (21 matched lines × 2 locations) plugins/dates/builds/compromise-dates.cjs:4211
- Complex function isPossessive (cyclomatic 44, cognitive 68) src/2-two/contraction-two/compute/isPossessive.js:17
- Complex function parseToken (cyclomatic 43, cognitive 83) REDACTED:34
- Complex function doesMatch (cyclomatic 43, cognitive 58) src/1-one/match/methods/match/term/doesMatch.js:7
- Complex function _compress (cyclomatic 38, cognitive 150) plugins/_experiments/compress/src/lz.js:75
- Complex function add (cyclomatic 37, cognitive 42) plugins/dates/builds/compromise-dates.cjs:333
- Complex function parse (cyclomatic 34, cognitive 55) src/3-three/numbers/numbers/parse/toNumber/index.js:27
- Complex function _decompress (cyclomatic 32, cognitive 69) plugins/_experiments/compress/src/lz.js:298
- Complex function tryHere (cyclomatic 28, cognitive 56) src/1-one/match/methods/match/02-from-here.js:15
- Complex function replaceWith (cyclomatic 26, cognitive 25) src/1-one/change/api/replace.js:34
- Complex function normalizePunctuation (cyclomatic 25, cognitive 31) src/1-one/tokenize/methods/03-whitespace/tokenize.js:10
- Complex function (anonymous) (cyclomatic 24, cognitive 24) src/1-one/output/api/_text.js:11
- Complex function tagYear (cyclomatic 22, cognitive 45) src/2-two/preTagger/compute/tagger/2nd-pass/05-year.js:73
- Complex function findNumbers (cyclomatic 22, cognitive 36) src/3-three/numbers/numbers/find.js:7
- Complex function byNeighbour (cyclomatic 21, cognitive 48) src/3-three/chunker/compute/02-neighbours.js:2
- Dead file (~460 LoC) plugins/_experiments/compress/src/lz.js
- Dead file (~269 LoC) scripts/patterns/manual.js
- Dead file (~211 LoC) plugins/_experiments/sentiment/test.js
- Dead file (~157 LoC) scripts/typescript/one.ts
- Dead file (~130 LoC) src/4-four/sense/model/more.js
- Dead file (~129 LoC) scripts/typescript/three.ts
- Dead file (~110 LoC) src/4-four/facts/parse/index.js
- Dead file (~88 LoC) src/4-four/facts/api.js
- Dead file (~65 LoC) plugins/_experiments/markdown/src/parse/uuid.js
- Dead file (~61 LoC) src/4-four/sense/model/senses/noun.js
- Dead file (~59 LoC) src/4-four/facts/parse/statement/index.js
- Dead file (~51 LoC) scripts/typescript/imports.ts
- Dead file (~50 LoC) scripts/match-linter.js
- Dead file (~47 LoC) plugins/_experiments/markdown/src/parse/crawl.js
- Dead file (~40 LoC) src/4-four/sense/compute/index.js
- Dead file (~33 LoC) src/4-four/sense/model/senses/index.js
- Dead file (~26 LoC) src/4-four/sense/model/senses/verb.js
- Dead file (~23 LoC) scripts/typescript/imports.cts
- Dead file (~18 LoC) scripts/coreference/index.js
- Dead file (~17 LoC) src/4-four/facts/parse/postProcess.js
- Dead file (~15 LoC) src/4-four/facts/parse/verb.js
- Dead file (~14 LoC) src/4-four/sense/model/index.js
- Dead file (~13 LoC) plugins/_experiments/compress/src/index.js
- Dead file (~10 LoC) src/4-four/sense/plugin.js
- Dead file (~6 LoC) scripts/chunks.js
- Dead file (~5 LoC) src/4-four/facts/plugin.js
- Dead file (~0 LoC) plugins/_experiments/markdown/src/Wrap.js
- Unused dependency 'hast-util-to-mdast'
- Unused dependency 'mdast-util-frontmatter'
- Unused dependency 'mdast-util-to-markdown'
Minor — 844 finding(s)
- No direct assertions: week-logic plugins/dates/tests/week.test.js:5
- No direct assertions: units plugins/dates/tests/units.test.js:4
- No direct assertions: date-tokenizer plugins/dates/tests/tokenizer.test.js:5
- No direct assertions: set today context plugins/dates/tests/today.test.js:5
- No direct assertions: today is always today plugins/dates/tests/today.test.js:21
- No direct assertions: date-parse : plugins/dates/tests/to-iso.test.js:9
- No direct assertions: text sets timezone plugins/dates/tests/timezone.test.js:4
- No direct assertions: set timezone context plugins/dates/tests/timezone.test.js:84
- No direct assertions: times of start and end plugins/dates/tests/times.test.js:6
- No direct assertions: times test plugins/dates/tests/times.test.js:365
- No direct assertions: times test plugins/dates/tests/times.test.js:445
- No direct assertions: start dates plugins/dates/tests/startDates.test.js:813
- No direct assertions: holidays honor an explicit year plugins/dates/tests/regressions.test.js:17
- No direct assertions: overnight time-ranges cross midnight plugins/dates/tests/regressions.test.js:28
- No direct assertions: between-ranges are forward-ordered plugins/dates/tests/regressions.test.js:37
- No direct assertions: end of the month plugins/dates/tests/regressions.test.js:47
- No direct assertions: day after next plugins/dates/tests/regressions.test.js:54
- No direct assertions: next-month wraps the year plugins/dates/tests/regressions.test.js:63
- No direct assertions: relative shifts plugins/dates/tests/regressions.test.js:71
- No direct assertions: nth weekday of month plugins/dates/tests/regressions.test.js:85
- No direct assertions: march/may as verbs plugins/dates/tests/regressions.test.js:95
- No direct assertions: quarter-to times plugins/dates/tests/regressions.test.js:103
- No direct assertions: year windows plugins/dates/tests/regressions.test.js:110
- No direct assertions: timezone handling plugins/dates/tests/regressions.test.js:119
- No direct assertions: repeating dates surface in json plugins/dates/tests/regressions.test.js:134
- Test project verifies nothing: plugins/stats plugins/stats/tests/ngram.test.js:4
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- README/code drift
- No SAST
- Duplicated predicate REDACTED:239
Minor — 10 finding(s)
- Outdated (npm): efrt
- Outdated (npm): grad-school
- Outdated (npm): hast-util-to-mdast
- Outdated (npm): mdast-util-frontmatter
- Outdated (npm): mdast-util-gfm-table
- Outdated (npm): mdast-util-to-markdown
- Outdated (npm): micromark-extension-gfm-table
- Outdated (npm): spacetime
- Outdated (npm): suffix-thumb
- Outdated (npm): unist-util-visit
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6860efdfa3494fe98cd436e54b266b69/history.json --exit-code 0 --source . | 60 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6860efdfa3494fe98cd436e54b266b69/tree.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 8 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 2 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |