Executive summary
iptv-org/iptv falls short of our standard for production, held back most by its Production Readiness lens, the way the code is tested, built, released and run. It scores 57 out of 100 and is rated Adequate, and 825 of its 827 critical findings are security problems.
Production Readiness, at 51, is the weakest lens and counts most in the score. The best first step is fixing the password or key in the code, worth about 6 points. Adding automated security scanning would lift Production Readiness itself, worth about 4 points. Raising Production Readiness to 70 would lift the score to about 62.
823 passwords or keys in the code's history and one in the code are open to anyone who can read the repository. One automatic update takes new releases before a bad one can be spotted. Replacing each exposed password or key and setting a waiting period for automatic updates would close both risks. The loop of files that import each other needs breaking.
The product code is 3,684 lines, about €7,200 to rebuild.
If Production Readiness rose from 51 to 70, the lowest score rated Strong, the score would rise from 57 to about 62.
New since the last survey: 66 findings
- Cyclomatic Complexity · validate.main (cyclomatic 24) scripts/commands/discussion/validate.ts
- Cognitive Complexity · validate.main (cognitive 25) scripts/commands/discussion/validate.ts
- Dependency Hygiene · Deprecated: eslint package.json
- Dependency Hygiene · Deprecated: glob package.json
- REDACTED Scanning · REDACTED
- Churn × Complexity Hotspots · Repeated repair: scripts/utils.ts scripts/utils.ts
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Code Duplication · Duplicated block with local edits (31 matched lines × 2 locations) scripts/generators/rawGenerator.ts
- Code Duplication · Duplicated block with local edits (12 matched lines × 2 locations) scripts/commands/playlist/export.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) scripts/commands/discussion/validate.ts
- Cyclomatic Complexity · Complex function main (cyclomatic 18, cognitive 19) scripts/commands/discussion/validate.ts
- Cyclomatic Complexity · Complex function parseStreamInfo (cyclomatic 11, cognitive 15) scripts/utils.ts
- Dependency Hygiene · Unlisted import 'fs-extra' tests/commands/discussion/validate.test.ts
- Exception handling · Swallowed exception (empty catch) scripts/utils.ts
- Exception handling · Swallowed exception (empty catch) scripts/utils.ts
- Exception handling · Swallowed exception (empty catch) scripts/utils.ts
- Async & latency hygiene · Sync-over-async blocking scripts/utils.ts
Fixed since the last survey: 10 findings
- Cyclomatic Complexity · utils.getStreamInfo (cyclomatic 22) scripts/utils.ts
- Secrets (history) · REDACTED: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Code Duplication · Duplicated block with local edits (31 matched lines × 2 locations) scripts/generators/rawGenerator.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) scripts/commands/playlist/export.ts
- Dependency Hygiene · Unlisted import 'fs-extra' tests/commands/issue/validate.test.ts
- Documentation (README) · README may be stale
Rebuild cost: about €7,200 · Estimate
| Cost to rebuild | €2,400 to €12,000, for 40 to 127 hours of work, under 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 57. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 3,684 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 commands.api | 2 commands.discussion | 3 commands.issue | 4 commands.readme | 5 commands.report | 6 core.dataSet | 7 core.htmlTable | 8 core.logParser | 9 core.markdown | 10 core.numberParser | 11 core.proxyParser | 12 generators.generator | 13 tables.table | 14 core.cliTable | 15 models.discussion | 16 models.issue | 17 models.stream | 18 tables.categoriesTable | 19 tables.countriesTable | 20 tables.languagesTable | 21 tables.regionsTable | 22 commands.playlist | 23 core.playlistParser | 24 core.streamTester | 25 generators.categoriesGenerator | 26 generators.citiesGenerator | 27 generators.countriesGenerator | 28 generators.indexCategoryGenerator | 29 generators.indexCountryGenerator | 30 generators.indexGenerator | 31 generators.indexLanguageGenerator | 32 generators.languagesGenerator | 33 generators.rawGenerator | 34 generators.regionsGenerator | 35 generators.sourcesGenerator | 36 generators.subdivisionsGenerator | 37 models.playlist | 38 utils | 39 scripts |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 commands.api | |||||||||||||||||||||||||||||||||||||||
| 2 commands.discussion | |||||||||||||||||||||||||||||||||||||||
| 3 commands.issue | |||||||||||||||||||||||||||||||||||||||
| 4 commands.readme | |||||||||||||||||||||||||||||||||||||||
| 5 commands.report | |||||||||||||||||||||||||||||||||||||||
| 6 core.dataSet | |||||||||||||||||||||||||||||||||||||||
| 7 core.htmlTable | |||||||||||||||||||||||||||||||||||||||
| 8 core.logParser | |||||||||||||||||||||||||||||||||||||||
| 9 core.markdown | |||||||||||||||||||||||||||||||||||||||
| 10 core.numberParser | |||||||||||||||||||||||||||||||||||||||
| 11 core.proxyParser | |||||||||||||||||||||||||||||||||||||||
| 12 generators.generator | |||||||||||||||||||||||||||||||||||||||
| 13 tables.table | |||||||||||||||||||||||||||||||||||||||
| 14 core.cliTable | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 models.discussion | 1 | ||||||||||||||||||||||||||||||||||||||
| 16 models.issue | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 models.stream | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 tables.categoriesTable | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 tables.countriesTable | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 tables.languagesTable | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 tables.regionsTable | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 commands.playlist | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 23 core.playlistParser | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 core.streamTester | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 generators.categoriesGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 generators.citiesGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 generators.countriesGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 generators.indexCategoryGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 29 generators.indexCountryGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 30 generators.indexGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 31 generators.indexLanguageGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 generators.languagesGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 33 generators.rawGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 generators.regionsGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 generators.sourcesGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 36 generators.subdivisionsGenerator | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 models.playlist | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 utils | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 scripts | 1 | 1 | 1 | 1 |
14→13 core.cliTable uses tables.table✕
- Connections
- 1 pair of types, where a type in core.cliTable uses a type in tables.table.
- The types involved
scripts.core.cliTable.CliTable→scripts.tables.table.Table
- Direction
- core.cliTable uses tables.table, so a change to tables.table can break core.cliTable, while a change to core.cliTable can't break tables.table.
- Position
- Below the diagonal: core.cliTable uses a module listed above it, which is the healthy direction.
15→6 models.discussion uses core.dataSet✕
- Connections
- 1 pair of types, where a type in models.discussion uses a type in core.dataSet.
- The types involved
scripts.models.discussion.Discussion→scripts.core.dataSet.DataSet
- Direction
- models.discussion uses core.dataSet, so a change to core.dataSet can break models.discussion, while a change to models.discussion can't break core.dataSet.
- Position
- Below the diagonal: models.discussion uses a module listed above it, which is the healthy direction.
16→6 models.issue uses core.dataSet✕
- Connections
- 1 pair of types, where a type in models.issue uses a type in core.dataSet.
- The types involved
scripts.models.issue.Issue→scripts.core.dataSet.DataSet
- Direction
- models.issue uses core.dataSet, so a change to core.dataSet can break models.issue, while a change to models.issue can't break core.dataSet.
- Position
- Below the diagonal: models.issue uses a module listed above it, which is the healthy direction.
17→6 models.stream uses core.dataSet✕
- Connections
- 1 pair of types, where a type in models.stream uses a type in core.dataSet.
- The types involved
scripts.models.stream.Stream→scripts.core.dataSet.DataSet
- Direction
- models.stream uses core.dataSet, so a change to core.dataSet can break models.stream, while a change to models.stream can't break core.dataSet.
- Position
- Below the diagonal: models.stream uses a module listed above it, which is the healthy direction.
18→13 tables.categoriesTable uses tables.table✕
- Connections
- 1 pair of types, where a type in tables.categoriesTable uses a type in tables.table.
- The types involved
scripts.tables.categoriesTable.CategoriesTable→scripts.tables.table.Table
- Direction
- tables.categoriesTable uses tables.table, so a change to tables.table can break tables.categoriesTable, while a change to tables.categoriesTable can't break tables.table.
- Position
- Below the diagonal: tables.categoriesTable uses a module listed above it, which is the healthy direction.
19→13 tables.countriesTable uses tables.table✕
- Connections
- 1 pair of types, where a type in tables.countriesTable uses a type in tables.table.
- The types involved
scripts.tables.countriesTable.CountriesTable→scripts.tables.table.Table
- Direction
- tables.countriesTable uses tables.table, so a change to tables.table can break tables.countriesTable, while a change to tables.countriesTable can't break tables.table.
- Position
- Below the diagonal: tables.countriesTable uses a module listed above it, which is the healthy direction.
20→13 tables.languagesTable uses tables.table✕
- Connections
- 1 pair of types, where a type in tables.languagesTable uses a type in tables.table.
- The types involved
scripts.tables.languagesTable.LanguagesTable→scripts.tables.table.Table
- Direction
- tables.languagesTable uses tables.table, so a change to tables.table can break tables.languagesTable, while a change to tables.languagesTable can't break tables.table.
- Position
- Below the diagonal: tables.languagesTable uses a module listed above it, which is the healthy direction.
21→13 tables.regionsTable uses tables.table✕
- Connections
- 1 pair of types, where a type in tables.regionsTable uses a type in tables.table.
- The types involved
scripts.tables.regionsTable.RegionsTable→scripts.tables.table.Table
- Direction
- tables.regionsTable uses tables.table, so a change to tables.table can break tables.regionsTable, while a change to tables.regionsTable can't break tables.table.
- Position
- Below the diagonal: tables.regionsTable uses a module listed above it, which is the healthy direction.
22→16 commands.playlist uses models.issue✕
- Connections
- 1 pair of types, where a type in commands.playlist uses a type in models.issue.
- The types involved
scripts.commands.playlist.update→scripts.models.issue.Issue
- Direction
- commands.playlist uses models.issue, so a change to models.issue can break commands.playlist, while a change to commands.playlist can't break models.issue.
- Position
- Below the diagonal: commands.playlist uses a module listed above it, which is the healthy direction.
22→17 commands.playlist uses models.stream✕
- Connections
- 2 pairs of types, where a type in commands.playlist uses a type in models.stream.
- The types involved
scripts.commands.playlist.edit→scripts.models.stream.Streamscripts.commands.playlist.test→scripts.models.stream.Stream
- Direction
- commands.playlist uses models.stream, so a change to models.stream can break commands.playlist, while a change to commands.playlist can't break models.stream.
- Position
- Below the diagonal: commands.playlist uses a module listed above it, which is the healthy direction.
23→17 core.playlistParser uses models.stream✕
- Connections
- 1 pair of types, where a type in core.playlistParser uses a type in models.stream.
- The types involved
scripts.core.playlistParser.PlaylistParser→scripts.models.stream.Stream
- Direction
- core.playlistParser uses models.stream, so a change to models.stream can break core.playlistParser, while a change to core.playlistParser can't break models.stream.
- Position
- Below the diagonal: core.playlistParser uses a module listed above it, which is the healthy direction.
24→17 core.streamTester uses models.stream✕
- Connections
- 1 pair of types, where a type in core.streamTester uses a type in models.stream.
- The types involved
scripts.core.streamTester.StreamTester→scripts.models.stream.Stream
- Direction
- core.streamTester uses models.stream, so a change to models.stream can break core.streamTester, while a change to core.streamTester can't break models.stream.
- Position
- Below the diagonal: core.streamTester uses a module listed above it, which is the healthy direction.
25→12 generators.categoriesGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.categoriesGenerator uses a type in generators.generator.
- The types involved
scripts.generators.categoriesGenerator.CategoriesGenerator→scripts.generators.generator.Generator
- Direction
- generators.categoriesGenerator uses generators.generator, so a change to generators.generator can break generators.categoriesGenerator, while a change to generators.categoriesGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.categoriesGenerator uses a module listed above it, which is the healthy direction.
25→17 generators.categoriesGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.categoriesGenerator uses a type in models.stream.
- The types involved
scripts.generators.categoriesGenerator.CategoriesGenerator→scripts.models.stream.Stream
- Direction
- generators.categoriesGenerator uses models.stream, so a change to models.stream can break generators.categoriesGenerator, while a change to generators.categoriesGenerator can't break models.stream.
- Position
- Below the diagonal: generators.categoriesGenerator uses a module listed above it, which is the healthy direction.
26→12 generators.citiesGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.citiesGenerator uses a type in generators.generator.
- The types involved
scripts.generators.citiesGenerator.CitiesGenerator→scripts.generators.generator.Generator
- Direction
- generators.citiesGenerator uses generators.generator, so a change to generators.generator can break generators.citiesGenerator, while a change to generators.citiesGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.citiesGenerator uses a module listed above it, which is the healthy direction.
26→17 generators.citiesGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.citiesGenerator uses a type in models.stream.
- The types involved
scripts.generators.citiesGenerator.CitiesGenerator→scripts.models.stream.Stream
- Direction
- generators.citiesGenerator uses models.stream, so a change to models.stream can break generators.citiesGenerator, while a change to generators.citiesGenerator can't break models.stream.
- Position
- Below the diagonal: generators.citiesGenerator uses a module listed above it, which is the healthy direction.
27→12 generators.countriesGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.countriesGenerator uses a type in generators.generator.
- The types involved
scripts.generators.countriesGenerator.CountriesGenerator→scripts.generators.generator.Generator
- Direction
- generators.countriesGenerator uses generators.generator, so a change to generators.generator can break generators.countriesGenerator, while a change to generators.countriesGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.countriesGenerator uses a module listed above it, which is the healthy direction.
27→17 generators.countriesGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.countriesGenerator uses a type in models.stream.
- The types involved
scripts.generators.countriesGenerator.CountriesGenerator→scripts.models.stream.Stream
- Direction
- generators.countriesGenerator uses models.stream, so a change to models.stream can break generators.countriesGenerator, while a change to generators.countriesGenerator can't break models.stream.
- Position
- Below the diagonal: generators.countriesGenerator uses a module listed above it, which is the healthy direction.
28→12 generators.indexCategoryGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.indexCategoryGenerator uses a type in generators.generator.
- The types involved
scripts.generators.indexCategoryGenerator.IndexCategoryGenerator→scripts.generators.generator.Generator
- Direction
- generators.indexCategoryGenerator uses generators.generator, so a change to generators.generator can break generators.indexCategoryGenerator, while a change to generators.indexCategoryGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.indexCategoryGenerator uses a module listed above it, which is the healthy direction.
28→17 generators.indexCategoryGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.indexCategoryGenerator uses a type in models.stream.
- The types involved
scripts.generators.indexCategoryGenerator.IndexCategoryGenerator→scripts.models.stream.Stream
- Direction
- generators.indexCategoryGenerator uses models.stream, so a change to models.stream can break generators.indexCategoryGenerator, while a change to generators.indexCategoryGenerator can't break models.stream.
- Position
- Below the diagonal: generators.indexCategoryGenerator uses a module listed above it, which is the healthy direction.
29→12 generators.indexCountryGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.indexCountryGenerator uses a type in generators.generator.
- The types involved
scripts.generators.indexCountryGenerator.IndexCountryGenerator→scripts.generators.generator.Generator
- Direction
- generators.indexCountryGenerator uses generators.generator, so a change to generators.generator can break generators.indexCountryGenerator, while a change to generators.indexCountryGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.indexCountryGenerator uses a module listed above it, which is the healthy direction.
29→17 generators.indexCountryGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.indexCountryGenerator uses a type in models.stream.
- The types involved
scripts.generators.indexCountryGenerator.IndexCountryGenerator→scripts.models.stream.Stream
- Direction
- generators.indexCountryGenerator uses models.stream, so a change to models.stream can break generators.indexCountryGenerator, while a change to generators.indexCountryGenerator can't break models.stream.
- Position
- Below the diagonal: generators.indexCountryGenerator uses a module listed above it, which is the healthy direction.
30→12 generators.indexGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.indexGenerator uses a type in generators.generator.
- The types involved
scripts.generators.indexGenerator.IndexGenerator→scripts.generators.generator.Generator
- Direction
- generators.indexGenerator uses generators.generator, so a change to generators.generator can break generators.indexGenerator, while a change to generators.indexGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.indexGenerator uses a module listed above it, which is the healthy direction.
30→17 generators.indexGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.indexGenerator uses a type in models.stream.
- The types involved
scripts.generators.indexGenerator.IndexGenerator→scripts.models.stream.Stream
- Direction
- generators.indexGenerator uses models.stream, so a change to models.stream can break generators.indexGenerator, while a change to generators.indexGenerator can't break models.stream.
- Position
- Below the diagonal: generators.indexGenerator uses a module listed above it, which is the healthy direction.
31→12 generators.indexLanguageGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.indexLanguageGenerator uses a type in generators.generator.
- The types involved
scripts.generators.indexLanguageGenerator.IndexLanguageGenerator→scripts.generators.generator.Generator
- Direction
- generators.indexLanguageGenerator uses generators.generator, so a change to generators.generator can break generators.indexLanguageGenerator, while a change to generators.indexLanguageGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.indexLanguageGenerator uses a module listed above it, which is the healthy direction.
31→17 generators.indexLanguageGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.indexLanguageGenerator uses a type in models.stream.
- The types involved
scripts.generators.indexLanguageGenerator.IndexLanguageGenerator→scripts.models.stream.Stream
- Direction
- generators.indexLanguageGenerator uses models.stream, so a change to models.stream can break generators.indexLanguageGenerator, while a change to generators.indexLanguageGenerator can't break models.stream.
- Position
- Below the diagonal: generators.indexLanguageGenerator uses a module listed above it, which is the healthy direction.
32→12 generators.languagesGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.languagesGenerator uses a type in generators.generator.
- The types involved
scripts.generators.languagesGenerator.LanguagesGenerator→scripts.generators.generator.Generator
- Direction
- generators.languagesGenerator uses generators.generator, so a change to generators.generator can break generators.languagesGenerator, while a change to generators.languagesGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.languagesGenerator uses a module listed above it, which is the healthy direction.
32→17 generators.languagesGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.languagesGenerator uses a type in models.stream.
- The types involved
scripts.generators.languagesGenerator.LanguagesGenerator→scripts.models.stream.Stream
- Direction
- generators.languagesGenerator uses models.stream, so a change to models.stream can break generators.languagesGenerator, while a change to generators.languagesGenerator can't break models.stream.
- Position
- Below the diagonal: generators.languagesGenerator uses a module listed above it, which is the healthy direction.
33→12 generators.rawGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.rawGenerator uses a type in generators.generator.
- The types involved
scripts.generators.rawGenerator.RawGenerator→scripts.generators.generator.Generator
- Direction
- generators.rawGenerator uses generators.generator, so a change to generators.generator can break generators.rawGenerator, while a change to generators.rawGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.rawGenerator uses a module listed above it, which is the healthy direction.
33→17 generators.rawGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.rawGenerator uses a type in models.stream.
- The types involved
scripts.generators.rawGenerator.RawGenerator→scripts.models.stream.Stream
- Direction
- generators.rawGenerator uses models.stream, so a change to models.stream can break generators.rawGenerator, while a change to generators.rawGenerator can't break models.stream.
- Position
- Below the diagonal: generators.rawGenerator uses a module listed above it, which is the healthy direction.
34→12 generators.regionsGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.regionsGenerator uses a type in generators.generator.
- The types involved
scripts.generators.regionsGenerator.RegionsGenerator→scripts.generators.generator.Generator
- Direction
- generators.regionsGenerator uses generators.generator, so a change to generators.generator can break generators.regionsGenerator, while a change to generators.regionsGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.regionsGenerator uses a module listed above it, which is the healthy direction.
34→17 generators.regionsGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.regionsGenerator uses a type in models.stream.
- The types involved
scripts.generators.regionsGenerator.RegionsGenerator→scripts.models.stream.Stream
- Direction
- generators.regionsGenerator uses models.stream, so a change to models.stream can break generators.regionsGenerator, while a change to generators.regionsGenerator can't break models.stream.
- Position
- Below the diagonal: generators.regionsGenerator uses a module listed above it, which is the healthy direction.
35→12 generators.sourcesGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.sourcesGenerator uses a type in generators.generator.
- The types involved
scripts.generators.sourcesGenerator.SourcesGenerator→scripts.generators.generator.Generator
- Direction
- generators.sourcesGenerator uses generators.generator, so a change to generators.generator can break generators.sourcesGenerator, while a change to generators.sourcesGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.sourcesGenerator uses a module listed above it, which is the healthy direction.
35→17 generators.sourcesGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.sourcesGenerator uses a type in models.stream.
- The types involved
scripts.generators.sourcesGenerator.SourcesGenerator→scripts.models.stream.Stream
- Direction
- generators.sourcesGenerator uses models.stream, so a change to models.stream can break generators.sourcesGenerator, while a change to generators.sourcesGenerator can't break models.stream.
- Position
- Below the diagonal: generators.sourcesGenerator uses a module listed above it, which is the healthy direction.
36→12 generators.subdivisionsGenerator uses generators.generator✕
- Connections
- 1 pair of types, where a type in generators.subdivisionsGenerator uses a type in generators.generator.
- The types involved
scripts.generators.subdivisionsGenerator.SubdivisionsGenerator→scripts.generators.generator.Generator
- Direction
- generators.subdivisionsGenerator uses generators.generator, so a change to generators.generator can break generators.subdivisionsGenerator, while a change to generators.subdivisionsGenerator can't break generators.generator.
- Position
- Below the diagonal: generators.subdivisionsGenerator uses a module listed above it, which is the healthy direction.
36→17 generators.subdivisionsGenerator uses models.stream✕
- Connections
- 1 pair of types, where a type in generators.subdivisionsGenerator uses a type in models.stream.
- The types involved
scripts.generators.subdivisionsGenerator.SubdivisionsGenerator→scripts.models.stream.Stream
- Direction
- generators.subdivisionsGenerator uses models.stream, so a change to models.stream can break generators.subdivisionsGenerator, while a change to generators.subdivisionsGenerator can't break models.stream.
- Position
- Below the diagonal: generators.subdivisionsGenerator uses a module listed above it, which is the healthy direction.
37→17 models.playlist uses models.stream✕
- Connections
- 1 pair of types, where a type in models.playlist uses a type in models.stream.
- The types involved
scripts.models.playlist.Playlist→scripts.models.stream.Stream
- Direction
- models.playlist uses models.stream, so a change to models.stream can break models.playlist, while a change to models.playlist can't break models.stream.
- Position
- Below the diagonal: models.playlist uses a module listed above it, which is the healthy direction.
38→16 utils uses models.issue✕
- Connections
- 1 pair of types, where a type in utils uses a type in models.issue.
- The types involved
scripts.utils.LogThread→scripts.models.issue.Issue
- Direction
- utils uses models.issue, so a change to models.issue can break utils, while a change to utils can't break models.issue.
- Position
- Below the diagonal: utils uses a module listed above it, which is the healthy direction.
39→6 scripts uses core.dataSet✕
- Connections
- 1 pair of types, where a type in scripts uses a type in core.dataSet.
- The types involved
scripts.utils→scripts.core.dataSet.DataSet
- Direction
- scripts uses core.dataSet, so a change to core.dataSet can break scripts, while a change to scripts can't break core.dataSet.
- Position
- Below the diagonal: scripts uses a module listed above it, which is the healthy direction.
39→15 scripts uses models.discussion✕
- Connections
- 1 pair of types, where a type in scripts uses a type in models.discussion.
- The types involved
scripts.utils→scripts.models.discussion.Discussion
- Direction
- scripts uses models.discussion, so a change to models.discussion can break scripts, while a change to scripts can't break models.discussion.
- Position
- Below the diagonal: scripts uses a module listed above it, which is the healthy direction.
39→16 scripts uses models.issue✕
- Connections
- 1 pair of types, where a type in scripts uses a type in models.issue.
- The types involved
scripts.utils→scripts.models.issue.Issue
- Direction
- scripts uses models.issue, so a change to models.issue can break scripts, while a change to scripts can't break models.issue.
- Position
- Below the diagonal: scripts uses a module listed above it, which is the healthy direction.
39→38 scripts uses utils✕
- Connections
- 1 pair of types, where a type in scripts uses a type in utils.
- The types involved
scripts.utils→scripts.utils.LogThread
- Direction
- scripts uses utils, so a change to utils can break scripts, while a change to scripts can't break utils.
- Position
- Below the diagonal: scripts uses a module listed above it, which is the healthy direction.
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 |
|---|---|---|
| A07:2025 — Authentication Failures | 825 | High / Critical |
| A05:2025 — Injection | 2 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 1 | Medium |
Roadmap
Immediately resolve the leaked secret in REDACTED and address the two deprecated and two outdated dependencies in package.json to secure the supply chain. Integrate a SAST step into the CI pipeline to automatically fail builds on security regressions, ensuring code quality is enforced before merging. Finally, expand test coverage by adding tests for the currently unreached production modules to improve overall reliability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED. | +5.7 pts | Low | REDACTED Scanning |
| Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with package.json (2). | +3.9 pts | Low | Dependency Hygiene |
| Resolve the 2 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (2). | +3.9 pts | Low | Dependency Hygiene |
| 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.8 pts | Medium | Security & performance tooling |
| Resolve the 1 Off-boarding risk finding(s) in Bus Factor. | +1.6 pts | Low | Bus Factor |
| Add tests that import the unreached modules (directly or through their public entry). | +2.7 pts | Medium | Test Coverage |
| TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants. | +2.2 pts | Medium | Async & latency hygiene |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +2.1 pts | Medium | Architecture documentation |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.9 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 4.4 | 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. 67 of 67 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. Overall confidence is 0.9 — 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 — 67 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, 935 of 958 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 | — | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D19 Documentation Quality — 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. Each ecosystem's manifests (what makes a folder runnable or a published package) need their own proof before D19 judges its units. Until then those folders' READMEs are judged only as documents (boilerplate, structure), never counted as complete.
- D20 ADR Quality — 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. The ADR expectation is gated on whether a repository ships a deployable product. Our repo-kind classifier reads .NET project files and the host and package markers of the other ecosystems it knows (a Go `package main`, a Cargo binary, a package.json `bin`, `start` script or application dev server such as Vite or Next, Python console scripts or a Django/WSGI entry point, a Spring Boot / WAR / Gradle application build, a Rack or Rails app, a Composer project, an OTP release or escript, a Dockerfile, a Procfile, a Platform.sh `.platform/routes.yaml`, and the corresponding published-package manifests, including an OTP `*.app.src`, a Drupal module's `*.info` and a Claude Code `.claude-plugin/plugin.json`), and found none here, so we could not tell what kind of repository this is and did not assess its ADR log. This is a gap in our analyzer, not a finding about this repository.
- D21 Naming 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. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- D22 Internal API Consistency — 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. This repository's source is written only in languages whose packages are published through a manifest, and no manifest in the tree makes a publication act: either there is no package manifest of any ecosystem (no package.json, pyproject.toml, setup.py, gemspec, Cargo.toml, pom.xml, build.gradle, composer.json, pubspec.yaml or mix.exs), or every one present declares in its package manager's own terms that it is not published (an npm package marked "private": true, a Cargo package with publish = false, a pubspec with publish_to: none, a Composer "project", a Poetry project with package-mode = false, or the "Private :: Do Not Upload" classifier). With no publication act there is no intentionally-exposed surface for API consistency to be judged over.
- D24 Comment Value — 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's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D27 Navigability — 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. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AX1 Captive dependencies — 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 Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and no container it models, or knows cannot hold a captive, was found in this repository's source, 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.
- M4 Documentation accuracy — 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. M4 checks only the claim kinds adjudicated at or above 95 % precision: links and versions (PREREGISTRATION version 9). Paths, command arguments, installs, environment variables, settings, projects, packages, routes, cd targets, infrastructure products and removed modules are read but not checked, and none of them is reported or counted.
- P1 CI/CD gates — 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. A CI pipeline exists and the word "test" appears, but no explicit test-runner invocation (your stack's test command, or a test job) was matched — so either the gate runs tests through a step this pass could not recognise, or "test" is incidental here (a path, "latest", a reporter). Which of the two it is cannot be settled from this dimension's evidence; the coverage dimensions report whether a suite exists at all. You can widen what we reach: name the test runner explicitly in the pipeline step (your stack's test command, or a job named for the suite) so the gate is unambiguous to a reader and to this pass.
- 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 no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- 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. 49 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation and obsolete TLS versions, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
- 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 reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP log through no library that carries a message's values as fields (pino, winston, bunyan, tslog, LogTape, roarr; Python's logging, structlog; PHP's PSR-3 loggers), so its log calls cannot be judged, 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.
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
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- 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.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- 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.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- 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 publishes two things only: a runnable or packaged unit with no example, and a multi-project root README that maps none of its parts. It does not judge clarity, and its other checks (overview, licence, boilerplate, structure, empty sections, XML-doc coverage) are withheld after adjudication: their candidates are counted in the card's gaps, not shown as rows. A false statement in a document is M4's; units are .NET projects only.
- 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.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- 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".
Dimensions
D1 · Cyclomatic Complexity
5 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was create.main at 39.
What to do
- Bring the 1 body over 30 down to 30 or less in Cyclomatic Complexity — start with create.main (cyclomatic 39). — Refactoring it lifts Cyclomatic Complexity from 8.1 to about 8.5/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
9 method(s) exceeded the cognitive complexity threshold of 15; the worst was validate.main at 48.
What to do
- Bring the 2 bodies over 30 down to 30 or less in Cognitive Complexity — start with validate.main (cognitive 48), create.main (cognitive 39). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 6.1 to about 7.4/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
4 god class(es) detected.
What to do
- Resolve the 2 FunctionTooLong finding(s) in God Classes — start with create.ts, validate.ts. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 TooManyMethods finding(s) in God Classes — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 MethodTooLong finding(s) in God Classes — start with countriesTable.ts. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 4 classes have LCOM4 above 3.
D9 · Test Distribution
35 test methods: 35 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 35 `it`/`test` case(s) across 12 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 1 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 35 tests.
What to do
- Resolve the 1 No assertions finding(s) in Test Quality — start with validate.test.ts. — One of this dimension's main actionable groups (1 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.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (vitest via `npm ci --ignore-scripts` in the repository root (35 tests)): measured (0 flaky).
D12 · Dependency Hygiene
15 outdated direct production npm dependency(ies) of 41 graded, 0 pinning defect(s), across 1 package.json (1 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 2 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. 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.
What to do
- Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with package.json (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (2). — One of this dimension's main actionable groups (2 recommendation-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 41 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 41 production dependency(ies) this repository's committed lockfile resolves, across 1 product package.json manifest(s). Its 0 `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: scripts/commands/report/create.ts (3×39=117); scripts/commands/playlist/validate.ts (3×25=75); scripts/commands/playlist/update.ts (4×17=68) Repeated repair below the complexity floor: scripts/utils.ts (9 of 12 changes were fixes)
What to do
- Resolve the 4 Hotspot finding(s) in Churn × Complexity Hotspots — start with validate.ts (2), create.ts, update.ts. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 Repeated repair finding(s) in Churn × Complexity Hotspots — start with utils.ts. — One of this dimension's main actionable groups (1 warning-level).
D16 · Bus Factor
5 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is scripts/commands/playlist/update.ts. Counted over 15 of the 51 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
0 deducted task-comment markers across 3684 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
1 of 1 documentation facets pass in full. 11 document(s) read across 1 unit(s).
D26 · Project Cohesion
0 of 1 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
823 finding(s): 0 critical, 823 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 821 REDACTED finding(s) in Secrets (history) — start with REDACTED (156), REDACTED (155), REDACTED (149). — One of this dimension's main actionable groups (821 issue-level).
- Resolve the 2 High secret finding(s) in Secrets (history) — start with REDACTED (2). — One of this dimension's main actionable groups (2 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)
2 finding(s): 0 critical, 1 high, 1 medium, 0 low. Separately, one or more rules could not re-parse an embedded snippet in 5 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
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 warning-level).
D30 · Dependency Vulnerabilities
1 finding(s): 0 critical, 0 high, 1 medium, 0 low.
What to do
- Resolve the 1 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 15 of the 51 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
No strong hidden change-coupling between production files.
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 41 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
AX6 · Interface segregation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `removeStream` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — scripts/commands/playlist/update.ts:108
- `editStream` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — scripts/commands/playlist/update.ts:144
What to do
- Remove the dead code that still moves this score: delete dead if(false) branches and either do the real async work or drop the async keyword from fake-async functions.
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
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 your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it all sits under tests/ alongside the root build files, so the conventional src/ boundary between the product and its tooling isn't drawn.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
P1 · CI/CD gates
- A CI pipeline exists but no build step was matched — changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves.
What to do
- Run the test suite in CI via an explicit runner step (`npm test` for the toolchain this pipeline already uses) and gate merges on it.
- Add an explicit build step to your CI pipeline — your stack's own build command, or, if the pipeline delegates to a task runner, a build task that runner executes in CI — so every change is built before merge.
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 13586 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.
- Dependabot is configured but does not watch `npm` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
PF3 · Async & latency hygiene
- `storage.existsSync` in `parse` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/core/playlistParser.ts:21
- `fs.readFileSync` in `getStreamInfo` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. (×2) — scripts/utils.ts:118, scripts/utils.ts:123
What to do
- TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
R1 · Type Safety
R10 · Code Duplication
- scripts/tables/categoriesTable.ts:10 · scripts/tables/languagesTable.ts:10 — 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. — scripts/tables/categoriesTable.ts:10
- scripts/commands/playlist/update.ts:108 · scripts/commands/playlist/update.ts:188 — the two spans are one implementation copied and then locally edited — 244 tokens are still identical, in the same order in both spans, 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. — scripts/commands/playlist/update.ts:108
- scripts/generators/citiesGenerator.ts:8 · scripts/generators/regionsGenerator.ts:8 · scripts/generators/subdivisionsGenerator.ts:8 — 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. — scripts/generators/citiesGenerator.ts:8
- scripts/generators/citiesGenerator.ts:5 · scripts/generators/countriesGenerator.ts:5 · scripts/generators/regionsGenerator.ts:5 · scripts/generators/subdivisionsGenerator.ts:5 — the 4 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 4 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. — scripts/generators/citiesGenerator.ts:5
- scripts/generators/indexCategoryGenerator.ts:24 · scripts/generators/indexLanguageGenerator.ts:24 — 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. — scripts/generators/indexCategoryGenerator.ts:24
- scripts/commands/playlist/format.ts:13 · scripts/commands/playlist/test.ts:34 — the two spans are one implementation copied and then locally edited — 178 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. — scripts/commands/playlist/format.ts:13
- scripts/generators/rawGenerator.ts:7 · scripts/generators/sourcesGenerator.ts:7 — the two spans are one implementation copied and then locally edited — 213 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. — scripts/generators/rawGenerator.ts:7
- scripts/generators/indexCountryGenerator.ts:8 · scripts/generators/indexLanguageGenerator.ts:8 — 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. — scripts/generators/indexCountryGenerator.ts:8
- scripts/commands/report/create.ts:85 · scripts/commands/report/create.ts:117 — 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. — scripts/commands/report/create.ts:85
- scripts/generators/indexCategoryGenerator.ts:8 · scripts/generators/indexCountryGenerator.ts:8 · scripts/generators/indexLanguageGenerator.ts:8 — the 3 copies are spread across 3 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. — scripts/generators/indexCategoryGenerator.ts:8
- scripts/generators/indexGenerator.ts:7 · scripts/generators/rawGenerator.ts:7 — 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. — scripts/generators/indexGenerator.ts:7
- scripts/commands/playlist/export.ts:8 · scripts/commands/playlist/generate.ts:23 — the two spans are one implementation copied and then locally edited — 76 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. — scripts/commands/playlist/export.ts:8
- scripts/commands/discussion/validate.ts:29 · scripts/commands/report/create.ts:28 — 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. — scripts/commands/discussion/validate.ts:29
- scripts/core/streamTester.ts:38 · scripts/utils.ts:142 — 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. — scripts/core/streamTester.ts:38
- scripts/commands/playlist/generate.ts:31 · scripts/commands/playlist/update.ts:77 — the two spans are one implementation copied and then locally edited — 72 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. — scripts/commands/playlist/generate.ts:31
- scripts/generators/categoriesGenerator.ts:32 · scripts/generators/indexGenerator.ts:25 · scripts/generators/rawGenerator.ts:27 · scripts/generators/sourcesGenerator.ts:31 — the 4 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 4 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. — scripts/generators/categoriesGenerator.ts:32
- scripts/tables/countriesTable.ts:81 · scripts/tables/countriesTable.ts:102 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — scripts/tables/countriesTable.ts:81
- scripts/utils.ts:267 · scripts/utils.ts:353 — 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. — scripts/utils.ts:267
- scripts/generators/languagesGenerator.ts:36 · scripts/generators/languagesGenerator.ts:48 — the two spans are one implementation copied and then locally edited — 86 tokens are still identical, in the same order in both spans, 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. — scripts/generators/languagesGenerator.ts:36
- scripts/commands/issue/validate.ts:130 · scripts/commands/playlist/update.ts:220 — 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. — scripts/commands/issue/validate.ts:130
- scripts/commands/playlist/format.ts:124 · scripts/commands/playlist/update.ts:65 — the two spans are one implementation copied and then locally edited — 66 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. — scripts/commands/playlist/format.ts:124
- scripts/tables/countriesTable.ts:15 · scripts/tables/regionsTable.ts:13 — 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. — scripts/tables/countriesTable.ts:15
- scripts/commands/report/create.ts:146 · scripts/commands/report/create.ts:158 — 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. — scripts/commands/report/create.ts:146
- scripts/tables/countriesTable.ts:101 · scripts/tables/regionsTable.ts:24 — 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. — scripts/tables/countriesTable.ts:101
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
- scripts/core/cliTable.ts:1 imports console-table-printer/dist/src/models/external-table, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — scripts/core/cliTable.ts:1
- scripts/core/streamTester.ts:58 imports tests/__data__/input/playlist_test/results.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — scripts/core/streamTester.ts:58
- scripts/utils.ts:229 imports tests/__data__/input/issues.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — scripts/utils.ts:229
- scripts/utils.ts:302 imports tests/__data__/input/discussions.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — scripts/utils.ts:302
What to do
- Fix the listed violations: move the shared test helper into a source directory production code may depend on (3 rows); import through the target package's declared public entry rather than a deep path into its internals or a relative path into its directory (1 row).
R2 · Cyclomatic Complexity
- main has cyclomatic complexity 18 and cognitive complexity 19; 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. — scripts/commands/discussion/validate.ts:28
- addStream has cyclomatic complexity 15 and cognitive complexity 17; 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. — scripts/commands/playlist/update.ts:188
- main has cyclomatic complexity 14 and cognitive complexity 28; 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. — scripts/commands/issue/validate.ts:22
- updateWithIssue has cyclomatic complexity 13 and cognitive complexity 13; 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:44
- (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; 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. — scripts/commands/report/create.ts:162
- test has cyclomatic complexity 12 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. — scripts/core/streamTester.ts:56
- getStreamInfo has cyclomatic complexity 11 and cognitive complexity 17; 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. — scripts/utils.ts:106
- (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; 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:205
- parseStreamInfo has cyclomatic complexity 11 and cognitive complexity 15; 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. — scripts/utils.ts:168
- (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; 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) — scripts/commands/report/create.ts:86, scripts/utils.ts:270
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- REDACTED has 438 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — REDACTED:1
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. (×25) — scripts/commands/playlist/update.ts:1, scripts/commands/playlist/test.ts:1, scripts/commands/report/create.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
- test ✓ · lint ✓ · typecheck ✗ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add `tsc --noEmit` as package.json scripts and run them in CI.
R7 · Dead Code
- Nothing ultimately consumes this binding: its only referrer is the re-export in scripts/core/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in scripts/core/index.ts in the same commit, or the barrel will import a name that no longer exists. — scripts/core/numberParser.ts:1
R8 · Dependency Hygiene
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. — tests/commands/discussion/validate.test.ts:4
- Declared in the root 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.
- Only test files import it (first: tests/commands/playlist/format.test.ts:5) — move it to devDependencies. — package.json:59
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- scripts/core/index.ts → scripts/core/playlistParser.ts → scripts/models/index.ts → scripts/models/discussion.ts → scripts/core/index.ts (one verified cycle inside a mutually-dependent group of 9 files) — scripts/core/index.ts:7
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
X1 · Async correctness
- `forEach` ignores what its callback returns, so the Promise each `async` call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that `await`s around this loop still returns early), and a rejection is never handled — in Node.js an unhandled rejection terminates the process by default, and in a browser it is lost. Iterate with `for (const item of items) { await … }` when the work must run in order, or `await Promise.all(items.map(async (item) => { … }))` when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback's whole body a `try { … } catch (e) { … }` that handles the failure, so it cannot escape. (×2) — scripts/generators/categoriesGenerator.ts:30, scripts/generators/languagesGenerator.ts:35
What to do
- `async` callback passed to `forEach`
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×3) — scripts/utils.ts:158, scripts/utils.ts:189, scripts/utils.ts:211
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- ~0.2 `!` null assertions per 1k TypeScript source lines — 1 assertion(s) across the 4230 source line(s) of the 49 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: scripts/commands/playlist/generate.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 69% | Adequate | Strongest area. |
| Architecture | 72% | Adequate — gated by R11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 59% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 51% | Adequate — gated by R4, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 76% | Adequate — gated by D28 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 60% | Adequate | Acceptable, with room to improve. |
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 — 2 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 61 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 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
- 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
- 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.
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — No access-control surface detected in the analyzed source — this repository stands up no server (no Express, Fastify, Koa, Hono, NestJS or similar app, no Next.js/SvelteKit/Nuxt server route, no edge function), creates no Supabase tables and talks to no hosted backend. Access control is therefore N/A here — a browser application or library is authorized by the server it calls, not by itself; a client-side route guard hides a page and authorizes nothing. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — 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 sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — 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 personal data whose lifetime a retention limit would bound. If it does (through a hosted backend configured outside this repository, for instance), the limit belongs wherever that data is stored.
- C5 Data-Subject Rights — 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 personal data for a data subject to erase, export or consent over. If it does (through a hosted backend configured outside this repository, for instance), the rights are served wherever that data is stored.
- 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.
- D20 ADR Quality — Repository kind not determined
- D21 Naming Consistency — Naming consistency is measured on C# only; JavaScript, TypeScript not measured.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- 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, nor 2+ projects each declaring an entity of their own. 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 — D24 reads C# and Visual Basic comments only — this repository's production source is .ts, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.cjs,.ts), so too few call sites counted as resolved to assess navigability. 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.
- D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release).
- 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 (.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.
- D5 Coupling — Not applicable — this npm build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- 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: the JavaScript/TypeScript half could not be measured — the repository root runs vitest but declares no coverage provider, so the suite can run and still produce no lcov — add `@vitest/coverage-v8` (or `@vitest/coverage-istanbul`) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- 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 — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- 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 — Observability was not assessed: this check reads a source model that does not carry this repository's product — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of a logging idiom this check recognises is NOT evidence that this repo lacks structured logging (it may log through its own ecosystem's logger). This is a gap in the analyzer, not a finding about this repository.
- 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 --coverage.reporter=lcovonly`) 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.
- S1 Web-Security Posture — Not assessed: 49 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. The server controls — HTTPS enforcement, HSTS, cookie flags, input validation — are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is 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.
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and 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 applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- 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
- 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 — 827 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
- REDACTED
- REDACTED
- Unlisted import 'fs-extra' tests/commands/discussion/validate.test.ts:4
- Import cycle (4 files) scripts/core/index.ts:7
Serious — 106 finding(s)
- No test reaches this file scripts/commands/playlist/update.ts:1
- No test reaches this file scripts/commands/playlist/test.ts:1
- No test reaches this file scripts/commands/report/create.ts:1
- No test reaches this file scripts/commands/playlist/edit.ts:1
- No test reaches this file scripts/tables/countriesTable.ts:1
- No test reaches this file scripts/commands/playlist/format.ts:1
- No test reaches this file scripts/commands/playlist/generate.ts:1
- No test reaches this file scripts/generators/countriesGenerator.ts:1
- No test reaches this file scripts/generators/indexCountryGenerator.ts:1
- No test reaches this file scripts/tables/categoriesTable.ts:1
- No test reaches this file scripts/tables/languagesTable.ts:1
- No test reaches this file scripts/generators/categoriesGenerator.ts:1
- No test reaches this file scripts/generators/languagesGenerator.ts:1
- No test reaches this file scripts/generators/indexCategoryGenerator.ts:1
- No test reaches this file scripts/generators/indexLanguageGenerator.ts:1
- No test reaches this file scripts/generators/citiesGenerator.ts:1
- No test reaches this file scripts/generators/regionsGenerator.ts:1
- No test reaches this file scripts/generators/subdivisionsGenerator.ts:1
- No test reaches this file scripts/generators/sourcesGenerator.ts:1
- No test reaches this file scripts/tables/regionsTable.ts:1
- No test reaches this file scripts/generators/rawGenerator.ts:1
- No test reaches this file scripts/generators/indexGenerator.ts:1
- No test reaches this file scripts/commands/playlist/export.ts:1
- No test reaches this file scripts/commands/readme/update.ts:1
- No test reaches this file scripts/commands/api/load.ts:1
- Hotspot: scripts/commands/report/create.ts scripts/commands/report/create.ts:23
- Hotspot: scripts/commands/playlist/validate.ts scripts/commands/playlist/validate.ts:25
- Hotspot: scripts/commands/playlist/update.ts scripts/commands/playlist/update.ts:188
- Hotspot: scripts/commands/issue/validate.ts scripts/commands/issue/validate.ts:22
- Boundary violation [package:third-party-deep-import] scripts/core/cliTable.ts:1
- Boundary violation [package:test-suite-dependency] scripts/core/streamTester.ts:58
- Boundary violation [package:test-suite-dependency] scripts/utils.ts:229
- Boundary violation [package:test-suite-dependency] scripts/utils.ts:302
- Sync-over-async blocking scripts/core/playlistParser.ts:21
- Sync-over-async blocking scripts/utils.ts:118
- Sync-over-async blocking scripts/utils.ts:123
- Swallowed exception (empty catch) scripts/utils.ts:158
- Swallowed exception (empty catch) scripts/utils.ts:189
- Swallowed exception (empty catch) scripts/utils.ts:211
- Deprecated: eslint package.json:58
- Deprecated: glob package.json:59
- FunctionTooLong: create.main scripts/commands/report/create.ts:23
- FunctionTooLong: validate.main scripts/commands/playlist/validate.ts:25
- Fake-async — async method never awaits scripts/commands/playlist/update.ts:108
- Fake-async — async method never awaits scripts/commands/playlist/update.ts:144
- Duplicated block with local edits (31 matched lines × 2 locations) scripts/commands/playlist/format.ts:13
- Duplicated block with local edits (31 matched lines × 2 locations) scripts/generators/rawGenerator.ts:7
- Duplicated block (14 lines × 2 locations) scripts/commands/report/create.ts:85
- Duplicated block (14 lines × 2 locations) scripts/generators/indexGenerator.ts:7
- Duplicated block (11 lines × 2 locations) scripts/commands/discussion/validate.ts:29
- Duplicated block (11 lines × 2 locations) scripts/core/streamTester.ts:38
- Duplicated block (10 lines × 2 locations) scripts/tables/countriesTable.ts:81
- Duplicated block (10 lines × 2 locations) scripts/utils.ts:267
- Duplicated block (8 lines × 2 locations) scripts/commands/issue/validate.ts:130
- Duplicated block (8 lines × 2 locations) scripts/tables/countriesTable.ts:15
- Duplicated block (6 lines × 2 locations) scripts/commands/report/create.ts:146
- Duplicated block (6 lines × 2 locations) scripts/tables/countriesTable.ts:101
- Complex function (anonymous) (cyclomatic 11, cognitive 11) scripts/commands/report/create.ts:86
- Complex function (anonymous) (cyclomatic 11, cognitive 11) scripts/utils.ts:270
- `async` callback passed to `forEach` scripts/generators/categoriesGenerator.ts:30
- `async` callback passed to `forEach` scripts/generators/languagesGenerator.ts:35
- create.main (cyclomatic 39) scripts/commands/report/create.ts:23
- validate.main (cyclomatic 25) scripts/commands/playlist/validate.ts:25
- validate.main (cyclomatic 24) scripts/commands/discussion/validate.ts:28
- CountriesTable.create (cyclomatic 18) scripts/tables/countriesTable.ts:18
- update.addStream (cyclomatic 17) scripts/commands/playlist/update.ts:188
- No assertions: skip the file if it does not exist tests/commands/playlist/validate.test.ts:106
- Repeated repair: scripts/utils.ts scripts/utils.ts:250
- validate.main (cognitive 48) scripts/commands/playlist/validate.ts:25
- create.main (cognitive 39) scripts/commands/report/create.ts:23
- validate.main (cognitive 30) scripts/commands/issue/validate.ts:22
- validate.main (cognitive 25) scripts/commands/discussion/validate.ts:28
- StreamTester.test (cognitive 24) scripts/core/streamTester.ts:56
- CountriesTable.create (cognitive 23) scripts/tables/countriesTable.ts:18
- update.addStream (cognitive 19) scripts/commands/playlist/update.ts:188
- utils.getStreamInfo (cognitive 17) scripts/utils.ts:106
- Stream.getBroadcastSubdivisions (cognitive 17) REDACTED:196
- REDACTED
- TooManyMethods: Stream REDACTED:10
- MethodTooLong: CountriesTable.create scripts/tables/countriesTable.ts:18
- REDACTED
- Coverage not measured — JavaScript/TypeScript suite
- Duplicated block (53 lines × 2 locations) scripts/tables/categoriesTable.ts:10
- Duplicated block with local edits (42 matched lines × 2 locations) scripts/commands/playlist/update.ts:108
- Duplicated block (39 lines × 3 locations) scripts/generators/citiesGenerator.ts:8
- Duplicated block (39 lines × 4 locations) scripts/generators/citiesGenerator.ts:5
- Duplicated block (32 lines × 2 locations) scripts/generators/indexCategoryGenerator.ts:24
- Duplicated block (30 lines × 2 locations) scripts/generators/indexCountryGenerator.ts:8
- Duplicated block (14 lines × 3 locations) scripts/generators/indexCategoryGenerator.ts:8
- Duplicated block with local edits (12 matched lines × 2 locations) scripts/commands/playlist/export.ts:8
- Duplicated block with local edits (10 matched lines × 2 locations) scripts/commands/playlist/generate.ts:31
- Duplicated block (10 lines × 4 locations) scripts/generators/categoriesGenerator.ts:32
- Duplicated block with local edits (9 matched lines × 2 locations) scripts/generators/languagesGenerator.ts:36
- Duplicated block with local edits (8 matched lines × 2 locations) scripts/commands/playlist/format.ts:124
- Complex function main (cyclomatic 18, cognitive 19) scripts/commands/discussion/validate.ts:28
- Complex function addStream (cyclomatic 15, cognitive 17) scripts/commands/playlist/update.ts:188
- Complex function main (cyclomatic 14, cognitive 28) scripts/commands/issue/validate.ts:22
- Complex function updateWithIssue (cyclomatic 13, cognitive 13) REDACTED:44
- Complex function (anonymous) (cyclomatic 13, cognitive 10) scripts/commands/report/create.ts:162
- Complex function test (cyclomatic 12, cognitive 24) scripts/core/streamTester.ts:56
- Complex function getStreamInfo (cyclomatic 11, cognitive 17) scripts/utils.ts:106
- Complex function (anonymous) (cyclomatic 11, cognitive 16) REDACTED:205
- Complex function parseStreamInfo (cyclomatic 11, cognitive 15) scripts/utils.ts:168
- REDACTED: 438 lines of code REDACTED:1
- No typecheck script
- Unused dependency '@octokit/types'
Minor — 12 finding(s)
- Outdated (npm): @octokit/plugin-paginate-rest package.json:39
- Outdated (npm): @octokit/types package.json:41
- Off-boarding risk: anonymized user #1
- REDACTED
- No ADRs
- No src/ separation
- CI build step not evidenced
- No SAST
- Unused export 'default' scripts/core/numberParser.ts:1
- Test-only dependency 'glob' in production deps package.json:59
- Duplicated predicate scripts/core/streamTester.ts:41
- Null assertions (`!`) reduce the strict null checking score
Minor — 13 finding(s)
- Outdated (npm): @eslint/js
- Outdated (npm): @freearhey/core
- Outdated (npm): @freearhey/storage-js
- Outdated (npm): @inquirer/prompts
- Outdated (npm): @octokit/plugin-rest-endpoint-methods
- Outdated (npm): chalk
- Outdated (npm): commander
- Outdated (npm): es-toolkit
- Outdated (npm): eslint
- Outdated (npm): glob
- Outdated (npm): globals
- Outdated (npm): normalize-url
- Outdated (npm): socks-proxy-agent
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-0d934ccb558a4b8891926de7bfb34af1/history.json --exit-code 0 --source . | 3489 | 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-0d934ccb558a4b8891926de7bfb34af1/tree.json --exit-code 0 --source . | 12 | 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 --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt . | 2 | 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 | 1 | 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 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). | 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 |