Executive summary
fable-compiler/ts2fable scores 46 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. The project hasn't declared a stable release yet, so its lenses are rated against a lower bar than a released product's, while the score itself is worked out as for any repository.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 25 and is rated Weak. Its Dependency Hygiene dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 4 Vulnerable finding(s) in Dependency Hygiene and to resolve the 7 Orphaned knowledge finding(s) in Knowledge Freshness, and if Production Readiness rose to 70, the score would rise from 46 to about 62.
23 findings are critical: 11 in Dependency Vulnerabilities, seven in Knowledge Freshness, four in Dependency Hygiene and one in Secrets (history).
Watchdog couldn't measure 33 dimensions in this code, among them Test Reliability, Explicit Debt and Internal API Consistency, so they are left out of the score. The product code is 30,869 lines, which would take an estimated 0.2 person-years, around €32,000, to rebuild.
If Production Readiness rose from 25 to 70, the lowest score rated Strong, the score would rise from 46 to about 62.
New since the last survey: 9 findings
- Dependency Hygiene · Deprecated: @babel/plugin-proposal-class-properties package.json
- Dependency Hygiene · Deprecated: @babel/polyfill package.json
- Dependency Hygiene · Deprecated: bulma-tooltip package.json
- Dependency Hygiene · Deprecated: reactxp test-compile/package.json
- Dependency Hygiene · Deprecated: vscode test-compile/package.json
- Secrets (history) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
Fixed since the last survey: 3 findings
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
Rebuild cost: about €32,000 · Estimate
| Cost to rebuild | €11,000 to €53,000, for 176 to 559 hours of work, about 0.2 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.7 at a score of 46. 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 | Medium: 30,869 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 App.Main | 2 App.Main.CopyButton | 3 App.Main.Editor | 4 Config | 5 Config.OptionNames | 6 Program | 7 Program.Scripts | 8 Program.TypeScriptSpecialRules | 9 TypeScript.Ts.JsTyping | 10 ts2fable.Syntax | 11 Monaco.Monaco.Languages.Css | 12 Monaco.Monaco.Languages.Html | 13 Monaco.Monaco.Languages.Json | 14 Monaco.Monaco.Languages.Typescript | 15 TypeScript.Ts.ScriptSnapshot | 16 ts2fable.Print | 17 ts2fable.Syntax.FsAccessorModule | 18 ts2fable.Syntax.FsArgumentModule | 19 ts2fable.Syntax.FsAttributeModule | 20 ts2fable.Syntax.FsCommentModule | 21 ts2fable.Syntax.FsParamModule | 22 ts2fable.Syntax.FsTypeModule | 23 ts2fable.Transform | 24 ts2fable.TransformComments | 25 ts2fable.TransformComments.Text | 26 ts2fable.Write | 27 ts2fable.node.Transform | 28 ts2fable.node.Write | 29 Monaco.Monaco.Languages | 30 TypeScript.Ts | 31 Monaco.Monaco | 32 TypeScript | 33 TypeScript.Ts.Server | 34 ts2fable.Bridges | 35 Monaco | 36 Monaco.Monaco.Editor | 37 Monaco.Monaco.Worker | 38 ts2fable.Bridges.BridgeModule | 39 ts2fable.Bridges.NodeBridgeModule | 40 App.Main.Monaco |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 App.Main | ||||||||||||||||||||||||||||||||||||||||
| 2 App.Main.CopyButton | ||||||||||||||||||||||||||||||||||||||||
| 3 App.Main.Editor | ||||||||||||||||||||||||||||||||||||||||
| 4 Config | ||||||||||||||||||||||||||||||||||||||||
| 5 Config.OptionNames | ||||||||||||||||||||||||||||||||||||||||
| 6 Program | ||||||||||||||||||||||||||||||||||||||||
| 7 Program.Scripts | ||||||||||||||||||||||||||||||||||||||||
| 8 Program.TypeScriptSpecialRules | ||||||||||||||||||||||||||||||||||||||||
| 9 TypeScript.Ts.JsTyping | ||||||||||||||||||||||||||||||||||||||||
| 10 ts2fable.Syntax | ||||||||||||||||||||||||||||||||||||||||
| 11 Monaco.Monaco.Languages.Css | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 Monaco.Monaco.Languages.Html | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 Monaco.Monaco.Languages.Json | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 Monaco.Monaco.Languages.Typescript | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 TypeScript.Ts.ScriptSnapshot | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 ts2fable.Print | 14 | |||||||||||||||||||||||||||||||||||||||
| 17 ts2fable.Syntax.FsAccessorModule | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 ts2fable.Syntax.FsArgumentModule | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 ts2fable.Syntax.FsAttributeModule | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 ts2fable.Syntax.FsCommentModule | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 ts2fable.Syntax.FsParamModule | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 ts2fable.Syntax.FsTypeModule | 12 | |||||||||||||||||||||||||||||||||||||||
| 23 ts2fable.Transform | 9 | |||||||||||||||||||||||||||||||||||||||
| 24 ts2fable.TransformComments | 5 | |||||||||||||||||||||||||||||||||||||||
| 25 ts2fable.TransformComments.Text | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 ts2fable.Write | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 ts2fable.node.Transform | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 ts2fable.node.Write | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 Monaco.Monaco.Languages | 1 | 1 | 1 | 1 | 40 | 19 | ||||||||||||||||||||||||||||||||||
| 30 TypeScript.Ts | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 Monaco.Monaco | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 TypeScript | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 TypeScript.Ts.Server | 1 | 8 | ||||||||||||||||||||||||||||||||||||||
| 34 ts2fable.Bridges | 2 | |||||||||||||||||||||||||||||||||||||||
| 35 Monaco | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 Monaco.Monaco.Editor | 56 | |||||||||||||||||||||||||||||||||||||||
| 37 Monaco.Monaco.Worker | 1 | |||||||||||||||||||||||||||||||||||||||
| 38 ts2fable.Bridges.BridgeModule | 3 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 ts2fable.Bridges.NodeBridgeModule | 1 | |||||||||||||||||||||||||||||||||||||||
| 40 App.Main.Monaco | 1 |
11→31 Monaco.Monaco.Languages.Css uses Monaco.Monaco part of a loop✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages.Css uses a type in Monaco.Monaco.
- The types involved
Monaco.Monaco.Languages.Css.LanguageServiceDefaults→Monaco.Monaco.IEvent`1
- Direction
- Monaco.Monaco.Languages.Css uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco.Monaco.Languages.Css, while a change to Monaco.Monaco.Languages.Css can't break Monaco.Monaco.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
12→31 Monaco.Monaco.Languages.Html uses Monaco.Monaco part of a loop✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages.Html uses a type in Monaco.Monaco.
- The types involved
Monaco.Monaco.Languages.Html.LanguageServiceDefaults→Monaco.Monaco.IEvent`1
- Direction
- Monaco.Monaco.Languages.Html uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco.Monaco.Languages.Html, while a change to Monaco.Monaco.Languages.Html can't break Monaco.Monaco.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
13→31 Monaco.Monaco.Languages.Json uses Monaco.Monaco part of a loop✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages.Json uses a type in Monaco.Monaco.
- The types involved
Monaco.Monaco.Languages.Json.LanguageServiceDefaults→Monaco.Monaco.IEvent`1
- Direction
- Monaco.Monaco.Languages.Json uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco.Monaco.Languages.Json, while a change to Monaco.Monaco.Languages.Json can't break Monaco.Monaco.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
14→31 Monaco.Monaco.Languages.Typescript uses Monaco.Monaco part of a loop✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages.Typescript uses a type in Monaco.Monaco.
- The types involved
Monaco.Monaco.Languages.Typescript.LanguageServiceDefaults→Monaco.Monaco.IDisposable
- Direction
- Monaco.Monaco.Languages.Typescript uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco.Monaco.Languages.Typescript, while a change to Monaco.Monaco.Languages.Typescript can't break Monaco.Monaco.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
15→30 TypeScript.Ts.ScriptSnapshot uses TypeScript.Ts part of a loop✕
- Connections
- 1 pair of types, where a type in TypeScript.Ts.ScriptSnapshot uses a type in TypeScript.Ts.
- The types involved
TypeScript.Ts.ScriptSnapshot.IExports→TypeScript.Ts.IScriptSnapshot
- Direction
- TypeScript.Ts.ScriptSnapshot uses TypeScript.Ts, so a change to TypeScript.Ts can break TypeScript.Ts.ScriptSnapshot, while a change to TypeScript.Ts.ScriptSnapshot can't break TypeScript.Ts.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
16→10 ts2fable.Print uses ts2fable.Syntax✕
- Connections
- 14 pairs of types, where a type in ts2fable.Print uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Print.Print→ts2fable.Syntax.AdditionalDataLocationts2fable.Print.Print→ts2fable.Syntax.FsAccessorts2fable.Print.Print→ts2fable.Syntax.FsAttributets2fable.Print.Print→ts2fable.Syntax.FsCommentts2fable.Print.Print→ts2fable.Syntax.FsEnumts2fable.Print.Print→ts2fable.Syntax.FsFileOutts2fable.Print.Print→ts2fable.Syntax.FsFunctionts2fable.Print.Print→ts2fable.Syntax.FsGenericTypets2fable.Print.Print→ts2fable.Syntax.FsGenericTypeParameterts2fable.Print.Print→ts2fable.Syntax.FsModulets2fable.Print.Print→ts2fable.Syntax.FsPropertyts2fable.Print.Print→ts2fable.Syntax.FsTaggedUnionAliasts2fable.Print.Print→ts2fable.Syntax.FsTypets2fable.Print.Print→ts2fable.Syntax.FsTypeLiteral
- Direction
- ts2fable.Print uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Print, while a change to ts2fable.Print can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Print uses a module listed above it, which is the healthy direction.
17→10 ts2fable.Syntax.FsAccessorModule uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.Syntax.FsAccessorModule uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Syntax.FsAccessorModule.FsAccessorModule→ts2fable.Syntax.FsAccessor
- Direction
- ts2fable.Syntax.FsAccessorModule uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Syntax.FsAccessorModule, while a change to ts2fable.Syntax.FsAccessorModule can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Syntax.FsAccessorModule uses a module listed above it, which is the healthy direction.
18→10 ts2fable.Syntax.FsArgumentModule uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.Syntax.FsArgumentModule uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Syntax.FsArgumentModule.FsArgumentModule→ts2fable.Syntax.FsArgument
- Direction
- ts2fable.Syntax.FsArgumentModule uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Syntax.FsArgumentModule, while a change to ts2fable.Syntax.FsArgumentModule can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Syntax.FsArgumentModule uses a module listed above it, which is the healthy direction.
19→10 ts2fable.Syntax.FsAttributeModule uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.Syntax.FsAttributeModule uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Syntax.FsAttributeModule.FsAttributeModule→ts2fable.Syntax.FsAttribute
- Direction
- ts2fable.Syntax.FsAttributeModule uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Syntax.FsAttributeModule, while a change to ts2fable.Syntax.FsAttributeModule can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Syntax.FsAttributeModule uses a module listed above it, which is the healthy direction.
20→10 ts2fable.Syntax.FsCommentModule uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.Syntax.FsCommentModule uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Syntax.FsCommentModule.FsCommentModule→ts2fable.Syntax.FsComment
- Direction
- ts2fable.Syntax.FsCommentModule uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Syntax.FsCommentModule, while a change to ts2fable.Syntax.FsCommentModule can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Syntax.FsCommentModule uses a module listed above it, which is the healthy direction.
21→10 ts2fable.Syntax.FsParamModule uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.Syntax.FsParamModule uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Syntax.FsParamModule.FsParamModule→ts2fable.Syntax.FsParam
- Direction
- ts2fable.Syntax.FsParamModule uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Syntax.FsParamModule, while a change to ts2fable.Syntax.FsParamModule can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Syntax.FsParamModule uses a module listed above it, which is the healthy direction.
22→10 ts2fable.Syntax.FsTypeModule uses ts2fable.Syntax✕
- Connections
- 12 pairs of types, where a type in ts2fable.Syntax.FsTypeModule uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsAttributets2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsCommentts2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsFunctionts2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsGenericTypets2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsGenericTypeParameterts2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsInterfacets2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsMappedts2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsModulets2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsPropertyts2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsTuplets2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsTypets2fable.Syntax.FsTypeModule.FsTypeModule→ts2fable.Syntax.FsVariable
- Direction
- ts2fable.Syntax.FsTypeModule uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Syntax.FsTypeModule, while a change to ts2fable.Syntax.FsTypeModule can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Syntax.FsTypeModule uses a module listed above it, which is the healthy direction.
23→10 ts2fable.Transform uses ts2fable.Syntax✕
- Connections
- 9 pairs of types, where a type in ts2fable.Transform uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Transform.Transform→ts2fable.Syntax.FsAliasts2fable.Transform.Transform→ts2fable.Syntax.FsCommentts2fable.Transform.Transform→ts2fable.Syntax.FsEnumts2fable.Transform.Transform→ts2fable.Syntax.FsFilets2fable.Transform.Transform→ts2fable.Syntax.FsFileOutts2fable.Transform.Transform→ts2fable.Syntax.FsMappedts2fable.Transform.Transform→ts2fable.Syntax.FsModulets2fable.Transform.Transform→ts2fable.Syntax.FsTypets2fable.Transform.Transform→ts2fable.Syntax.FsUnion
- Direction
- ts2fable.Transform uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Transform, while a change to ts2fable.Transform can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Transform uses a module listed above it, which is the healthy direction.
24→10 ts2fable.TransformComments uses ts2fable.Syntax✕
- Connections
- 5 pairs of types, where a type in ts2fable.TransformComments uses a type in ts2fable.Syntax.
- The types involved
ts2fable.TransformComments.TransformComments→ts2fable.Syntax.FsCommentts2fable.TransformComments.TransformComments→ts2fable.Syntax.FsFilets2fable.TransformComments.TransformComments→ts2fable.Syntax.FsGenericTypeParameterts2fable.TransformComments.TransformComments→ts2fable.Syntax.FsParamts2fable.TransformComments.TransformComments→ts2fable.Syntax.FsType
- Direction
- ts2fable.TransformComments uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.TransformComments, while a change to ts2fable.TransformComments can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.TransformComments uses a module listed above it, which is the healthy direction.
25→10 ts2fable.TransformComments.Text uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.TransformComments.Text uses a type in ts2fable.Syntax.
- The types involved
ts2fable.TransformComments.Text.Text→ts2fable.Syntax.FsCommentLinkType
- Direction
- ts2fable.TransformComments.Text uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.TransformComments.Text, while a change to ts2fable.TransformComments.Text can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.TransformComments.Text uses a module listed above it, which is the healthy direction.
26→10 ts2fable.Write uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.Write uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Write.Write→ts2fable.Syntax.FsFileOut
- Direction
- ts2fable.Write uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Write, while a change to ts2fable.Write can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Write uses a module listed above it, which is the healthy direction.
27→10 ts2fable.node.Transform uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.node.Transform uses a type in ts2fable.Syntax.
- The types involved
ts2fable.node.Transform.Transform→ts2fable.Syntax.FsFile
- Direction
- ts2fable.node.Transform uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.node.Transform, while a change to ts2fable.node.Transform can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.node.Transform uses a module listed above it, which is the healthy direction.
28→10 ts2fable.node.Write uses ts2fable.Syntax✕
- Connections
- 1 pair of types, where a type in ts2fable.node.Write uses a type in ts2fable.Syntax.
- The types involved
ts2fable.node.Write.Write→ts2fable.Syntax.FsFileOut
- Direction
- ts2fable.node.Write uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.node.Write, while a change to ts2fable.node.Write can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.node.Write uses a module listed above it, which is the healthy direction.
29→11 Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Css✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages uses a type in Monaco.Monaco.Languages.Css.
- The types involved
Monaco.Monaco.Languages.Languages→Monaco.Monaco.Languages.Css.IExports
- Direction
- Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Css, so a change to Monaco.Monaco.Languages.Css can break Monaco.Monaco.Languages, while a change to Monaco.Monaco.Languages can't break Monaco.Monaco.Languages.Css.
- Position
- Below the diagonal: Monaco.Monaco.Languages uses a module listed above it, which is the healthy direction.
29→12 Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Html✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages uses a type in Monaco.Monaco.Languages.Html.
- The types involved
Monaco.Monaco.Languages.Languages→Monaco.Monaco.Languages.Html.IExports
- Direction
- Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Html, so a change to Monaco.Monaco.Languages.Html can break Monaco.Monaco.Languages, while a change to Monaco.Monaco.Languages can't break Monaco.Monaco.Languages.Html.
- Position
- Below the diagonal: Monaco.Monaco.Languages uses a module listed above it, which is the healthy direction.
29→13 Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Json✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages uses a type in Monaco.Monaco.Languages.Json.
- The types involved
Monaco.Monaco.Languages.Languages→Monaco.Monaco.Languages.Json.IExports
- Direction
- Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Json, so a change to Monaco.Monaco.Languages.Json can break Monaco.Monaco.Languages, while a change to Monaco.Monaco.Languages can't break Monaco.Monaco.Languages.Json.
- Position
- Below the diagonal: Monaco.Monaco.Languages uses a module listed above it, which is the healthy direction.
29→14 Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Typescript✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Languages uses a type in Monaco.Monaco.Languages.Typescript.
- The types involved
Monaco.Monaco.Languages.Languages→Monaco.Monaco.Languages.Typescript.IExports
- Direction
- Monaco.Monaco.Languages uses Monaco.Monaco.Languages.Typescript, so a change to Monaco.Monaco.Languages.Typescript can break Monaco.Monaco.Languages, while a change to Monaco.Monaco.Languages can't break Monaco.Monaco.Languages.Typescript.
- Position
- Below the diagonal: Monaco.Monaco.Languages uses a module listed above it, which is the healthy direction.
29→31 Monaco.Monaco.Languages uses Monaco.Monaco part of a loop✕
- Connections
- 40 pairs of types, where a type in Monaco.Monaco.Languages uses a type in Monaco.Monaco. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
Monaco.Monaco.Languages.CodeActionProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.CodeActionProvider→Monaco.Monaco.RangeMonaco.Monaco.Languages.CodeLensProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.CodeLensProvider→Monaco.Monaco.IEvent`1Monaco.Monaco.Languages.CompletionItem→Monaco.Monaco.RangeMonaco.Monaco.Languages.CompletionItemProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.CompletionItemProvider→Monaco.Monaco.PositionMonaco.Monaco.Languages.DefinitionProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.DefinitionProvider→Monaco.Monaco.PositionMonaco.Monaco.Languages.DocumentFormattingEditProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.DocumentHighlight→Monaco.Monaco.IRangeMonaco.Monaco.Languages.DocumentHighlightProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.DocumentHighlightProvider→Monaco.Monaco.PositionMonaco.Monaco.Languages.DocumentRangeFormattingEditProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.DocumentRangeFormattingEditProvider→Monaco.Monaco.RangeMonaco.Monaco.Languages.DocumentSymbolProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.Hover→Monaco.Monaco.IRangeMonaco.Monaco.Languages.HoverProvider→Monaco.Monaco.CancellationTokenMonaco.Monaco.Languages.HoverProvider→Monaco.Monaco.PositionMonaco.Monaco.Languages.ICodeLensSymbol→Monaco.Monaco.IRangeMonaco.Monaco.Languages.IExports→Monaco.Monaco.IDisposableMonaco.Monaco.Languages.ILink→Monaco.Monaco.IRangeMonaco.Monaco.Languages.IResourceEdit→Monaco.Monaco.IRangeMonaco.Monaco.Languages.IResourceEdit→Monaco.Monaco.UriMonaco.Monaco.Languages.ImplementationProvider→Monaco.Monaco.CancellationToken
- Direction
- Monaco.Monaco.Languages uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco.Monaco.Languages, while a change to Monaco.Monaco.Languages can't break Monaco.Monaco.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
29→36 Monaco.Monaco.Languages uses Monaco.Monaco.Editor part of a loop✕
- Connections
- 19 pairs of types, where a type in Monaco.Monaco.Languages uses a type in Monaco.Monaco.Editor.
- The types involved
Monaco.Monaco.Languages.CodeActionContext→Monaco.Monaco.Editor.IMarkerDataMonaco.Monaco.Languages.CodeActionProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.CodeLensProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.CompletionItem→Monaco.Monaco.Editor.ISingleEditOperationMonaco.Monaco.Languages.CompletionItemProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.DefinitionProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.DocumentFormattingEditProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.DocumentHighlightProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.DocumentRangeFormattingEditProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.DocumentSymbolProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.HoverProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.ImplementationProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.LinkProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.OnTypeFormattingEditProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.ReferenceProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.RenameProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.SignatureHelpProvider→Monaco.Monaco.Editor.IReadOnlyModelMonaco.Monaco.Languages.TextEdit→Monaco.Monaco.Editor.EndOfLineSequenceMonaco.Monaco.Languages.TypeDefinitionProvider→Monaco.Monaco.Editor.IReadOnlyModel
- Direction
- Monaco.Monaco.Languages uses Monaco.Monaco.Editor, so a change to Monaco.Monaco.Editor can break Monaco.Monaco.Languages, while a change to Monaco.Monaco.Languages can't break Monaco.Monaco.Editor.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
30→15 TypeScript.Ts uses TypeScript.Ts.ScriptSnapshot✕
- Connections
- 1 pair of types, where a type in TypeScript.Ts uses a type in TypeScript.Ts.ScriptSnapshot.
- The types involved
TypeScript.Ts.Ts→TypeScript.Ts.ScriptSnapshot.IExports
- Direction
- TypeScript.Ts uses TypeScript.Ts.ScriptSnapshot, so a change to TypeScript.Ts.ScriptSnapshot can break TypeScript.Ts, while a change to TypeScript.Ts can't break TypeScript.Ts.ScriptSnapshot.
- Position
- Below the diagonal: TypeScript.Ts uses a module listed above it, which is the healthy direction.
31→29 Monaco.Monaco uses Monaco.Monaco.Languages✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco uses a type in Monaco.Monaco.Languages.
- The types involved
Monaco.Monaco.Monaco→Monaco.Monaco.Languages.IExports
- Direction
- Monaco.Monaco uses Monaco.Monaco.Languages, so a change to Monaco.Monaco.Languages can break Monaco.Monaco, while a change to Monaco.Monaco can't break Monaco.Monaco.Languages.
- Position
- Below the diagonal: Monaco.Monaco uses a module listed above it, which is the healthy direction.
31→36 Monaco.Monaco uses Monaco.Monaco.Editor part of a loop✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco uses a type in Monaco.Monaco.Editor.
- The types involved
Monaco.Monaco.Monaco→Monaco.Monaco.Editor.IExports
- Direction
- Monaco.Monaco uses Monaco.Monaco.Editor, so a change to Monaco.Monaco.Editor can break Monaco.Monaco, while a change to Monaco.Monaco can't break Monaco.Monaco.Editor.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
32→30 TypeScript uses TypeScript.Ts✕
- Connections
- 1 pair of types, where a type in TypeScript uses a type in TypeScript.Ts.
- The types involved
TypeScript.TypeScript→TypeScript.Ts.IExports
- Direction
- TypeScript uses TypeScript.Ts, so a change to TypeScript.Ts can break TypeScript, while a change to TypeScript can't break TypeScript.Ts.
- Position
- Below the diagonal: TypeScript uses a module listed above it, which is the healthy direction.
33→9 TypeScript.Ts.Server uses TypeScript.Ts.JsTyping✕
- Connections
- 1 pair of types, where a type in TypeScript.Ts.Server uses a type in TypeScript.Ts.JsTyping.
- The types involved
TypeScript.Ts.Server.InstallTypingHost→TypeScript.Ts.JsTyping.TypingResolutionHost
- Direction
- TypeScript.Ts.Server uses TypeScript.Ts.JsTyping, so a change to TypeScript.Ts.JsTyping can break TypeScript.Ts.Server, while a change to TypeScript.Ts.Server can't break TypeScript.Ts.JsTyping.
- Position
- Below the diagonal: TypeScript.Ts.Server uses a module listed above it, which is the healthy direction.
33→30 TypeScript.Ts.Server uses TypeScript.Ts✕
- Connections
- 8 pairs of types, where a type in TypeScript.Ts.Server uses a type in TypeScript.Ts.
- The types involved
TypeScript.Ts.Server.DiscoverTypings→TypeScript.Ts.CompilerOptionsTypeScript.Ts.Server.DiscoverTypings→TypeScript.Ts.PathTypeScript.Ts.Server.DiscoverTypings→TypeScript.Ts.SortedReadonlyArray`1TypeScript.Ts.Server.DiscoverTypings→TypeScript.Ts.TypeAcquisitionTypeScript.Ts.Server.InstallPackageRequest→TypeScript.Ts.PathTypeScript.Ts.Server.SetTypings→TypeScript.Ts.CompilerOptionsTypeScript.Ts.Server.SetTypings→TypeScript.Ts.SortedReadonlyArray`1TypeScript.Ts.Server.SetTypings→TypeScript.Ts.TypeAcquisition
- Direction
- TypeScript.Ts.Server uses TypeScript.Ts, so a change to TypeScript.Ts can break TypeScript.Ts.Server, while a change to TypeScript.Ts.Server can't break TypeScript.Ts.
- Position
- Below the diagonal: TypeScript.Ts.Server uses a module listed above it, which is the healthy direction.
34→30 ts2fable.Bridges uses TypeScript.Ts✕
- Connections
- 2 pairs of types, where a type in ts2fable.Bridges uses a type in TypeScript.Ts.
- The types involved
ts2fable.Bridges.Bridges→TypeScript.Ts.ScriptTargetts2fable.Bridges.WebBridge→TypeScript.Ts.SourceFile
- Direction
- ts2fable.Bridges uses TypeScript.Ts, so a change to TypeScript.Ts can break ts2fable.Bridges, while a change to ts2fable.Bridges can't break TypeScript.Ts.
- Position
- Below the diagonal: ts2fable.Bridges uses a module listed above it, which is the healthy direction.
35→31 Monaco uses Monaco.Monaco✕
- Connections
- 1 pair of types, where a type in Monaco uses a type in Monaco.Monaco.
- The types involved
Monaco.Monaco→Monaco.Monaco.IExports
- Direction
- Monaco uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco, while a change to Monaco can't break Monaco.Monaco.
- Position
- Below the diagonal: Monaco uses a module listed above it, which is the healthy direction.
36→31 Monaco.Monaco.Editor uses Monaco.Monaco✕
- Connections
- 56 pairs of types, where a type in Monaco.Monaco.Editor uses a type in Monaco.Monaco. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
Monaco.Monaco.Editor.FindMatch→Monaco.Monaco.RangeMonaco.Monaco.Editor.GetModelMarkersFilter→Monaco.Monaco.UriMonaco.Monaco.Editor.ICodeEditor→Monaco.Monaco.IDisposableMonaco.Monaco.Editor.ICodeEditor→Monaco.Monaco.IPositionMonaco.Monaco.Editor.ICodeEditor→Monaco.Monaco.RangeMonaco.Monaco.Editor.ICommand→Monaco.Monaco.SelectionMonaco.Monaco.Editor.ICommonCodeEditor→Monaco.Monaco.IDisposableMonaco.Monaco.Editor.ICommonCodeEditor→Monaco.Monaco.SelectionMonaco.Monaco.Editor.ICommonDiffEditor→Monaco.Monaco.IDisposableMonaco.Monaco.Editor.IContentWidgetPosition→Monaco.Monaco.IPositionMonaco.Monaco.Editor.ICursorPositionChangedEvent→Monaco.Monaco.PositionMonaco.Monaco.Editor.ICursorSelectionChangedEvent→Monaco.Monaco.SelectionMonaco.Monaco.Editor.ICursorState→Monaco.Monaco.IPositionMonaco.Monaco.Editor.ICursorStateComputer→Monaco.Monaco.SelectionMonaco.Monaco.Editor.ICursorStateComputerData→Monaco.Monaco.SelectionMonaco.Monaco.Editor.IEditOperationBuilder→Monaco.Monaco.RangeMonaco.Monaco.Editor.IEditOperationBuilder→Monaco.Monaco.SelectionMonaco.Monaco.Editor.IEditableTextModel→Monaco.Monaco.SelectionMonaco.Monaco.Editor.IEditor→Monaco.Monaco.IDisposableMonaco.Monaco.Editor.IEditor→Monaco.Monaco.IPositionMonaco.Monaco.Editor.IEditor→Monaco.Monaco.IRangeMonaco.Monaco.Editor.IEditor→Monaco.Monaco.ISelectionMonaco.Monaco.Editor.IEditor→Monaco.Monaco.PositionMonaco.Monaco.Editor.IEditor→Monaco.Monaco.RangeMonaco.Monaco.Editor.IEditor→Monaco.Monaco.Selection
- Direction
- Monaco.Monaco.Editor uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco.Monaco.Editor, while a change to Monaco.Monaco.Editor can't break Monaco.Monaco.
- Position
- Below the diagonal: Monaco.Monaco.Editor uses a module listed above it, which is the healthy direction.
37→31 Monaco.Monaco.Worker uses Monaco.Monaco✕
- Connections
- 1 pair of types, where a type in Monaco.Monaco.Worker uses a type in Monaco.Monaco.
- The types involved
Monaco.Monaco.Worker.IMirrorModel→Monaco.Monaco.Uri
- Direction
- Monaco.Monaco.Worker uses Monaco.Monaco, so a change to Monaco.Monaco can break Monaco.Monaco.Worker, while a change to Monaco.Monaco.Worker can't break Monaco.Monaco.
- Position
- Below the diagonal: Monaco.Monaco.Worker uses a module listed above it, which is the healthy direction.
38→10 ts2fable.Bridges.BridgeModule uses ts2fable.Syntax✕
- Connections
- 3 pairs of types, where a type in ts2fable.Bridges.BridgeModule uses a type in ts2fable.Syntax.
- The types involved
ts2fable.Bridges.BridgeModule.BridgeModule→ts2fable.Syntax.FsFilets2fable.Bridges.BridgeModule.BridgeModule→ts2fable.Syntax.FsFileKindts2fable.Bridges.BridgeModule.BridgeModule→ts2fable.Syntax.FsFileOut
- Direction
- ts2fable.Bridges.BridgeModule uses ts2fable.Syntax, so a change to ts2fable.Syntax can break ts2fable.Bridges.BridgeModule, while a change to ts2fable.Bridges.BridgeModule can't break ts2fable.Syntax.
- Position
- Below the diagonal: ts2fable.Bridges.BridgeModule uses a module listed above it, which is the healthy direction.
38→30 ts2fable.Bridges.BridgeModule uses TypeScript.Ts✕
- Connections
- 1 pair of types, where a type in ts2fable.Bridges.BridgeModule uses a type in TypeScript.Ts.
- The types involved
ts2fable.Bridges.BridgeModule.BridgeModule→TypeScript.Ts.Program
- Direction
- ts2fable.Bridges.BridgeModule uses TypeScript.Ts, so a change to TypeScript.Ts can break ts2fable.Bridges.BridgeModule, while a change to ts2fable.Bridges.BridgeModule can't break TypeScript.Ts.
- Position
- Below the diagonal: ts2fable.Bridges.BridgeModule uses a module listed above it, which is the healthy direction.
38→34 ts2fable.Bridges.BridgeModule uses ts2fable.Bridges✕
- Connections
- 1 pair of types, where a type in ts2fable.Bridges.BridgeModule uses a type in ts2fable.Bridges.
- The types involved
ts2fable.Bridges.BridgeModule.BridgeModule→ts2fable.Bridges.Bridge
- Direction
- ts2fable.Bridges.BridgeModule uses ts2fable.Bridges, so a change to ts2fable.Bridges can break ts2fable.Bridges.BridgeModule, while a change to ts2fable.Bridges.BridgeModule can't break ts2fable.Bridges.
- Position
- Below the diagonal: ts2fable.Bridges.BridgeModule uses a module listed above it, which is the healthy direction.
39→34 ts2fable.Bridges.NodeBridgeModule uses ts2fable.Bridges✕
- Connections
- 1 pair of types, where a type in ts2fable.Bridges.NodeBridgeModule uses a type in ts2fable.Bridges.
- The types involved
ts2fable.Bridges.NodeBridgeModule.NodeBridgeModule→ts2fable.Bridges.NodeBridge
- Direction
- ts2fable.Bridges.NodeBridgeModule uses ts2fable.Bridges, so a change to ts2fable.Bridges can break ts2fable.Bridges.NodeBridgeModule, while a change to ts2fable.Bridges.NodeBridgeModule can't break ts2fable.Bridges.
- Position
- Below the diagonal: ts2fable.Bridges.NodeBridgeModule uses a module listed above it, which is the healthy direction.
40→36 App.Main.Monaco uses Monaco.Monaco.Editor✕
- Connections
- 1 pair of types, where a type in App.Main.Monaco uses a type in Monaco.Monaco.Editor.
- The types involved
App.Main.Monaco.Props→Monaco.Monaco.Editor.IEditorConstructionOptions
- Direction
- App.Main.Monaco uses Monaco.Monaco.Editor, so a change to Monaco.Monaco.Editor can break App.Main.Monaco, while a change to App.Main.Monaco can't break Monaco.Monaco.Editor.
- Position
- Below the diagonal: App.Main.Monaco 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 |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 20 | High / Critical |
| A07:2025 — Authentication Failures | 2 | High / Critical |
Roadmap
Begin by resolving the four vulnerable dependencies and the five deprecated packages, prioritizing updates in package.json to secure the codebase. Next, address the seven orphaned knowledge files, starting with Samples.fs, TypeScript.fs, and Monaco.fs, to ensure critical documentation remains accessible. Finally, establish a diagnostic logging trail for user bug reports and document significant design decisions in a dedicated ADR folder to improve long-term maintainability and observability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 4 Vulnerable finding(s) in Dependency Hygiene. | +9.3 pts | Low | Dependency Hygiene |
| Resolve the 7 Orphaned knowledge finding(s) in Knowledge Freshness — start with Samples.fs, TypeScript.fs, Monaco.fs. | +6.8 pts | Low | Knowledge Freshness |
| Resolve the 5 Deprecated finding(s) in Dependency Hygiene — start with package.json (5). | +6.4 pts | Low | Dependency Hygiene |
| Resolve the 4 Orphaned file finding(s) in Knowledge Freshness — start with syntax.fs, naming.fs, bridge.fs. | +3.9 pts | Low | Knowledge Freshness |
| 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. | +6.5 pts | Medium | Architecture documentation |
| Write a diagnostic trail the user can hand back with a bug report: a log file under the platform's per-user data directory, switchable with a `--verbose`/`--debug` flag. Start with the error paths that emit nothing — a discarded error is the failure the user cannot describe and you cannot reproduce. | +5.5 pts | Medium | Observability |
| Resolve the 1 Prerelease dependency finding(s) in Dependency Hygiene. | +1.3 pts | Low | Dependency Hygiene |
| Improve Documentation Quality — currently 8.0/10. | +2.5 pts | Medium | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Secrets (history): High secret: REDACTED |
| src/print.fs | 6.5 | Mixed | Cyclomatic Complexity: Print.printModule (cyclomatic 34) |
| src/transform.fs | 7.0 | Near-clean | Cyclomatic Complexity: Transform.extractTypeLiterals (cyclomatic 40) |
| src/TypeScript.fs | 7.1 | Near-clean | God Classes: FileTooLong: src/TypeScript.fs |
| src/transformComments.fs | 7.2 | Near-clean | Cyclomatic Complexity: TransformComments.transformTags (cyclomatic 30) |
| package.json | 7.4 | Near-clean | Dependency Hygiene: Deprecated: @babel/plugin-proposal-class-properties |
| web-app/Monaco.fs | 7.8 | Near-clean | God Classes: FileTooLong: web-app/Monaco.fs |
| src/read.fs | 7.8 | Near-clean | Code Duplication: Duplicated block (13 lines × 2) |
| test-compile/package.json | 7.8 | Near-clean | Dependency Hygiene: Deprecated: reactxp |
| web-app/ts2fable-web-app.fsproj | 7.9 | Near-clean | Platform End-of-Life: End-of-life runtime: .NET net7.0 |
| src/naming.fs | 8.5 | Near-clean | Code Duplication: Duplicated block (6 lines × 2) |
| test-compile/REDACTED | 9.5 | Near-clean | Dependency Hygiene: Deprecated: mkdirp |
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. 37 of 40 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 40 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, 83 of 157 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability not scored — the test tier(s) built and ran but no tests were discovered, so reliability couldn't be exercised.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. All 12 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains — nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness). Counted over 11 of the 20 production source files in this repository: 8 are under the ~2,400-byte size floor this dimension measures over, and the remaining 1 have no attributable history left to measure.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (web-app/ts2fable-web-app.fsproj), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D30 Dependency Vulnerabilities — measured, with a gap in what it reached — 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. `dotnet list package --vulnerable` could not read this solution's dependency graph — it reported an error for at least one project and returned no package data at all (typically a packages.config / non-PackageReference project, which the command cannot read). An unreadable dependency graph is not a clean one; migrate the project(s) to PackageReference to enable this scan. 2 of 3 declared ecosystem(s) (npm,osv) WERE scanned and every vulnerability they reported is included in this result; nuget was not, so this dimension's score covers less than the dependency surface this repository declares, and nothing here is evidence that nuget is free of known-vulnerable dependencies.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXB1 Runtime evidence locked — no reproducible boot — 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. Subject: 2 markup document(s) — HTML, Razor, JSX, Vue, Svelte or server templates. The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, a Dockerfile, an npm dev script, a web service's own toolchain entry point (cargo, go, dotnet, Python, Spring Boot), or an Android app's own Gradle wrapper (run on an emulator); an Apple or Flutter app needs a host it lacks. None applied, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. Watchdog then boots it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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 none applies: this repository publishes a library and deploys nothing (no container, IaC or deployment manifest), so it holds no runtime state of its own. Any data-access dependency it declares is the store it is a CLIENT for, not one it operates. The DR control belongs to whoever runs that data.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- Package restore incomplete — third-party types were unresolved in part of the solution — NuGet restore did not complete for src/ts2fable.fsproj, test/test.fsproj, build/fake/build.fsproj, so those projects were analysed with framework references only: every check keyed on a third-party type saw an error type there and reported nothing. Findings on those projects are a lower bound; run `dotnet restore` on them and rescan.
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.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- 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 Secret Scanning: Secret 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.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- 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".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
8 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Transform.extractTypeLiterals at 40. A further 4 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being Transform.fixTypeEx at 31 — they are counted neither in the figure above nor in this dimension's score. 1 file carries no cyclomatic complexity row at all for this reason — every one of its over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: src/syntax.fs (Syntax.getTypeName at 31). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Bring the 8 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with Transform.extractTypeLiterals (cyclomatic 40), Transform.getDiscriminatedFromUnion (cyclomatic 40), Print.printModule (cyclomatic 34). — 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 8 together lifts Cyclomatic Complexity from 8.1 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- 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
14 method(s) exceeded the cognitive complexity threshold of 15; the worst was Transform.extractTypeLiterals at 76.
What to do
- Bring the 6 bodies over 30 down to 30 or less in Cognitive Complexity — start with Transform.extractTypeLiterals (cognitive 76), Print.printModule (cognitive 61), Transform.createIExportsModule (cognitive 57). — 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 6 together lifts Cognitive Complexity from 5.3 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
5 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 5 FileTooLong finding(s) in God Classes — start with TypeScript.fs, transform.fs, Monaco.fs. — One of this dimension's main actionable groups (5 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.
D4 · Code Duplication
10 duplicated block group(s) detected.
What to do
- Resolve the 4 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with TypeScript.fs (2), Monaco.fs, naming.fs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 2 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with TypeScript.fs, transform.fs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (13 lines × 2) finding(s) in Code Duplication — start with read.fs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
5 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D12 · Dependency Hygiene
58 outdated, 4 vulnerable, 0 deprecated, 1 prerelease packages. Those are the NuGet packages; this repository's npm dependencies were read too — 1 outdated of 1 package(s) across 2 lockfile(s).
What to do
- Resolve the 4 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 5 Deprecated finding(s) in Dependency Hygiene — start with package.json (5). — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 1 Prerelease dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-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 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 1 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 1 production dependency(ies) this repository's committed lockfile resolves, across 2 product package.json manifest(s). Its 56 `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. This repository publishes itself under Apache-2.0, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D19 · Documentation Quality
The repository's root README is clear and complete for a project that converts TypeScript declaration files to F# code: it states what the package does (an Fable parser for TypeScript declaration files), gives install commands for yarn and npm, shows how to run ts2fable on a file with output filename inference, explains multi-file exports via --export/-e options, links to the Fable docs, and describes an online version. It also covers Contributing by showing builds uploaded as next and instructions for installing them globally or building from source, plus a note that it is not perfect and bugs should be filed on GitHub. The document is clipped mid-Contributing section but its outline (ts2fable; Usage; Online Version; Contributing; Test Suites; Web-App; Conventions) indicates all the sections present in the visible text.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's root README is clear and complete for a project that converts TypeScript declaration files to F# code: it states what the package does (an Fable parser for TypeScript declaration files), gives install commands for yarn and npm, shows how to run ts2fable on a file with output filename inference, explains multi-file exports via --export/-e options, links to the Fable docs, and describes an online version. It also covers Contributing by showing builds uploaded as next and instructions for installing them globally or building from source, plus a note that it is not perfect and bugs should be filed on GitHub. The document is clipped mid-Contributing section but its outline (ts2fable; Usage; Online Version; Contributing; Test Suites; Web-App; Conventions) indicates all the sections present in the visible text.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
2 of 4 build units (MSBuild, npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D27 · Navigability
90 % of calls cross a namespace and 3 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
1 finding(s): 0 critical, 1 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 1 High secret finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 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)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
20 finding(s): 2 critical, 9 high, 8 medium, 1 low. Partial dependency scan: 2 of 3 declared ecosystem(s) were scanned (npm,osv), and the findings above are real and complete for them. nuget was not scanned (nuget: `dotnet list package --vulnerable` could not read this solution's dependency graph — it reported an error for at least one project and returned no package data at all (typically a packages.config / non-PackageReference project, which the command cannot read). An unreadable dependency graph is not a clean one; migrate the project(s) to PackageReference to enable this scan), so this is not the whole dependency surface and the result is reported at reduced confidence.
What to do
- Resolve the 8 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8). — One of this dimension's main actionable groups (8 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D34 · Knowledge Freshness
11 of 12 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is web-app/Samples.fs. Counted over 12 of the 20 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 7 Orphaned knowledge finding(s) in Knowledge Freshness — start with Samples.fs, TypeScript.fs, Monaco.fs. — One of this dimension's main actionable groups (7 issue-level).
- Resolve the 4 Orphaned file finding(s) in Knowledge Freshness — start with syntax.fs, naming.fs, bridge.fs. — One of this dimension's main actionable groups (4 recommendation-level).
- Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D39 · IL Efficiency
13 of 1344 first-party methods have an oversized IL body.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 5 platform declaration(s) and 1 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.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with ts2fable-web-app.fsproj. — One of this dimension's main actionable groups (1 warning-level).
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
GD1 · Unfinished & placeholder code
M1 · Documentation (README)
What to do
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 2 of 2 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
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.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
- README.md runs `./fake.cmd build`, but `fake.cmd` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:49
- README.md runs `./fake.sh build`, but `fake.sh` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:50
What to do
- Reconcile the README with reality: README.md runs `./fake.cmd build`, but `fake.cmd` does not exist; README.md runs `./fake.sh build`, but `fake.sh` does not exist.
P1 · CI/CD gates
What to do
- Run the test suite in CI via an explicit runner step for your stack, and gate merges on it.
P10 · Library API & versioning
P2 · Observability
- No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page — but when a run fails on a user's machine, neither they nor you have anything to read.
What to do
- Write a diagnostic trail the user can hand back with a bug report: a log file under the platform's per-user data directory, switchable with a `--verbose`/`--debug` flag. Start with the error paths that emit nothing — a discarded error is the failure the user cannot describe and you cannot reproduce.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) as a CI step. What was searched, so you can tell an absence from a miss: the 341 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: `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
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.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency hygiene
X20 · Mistyped argument guard
X23 · Unguarded diagnostic materialisation
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 85% | Strong | Solid. |
| Architecture | 89% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 46% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 25% | Weak — gated by D12, P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 75% | Adequate — gated by D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 76 check(s) not relevant to this codebase
- AC1 Text alternatives — Frontend below the scale floor (11 DOM element(s) < 25) — too little surface to assess accessibility.
- AC2 Forms & labels — Frontend below the scale floor (11 DOM element(s) < 25) — too little surface to assess accessibility.
- AC3 Page structure — Frontend below the scale floor (11 DOM element(s) < 25) — too little surface to assess accessibility.
- AC4 Keyboard semantics — Frontend below the scale floor (11 DOM element(s) < 25) — too little surface to assess accessibility.
- AC5 ARIA correctness — Frontend below the scale floor (11 DOM element(s) < 25) — too little surface to assess accessibility.
- AC6 Visual & motion safety — Frontend below the scale floor (11 DOM element(s) < 25) — too little surface to assess accessibility.
- AC7 A11y enforcement — Frontend below the scale floor (11 DOM element(s) < 25) — too little surface to assess accessibility.
- AX1 Captive dependencies — Not applicable: this repository's F# imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's JavaScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: Its F# is compiled by Fable to JavaScript, which runs on one event loop, so no two requests write a shared object at the same instant. TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~8062 lines of test source are present (.fs, .ts) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — No tests discovered
- D16 Bus Factor — dormant codebase — no living knowledge left to concentrate
- D17 Explicit Debt — the C# workspace loaded 0 projects, so explicit-debt density could not be measured
- D18 Solution Shape — D18 scores the shape of a C#/VB .NET solution; this repository's .NET projects are all F# (.fsproj), which the C#/VB workspace does not load, so the dimension does not apply.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, 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 — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- 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). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- 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.
- 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.
- D6 Cohesion (LCOM4) — No production classes were analyzable, so cohesion (LCOM4) was not measured (the solution likely failed to load or has no production code).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: the .NET half could not be measured — the repository wires up no coverage collector for `--collect:"XPlat Code Coverage"` to use; the JavaScript/TypeScript half could not be measured — the repository root runs mocha but declares no coverage provider, so the suite can run and still produce no lcov — add `c8` (or `nyc`) as a devDependency so the suite can be wrapped for coverage. This repository's production source spans both ecosystems, and no partial figure is published as if it were the whole: 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.
- D9 Test Distribution — Test source is present (.fs, .ts) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- DM1 Domain Modelling — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 33 value object(s); 2 domain event(s); its domain events are published by services or handlers — no domain entity raises one
- 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
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not measured — the application kind could not be determined for this repo
- 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 (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) 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 a BenchmarkDotNet reference in an .fsproj or .vbproj, 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: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's F# code has 33,956 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 23 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Orphaned knowledge web-app/Samples.fs:1
- Orphaned knowledge src/TypeScript.fs:1
- Orphaned knowledge web-app/Monaco.fs:1
- Orphaned knowledge src/transform.fs:1
- Orphaned knowledge src/read.fs:1
- Orphaned knowledge src/print.fs:1
- Orphaned knowledge src/transformComments.fs:1
- Vulnerable: Microsoft.Build.Tasks.Core
- Vulnerable: NuGet.Packaging
- Vulnerable: System.Formats.Asn1
- Vulnerable: System.Text.Json
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 54 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Deprecated: @babel/plugin-proposal-class-properties package.json:39
- Deprecated: @babel/polyfill package.json:41
- Deprecated: bulma-tooltip package.json:51
- Deprecated: reactxp test-compile/package.json:17
- Deprecated: vscode test-compile/package.json:21
- FileTooLong: src/TypeScript.fs src/TypeScript.fs
- FileTooLong: src/transform.fs src/transform.fs
- FileTooLong: web-app/Monaco.fs web-app/Monaco.fs
- FileTooLong: src/print.fs src/print.fs
- FileTooLong: src/transformComments.fs src/transformComments.fs
- Duplicated block (6 lines × 2) src/TypeScript.fs:5116
- Duplicated block (6 lines × 2) src/TypeScript.fs:5159
- Duplicated block (6 lines × 2) web-app/Monaco.fs:727
- Duplicated block (6 lines × 2) src/naming.fs:55
- Duplicated block (7 lines × 2) src/TypeScript.fs:5205
- Duplicated block (7 lines × 2) src/transform.fs:558
- Transform.extractTypeLiterals (cyclomatic 40) src/transform.fs:1328
- Transform.getDiscriminatedFromUnion (cyclomatic 40) src/transform.fs:1683
- Print.printModule (cyclomatic 34) src/print.fs:631
- TransformComments.transformTags (cyclomatic 30) src/transformComments.fs:381
- Transform.createIExportsModule (cyclomatic 28) src/transform.fs:259
- Print.printType (cyclomatic 23) src/print.fs:4
- Print.printComments (cyclomatic 22) src/print.fs:332
- Print.printEnum (cyclomatic 17) src/print.fs:480
- Prerelease dependency: Fake.Core.BuildServer
- Transform.extractTypeLiterals (cognitive 76) src/transform.fs:1328
- Print.printModule (cognitive 61) src/print.fs:631
- Transform.createIExportsModule (cognitive 57) src/transform.fs:259
- Transform.getDiscriminatedFromUnion (cognitive 56) src/transform.fs:1683
- Print.printEnum (cognitive 45) src/print.fs:480
- TransformComments.transformTags (cognitive 33) src/transformComments.fs:381
- Print.printDU (cognitive 27) src/print.fs:580
- TransformComments.extractTypeParamFromParam (cognitive 23) src/transformComments.fs:667
- Transform.addConstructors (cognitive 22) src/transform.fs:1163
- Print.printType (cognitive 20) src/print.fs:4
- Transform.extractGenericParameterDefaults (cognitive 19) src/transform.fs:2161
- Print.printAttributes (cognitive 19) src/print.fs:395
- Transform.aliasToInterfacePartly (cognitive 18) src/transform.fs:1894
- Transform.mergeReadAndWriteProperties (cognitive 17) src/transform.fs:2467
- Duplicated block (13 lines × 2) src/read.fs:670
- Duplicated block (11 lines × 3) src/read.fs:707
- Duplicated block (9 lines × 2) src/TypeScript.fs:5124
- Duplicated block (5 lines × 3) src/TypeScript.fs:5127
- End-of-life runtime: .NET net7.0 web-app/ts2fable-web-app.fsproj:4
- Coverage not measured — .NET and JavaScript/TypeScript suite
- No structured logging
Minor — 42 finding(s)
- Outdated: FSharp.Core
- Outdated: Microsoft.Win32.SystemEvents
- Outdated: Octokit
- Outdated: System.CodeDom
- Outdated: System.Collections.Immutable
- Outdated: System.Configuration.ConfigurationManager
- Outdated: System.Diagnostics.EventLog
- Outdated: System.Drawing.Common
- Outdated: System.Formats.Asn1
- Outdated: System.Reflection.Metadata
- Outdated: System.Reflection.MetadataLoadContext
- Outdated: System.Resources.Extensions
- Outdated: System.Security.Cryptography.Pkcs
- Outdated: System.Security.Cryptography.ProtectedData
- Outdated: System.Security.Cryptography.Xml
- Outdated: System.Security.Permissions
- Outdated: System.Text.Encoding.CodePages
- Outdated: System.Text.Encodings.Web
- Outdated: System.Text.Json
- Outdated: System.Threading.Tasks.Dataflow
- Outdated: System.Windows.Extensions
- Deprecated: core-js REDACTED:3505
- Deprecated: glob REDACTED:4507
- Deprecated: inflight REDACTED:4962
- Deprecated: uuid REDACTED:7790
- Deprecated: mkdirp test-compile/REDACTED:1045
- Orphaned file src/syntax.fs:1
- Orphaned file src/naming.fs:1
- Orphaned file src/bridge.fs:1
- Orphaned file src/node/write.fs:1
- README/code drift README.md:49
- README/code drift README.md:50
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- Further orphaned files (smaller)
- REDACTED
- IL efficiency: 13 authored method(s) exceed the IL budget src/print.fs:632
- No ADRs
- No architecture diagram/doc
- No SAST
- No changelog
Minor — 38 finding(s)
- Outdated: Fable.Core
- Outdated: Fable.Node
- Outdated: Fake.Api.GitHub
- Outdated: Fake.Core.CommandLineParsing
- Outdated: Fake.Core.Context
- Outdated: Fake.Core.Environment
- Outdated: Fake.Core.FakeVar
- Outdated: Fake.Core.Process
- Outdated: Fake.Core.SemVer
- Outdated: Fake.Core.String
- Outdated: Fake.Core.Target
- Outdated: Fake.Core.Tasks
- Outdated: Fake.Core.Trace
- Outdated: Fake.Core.Xml
- Outdated: Fake.DotNet.Cli
- Outdated: Fake.DotNet.MSBuild
- Outdated: Fake.DotNet.NuGet
- Outdated: Fake.IO.FileSystem
- Outdated: Fake.Net.Http
- Outdated: Fake.Tools.Git
- Outdated: Fake.Windows.Chocolatey
- Outdated: FSharp.Control.Reactive
- Outdated: Microsoft.Build
- Outdated: Microsoft.Build.Framework
- Outdated: Microsoft.Build.Tasks.Core
- Outdated (npm): typescript
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-5b00a3f5df544fa88bc4ca954e3872b6/history.json --exit-code 0 --source . | 0 | 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-5b00a3f5df544fa88bc4ca954e3872b6/tree.json --exit-code 0 --source . | 0 | 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 . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | nuget | — | nuget: not applicable — nuget: `dotnet list package --vulnerable` could not read this solution's dependency graph — it reported an error for at least one project and returned no package data at all (typically a packages.config / non-PackageReference project, which the command cannot read). An unreadable dependency graph is not a clean one; migrate the project(s) to PackageReference to enable this scan | 0 | — |
| 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 | 20 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |