Executive summary
This system is a medium-sized asset with a fragile operational foundation, scoring a weak 38% overall. While the code itself is reasonably healthy and secure, the lack of production readiness creates significant risk for delivery speed and reliability. The business value tied up here is modest, requiring only about 0.2 person-years to rebuild, yet the current state exposes the organization to unnecessary defects and deployment delays.
The primary risk lies in operational fragility. With a readiness score of just 18%, the system lacks the safety nets needed for stable operation. This means changes are likely to introduce hidden defects, and outages may go undetected until they impact users. The absence of automated testing in the delivery pipeline amplifies this, as there is no automated guardrail to catch regressions before they reach production. This directly threatens release velocity and increases the cost of fixing bugs after deployment.
A secondary concern is limited team maturity. The low maturity score suggests that new engineers will struggle to understand the system or pick up work efficiently. Without clear documentation or established patterns, onboarding takes longer and knowledge remains siloed. This slows down feature development and increases the risk of errors during maintenance. While the code structure is sound, the lack of institutional knowledge makes the system harder to sustain over time.
On the positive side, the code quality is solid, and security posture is strong, with no confirmed leaks or vulnerabilities. The architecture is coherent, and the domain logic is well-defined. These strengths provide a stable base for improvement, meaning remediation efforts will yield quick wins without needing a full rewrite.
The highest-leverage action is to implement a continuous integration workflow that builds and runs tests on every change. This single step addresses the most critical gap in readiness, providing immediate protection against regressions and enabling faster, safer releases. It is the foundational step that makes all other improvements more effective. Until this is in place, other efforts may be undermined by undetected defects. The picture is partial, as several areas like performance and event-driven design were not measured, but the current risks are clear and actionable.
Raise Readiness 18 → 70 (the Healthy floor) ⇒ headline 38 → ~55.
New since the last scan (2+)
Rebuild cost & value ~ Modeled — €8,300–€42,000
| Cost to rebuild | €8,300–€42,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.7× (at 38% quality) |
| Size & shape | Medium · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.2 person-years of build effort (about ~€25,000 to rebuild). Its weakest lens is Readiness at 18% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
Architecture — module dependency matrix
| depends on → | 1 Abbrev.Async | 2 Abbrev.HashSet | 3 Abbrev.Queue | 4 AppendList | 5 Html.Elt | 6 Templating.Impl.XmlDoc.Type | 7 Extensions | 8 Templating.AST | 9 Templating.OldProvider.Utils | 10 WebSharper.UI | 11 Client.Attrs | 12 Client.Templates.Prepare | 13 DomUtility | 14 Client.Attr | 15 Client.Helpers | 16 Client.Html | 17 Client.Html.on | 18 Client.HtmlExtensions | 19 FlowRouting | 20 Input | 21 Route | 22 Router | 23 Server | 24 Server.Internal | 25 Snap | 26 TemplateHole | 27 Templating.Parsing.Impl | 28 Templating.Runtime.Server | 29 Client | 30 Templating | 31 Templating.Runtime.Client | 32 Templating.Runtime.Server.ProviderBuilder | 33 Client.Doc | 34 Client.Doc.InputType | 35 Client.Docs | 36 Client.Elt | 37 Client.Elt.InputType | 38 Templating.Parsing | 39 CSharp.Templating.CodeGenerator | 40 Templating.Impl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Abbrev.Async | ||||||||||||||||||||||||||||||||||||||||
| 2 Abbrev.HashSet | ||||||||||||||||||||||||||||||||||||||||
| 3 Abbrev.Queue | ||||||||||||||||||||||||||||||||||||||||
| 4 AppendList | ||||||||||||||||||||||||||||||||||||||||
| 5 Html.Elt | ||||||||||||||||||||||||||||||||||||||||
| 6 Templating.Impl.XmlDoc.Type | ||||||||||||||||||||||||||||||||||||||||
| 7 Extensions | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 Templating.AST | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 9 Templating.OldProvider.Utils | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 WebSharper.UI | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 11 Client.Attrs | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 12 Client.Templates.Prepare | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 13 DomUtility | 2 | |||||||||||||||||||||||||||||||||||||||
| 14 Client.Attr | 2 | |||||||||||||||||||||||||||||||||||||||
| 15 Client.Helpers | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Client.Html | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 Client.Html.on | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Client.HtmlExtensions | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 FlowRouting | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Input | 3 | |||||||||||||||||||||||||||||||||||||||
| 21 Route | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 Router | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 Server | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 Server.Internal | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 Snap | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 TemplateHole | 1 | 13 | ||||||||||||||||||||||||||||||||||||||
| 27 Templating.Parsing.Impl | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 Templating.Runtime.Server | 1 | 5 | ||||||||||||||||||||||||||||||||||||||
| 29 Client | 1 | 3 | 2 | 1 | 10 | 1 | 2 | |||||||||||||||||||||||||||||||||
| 30 Templating | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 Templating.Runtime.Client | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 Templating.Runtime.Server.ProviderBuilder | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 Client.Doc | 1 | 1 | 1 | 4 | 1 | |||||||||||||||||||||||||||||||||||
| 34 Client.Doc.InputType | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 35 Client.Docs | 1 | 2 | 3 | |||||||||||||||||||||||||||||||||||||
| 36 Client.Elt | 1 | |||||||||||||||||||||||||||||||||||||||
| 37 Client.Elt.InputType | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 Templating.Parsing | 4 | |||||||||||||||||||||||||||||||||||||||
| 39 CSharp.Templating.CodeGenerator | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 Templating.Impl | 1 | 2 | 1 | 1 | 1 |
7→1 Extensions depends on Abbrev.Async✕
- Type pairs
- 1 distinct (type in Extensions → type in Abbrev.Async) reference.
- Which types
WebSharper.UI.Extensions.AsyncBuilder→WebSharper.UI.Abbrev.Async.Async
- Direction
- Extensions uses Abbrev.Async. Changing Abbrev.Async can break Extensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→2 Templating.AST depends on Abbrev.HashSet✕
- Type pairs
- 1 distinct (type in Templating.AST → type in Abbrev.HashSet) reference.
- Which types
WebSharper.UI.Templating.AST.Template→WebSharper.UI.Abbrev.HashSet.HashSet
- Direction
- Templating.AST uses Abbrev.HashSet. Changing Abbrev.HashSet can break Templating.AST, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→10 Templating.AST depends on WebSharper.UI cycle✕
- Type pairs
- 3 distinct (type in Templating.AST → type in WebSharper.UI) references.
- Which types
WebSharper.UI.Templating.AST.Attr→WebSharper.UI.HoleNameWebSharper.UI.Templating.AST.Node→WebSharper.UI.HoleNameWebSharper.UI.Templating.AST.StringPart→WebSharper.UI.HoleName
- Direction
- Templating.AST uses WebSharper.UI. Changing WebSharper.UI can break Templating.AST, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
9→6 Templating.OldProvider.Utils depends on Templating.Impl.XmlDoc.Type✕
- Type pairs
- 1 distinct (type in Templating.OldProvider.Utils → type in Templating.Impl.XmlDoc.Type) reference.
- Which types
WebSharper.UI.Templating.OldProvider.Utils.Hole→WebSharper.UI.Templating.Impl.XmlDoc.Type.Type
- Direction
- Templating.OldProvider.Utils uses Templating.Impl.XmlDoc.Type. Changing Templating.Impl.XmlDoc.Type can break Templating.OldProvider.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→1 WebSharper.UI depends on Abbrev.Async✕
- Type pairs
- 1 distinct (type in WebSharper.UI → type in Abbrev.Async) reference.
- Which types
WebSharper.UI.VarExteions→WebSharper.UI.Abbrev.Async.Async
- Direction
- WebSharper.UI uses Abbrev.Async. Changing Abbrev.Async can break WebSharper.UI, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→3 WebSharper.UI depends on Abbrev.Queue✕
- Type pairs
- 1 distinct (type in WebSharper.UI → type in Abbrev.Queue) reference.
- Which types
WebSharper.UI.SnapState→WebSharper.UI.Abbrev.Queue.Queue
- Direction
- WebSharper.UI uses Abbrev.Queue. Changing Abbrev.Queue can break WebSharper.UI, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→8 WebSharper.UI depends on Templating.AST✕
- Type pairs
- 1 distinct (type in WebSharper.UI → type in Templating.AST) reference.
- Which types
WebSharper.UI.Doc→WebSharper.UI.Templating.AST.SpecialHole
- Direction
- WebSharper.UI uses Templating.AST. Changing Templating.AST can break WebSharper.UI, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→8 Client.Attrs depends on Templating.AST✕
- Type pairs
- 1 distinct (type in Client.Attrs → type in Templating.AST) reference.
- Which types
WebSharper.UI.Client.Attrs.Attrs→WebSharper.UI.Templating.AST.Attr
- Direction
- Client.Attrs uses Templating.AST. Changing Templating.AST can break Client.Attrs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→29 Client.Attrs depends on Client cycle✕
- Type pairs
- 4 distinct (type in Client.Attrs → type in Client) references.
- Which types
WebSharper.UI.Client.Attrs.Attrs→WebSharper.UI.Client.AttrFlagsWebSharper.UI.Client.Attrs.Attrs→WebSharper.UI.Client.AttrProxyWebSharper.UI.Client.Attrs.Dyn→WebSharper.UI.Client.AttrFlagsWebSharper.UI.Client.Attrs.Dyn→WebSharper.UI.Client.IAttrNode
- Direction
- Client.Attrs uses Client. Changing Client can break Client.Attrs, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
12→2 Client.Templates.Prepare depends on Abbrev.HashSet✕
- Type pairs
- 1 distinct (type in Client.Templates.Prepare → type in Abbrev.HashSet) reference.
- Which types
WebSharper.UI.Client.Templates.Prepare.Prepare→WebSharper.UI.Abbrev.HashSet.HashSet
- Direction
- Client.Templates.Prepare uses Abbrev.HashSet. Changing Abbrev.HashSet can break Client.Templates.Prepare, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→8 Client.Templates.Prepare depends on Templating.AST✕
- Type pairs
- 1 distinct (type in Client.Templates.Prepare → type in Templating.AST) reference.
- Which types
WebSharper.UI.Client.Templates.Prepare.Prepare→WebSharper.UI.Templating.AST.Node
- Direction
- Client.Templates.Prepare uses Templating.AST. Changing Templating.AST can break Client.Templates.Prepare, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→8 DomUtility depends on Templating.AST✕
- Type pairs
- 2 distinct (type in DomUtility → type in Templating.AST) references.
- Which types
WebSharper.UI.DomUtility.DomUtility→WebSharper.UI.Templating.AST.NodeWebSharper.UI.DomUtility.InsertPos→WebSharper.UI.Templating.AST.Node
- Direction
- DomUtility uses Templating.AST. Changing Templating.AST can break DomUtility, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→10 Client.Attr depends on WebSharper.UI✕
- Type pairs
- 2 distinct (type in Client.Attr → type in WebSharper.UI) references.
- Which types
WebSharper.UI.Client.Attr.Attr→WebSharper.UI.VarWebSharper.UI.Client.Attr.Attr→WebSharper.UI.View
- Direction
- Client.Attr uses WebSharper.UI. Changing WebSharper.UI can break Client.Attr, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→10 Client.Helpers depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Client.Helpers → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Client.Helpers.Helpers→WebSharper.UI.Var
- Direction
- Client.Helpers uses WebSharper.UI. Changing WebSharper.UI can break Client.Helpers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→1 Client.Html depends on Abbrev.Async✕
- Type pairs
- 1 distinct (type in Client.Html → type in Abbrev.Async) reference.
- Which types
WebSharper.UI.Client.Html.Html→WebSharper.UI.Abbrev.Async.Async
- Direction
- Client.Html uses Abbrev.Async. Changing Abbrev.Async can break Client.Html, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→10 Client.Html depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Client.Html → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Client.Html.Html→WebSharper.UI.View
- Direction
- Client.Html uses WebSharper.UI. Changing WebSharper.UI can break Client.Html, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→10 Client.Html.on depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Client.Html.on → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Client.Html.on.on→WebSharper.UI.View
- Direction
- Client.Html.on uses WebSharper.UI. Changing WebSharper.UI can break Client.Html.on, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→10 Client.HtmlExtensions depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Client.HtmlExtensions → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Client.HtmlExtensions.on→WebSharper.UI.View
- Direction
- Client.HtmlExtensions uses WebSharper.UI. Changing WebSharper.UI can break Client.HtmlExtensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→10 FlowRouting depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in FlowRouting → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.FlowRouting.FlowRouting→WebSharper.UI.NavigateFlow
- Direction
- FlowRouting uses WebSharper.UI. Changing WebSharper.UI can break FlowRouting, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→10 Input depends on WebSharper.UI✕
- Type pairs
- 3 distinct (type in Input → type in WebSharper.UI) references.
- Which types
WebSharper.UI.Input.KeyListenerSt→WebSharper.UI.VarWebSharper.UI.Input.MouseBtnSt→WebSharper.UI.VarWebSharper.UI.Input.MousePosSt→WebSharper.UI.Var
- Direction
- Input uses WebSharper.UI. Changing WebSharper.UI can break Input, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→10 Route depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Route → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Route.T→WebSharper.UI.AppendList
- Direction
- Route uses WebSharper.UI. Changing WebSharper.UI can break Route, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→10 Router depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Router → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Router.Router→WebSharper.UI.Var
- Direction
- Router uses WebSharper.UI. Changing WebSharper.UI can break Router, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→1 Server depends on Abbrev.Async✕
- Type pairs
- 1 distinct (type in Server → type in Abbrev.Async) reference.
- Which types
WebSharper.UI.Server.Content→WebSharper.UI.Abbrev.Async.Async
- Direction
- Server uses Abbrev.Async. Changing Abbrev.Async can break Server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→10 Server depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Server → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Server.Content→WebSharper.UI.Doc
- Direction
- Server uses WebSharper.UI. Changing WebSharper.UI can break Server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→5 Server.Internal depends on Html.Elt✕
- Type pairs
- 1 distinct (type in Server.Internal → type in Html.Elt) reference.
- Which types
WebSharper.UI.Server.Internal.TemplateElt→WebSharper.UI.Html.Elt.Elt
- Direction
- Server.Internal uses Html.Elt. Changing Html.Elt can break Server.Internal, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→10 Server.Internal depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Server.Internal → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Server.Internal.TemplateDoc→WebSharper.UI.Doc
- Direction
- Server.Internal uses WebSharper.UI. Changing WebSharper.UI can break Server.Internal, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→3 Snap depends on Abbrev.Queue✕
- Type pairs
- 1 distinct (type in Snap → type in Abbrev.Queue) reference.
- Which types
WebSharper.UI.Snap.Snap→WebSharper.UI.Abbrev.Queue.Queue
- Direction
- Snap uses Abbrev.Queue. Changing Abbrev.Queue can break Snap, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→10 Snap depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Snap → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Snap.Snap→WebSharper.UI.ISnap
- Direction
- Snap uses WebSharper.UI. Changing WebSharper.UI can break Snap, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→8 TemplateHole depends on Templating.AST✕
- Type pairs
- 1 distinct (type in TemplateHole → type in Templating.AST) reference.
- Which types
WebSharper.UI.TemplateHole.Attribute→WebSharper.UI.Templating.AST.Attr
- Direction
- TemplateHole uses Templating.AST. Changing Templating.AST can break TemplateHole, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→10 TemplateHole depends on WebSharper.UI✕
- Type pairs
- 13 distinct (type in TemplateHole → type in WebSharper.UI) references.
- Which types
WebSharper.UI.TemplateHole.Elt→WebSharper.UI.DocWebSharper.UI.TemplateHole.TemplateHole→WebSharper.UI.VarWebSharper.UI.TemplateHole.TextView→WebSharper.UI.ViewWebSharper.UI.TemplateHole.VarBool→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarDateTime→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarDomElement→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarFile→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarFloat→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarFloatUnchecked→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarInt→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarIntUnchecked→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarStr→WebSharper.UI.VarWebSharper.UI.TemplateHole.VarStrList→WebSharper.UI.Var
- Direction
- TemplateHole uses WebSharper.UI. Changing WebSharper.UI can break TemplateHole, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→2 Templating.Parsing.Impl depends on Abbrev.HashSet✕
- Type pairs
- 1 distinct (type in Templating.Parsing.Impl → type in Abbrev.HashSet) reference.
- Which types
WebSharper.UI.Templating.Parsing.Impl.ParseState→WebSharper.UI.Abbrev.HashSet.HashSet
- Direction
- Templating.Parsing.Impl uses Abbrev.HashSet. Changing Abbrev.HashSet can break Templating.Parsing.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→8 Templating.Parsing.Impl depends on Templating.AST✕
- Type pairs
- 2 distinct (type in Templating.Parsing.Impl → type in Templating.AST) references.
- Which types
WebSharper.UI.Templating.Parsing.Impl.Impl→WebSharper.UI.Templating.AST.HoleDefinitionWebSharper.UI.Templating.Parsing.Impl.ParseState→WebSharper.UI.Templating.AST.SpecialHole
- Direction
- Templating.Parsing.Impl uses Templating.AST. Changing Templating.AST can break Templating.Parsing.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→10 Templating.Parsing.Impl depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Templating.Parsing.Impl → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Templating.Parsing.Impl.Impl→WebSharper.UI.HoleName
- Direction
- Templating.Parsing.Impl uses WebSharper.UI. Changing WebSharper.UI can break Templating.Parsing.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→8 Templating.Runtime.Server depends on Templating.AST✕
- Type pairs
- 1 distinct (type in Templating.Runtime.Server → type in Templating.AST) reference.
- Which types
WebSharper.UI.Templating.Runtime.Server.Runtime→WebSharper.UI.Templating.AST.Template
- Direction
- Templating.Runtime.Server uses Templating.AST. Changing Templating.AST can break Templating.Runtime.Server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→10 Templating.Runtime.Server depends on WebSharper.UI✕
- Type pairs
- 5 distinct (type in Templating.Runtime.Server → type in WebSharper.UI) references.
- Which types
WebSharper.UI.Templating.Runtime.Server.Handler→WebSharper.UI.TemplateHoleWebSharper.UI.Templating.Runtime.Server.Runtime→WebSharper.UI.DocWebSharper.UI.Templating.Runtime.Server.TemplateInitializer→WebSharper.UI.TemplateHoleWebSharper.UI.Templating.Runtime.Server.TemplateInstance→WebSharper.UI.DocWebSharper.UI.Templating.Runtime.Server.TemplateInstance→WebSharper.UI.TemplateHole
- Direction
- Templating.Runtime.Server uses WebSharper.UI. Changing WebSharper.UI can break Templating.Runtime.Server, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→1 Client depends on Abbrev.Async✕
- Type pairs
- 1 distinct (type in Client → type in Abbrev.Async) reference.
- Which types
WebSharper.UI.Client.Doc'→WebSharper.UI.Abbrev.Async.Async
- Direction
- Client uses Abbrev.Async. Changing Abbrev.Async can break Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→5 Client depends on Html.Elt✕
- Type pairs
- 3 distinct (type in Client → type in Html.Elt) references.
- Which types
WebSharper.UI.Client.Doc'→WebSharper.UI.Html.Elt.EltWebSharper.UI.Client.DocExtensions→WebSharper.UI.Html.Elt.EltWebSharper.UI.Client.EltUpdater→WebSharper.UI.Html.Elt.Elt
- Direction
- Client uses Html.Elt. Changing Html.Elt can break Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→6 Client depends on Templating.Impl.XmlDoc.Type✕
- Type pairs
- 2 distinct (type in Client → type in Templating.Impl.XmlDoc.Type) references.
- Which types
WebSharper.UI.Client.MetaRootShape→WebSharper.UI.Templating.Impl.XmlDoc.Type.TypeWebSharper.UI.Client.RouteMapBuilderMacro→WebSharper.UI.Templating.Impl.XmlDoc.Type.Type
- Direction
- Client uses Templating.Impl.XmlDoc.Type. Changing Templating.Impl.XmlDoc.Type can break Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→8 Client depends on Templating.AST✕
- Type pairs
- 1 distinct (type in Client → type in Templating.AST) reference.
- Which types
WebSharper.UI.Client.Doc'→WebSharper.UI.Templating.AST.Node
- Direction
- Client uses Templating.AST. Changing Templating.AST can break Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→10 Client depends on WebSharper.UI✕
- Type pairs
- 10 distinct (type in Client → type in WebSharper.UI) references.
- Which types
WebSharper.UI.Client.AnimatedAttrNode→WebSharper.UI.TransWebSharper.UI.Client.AnimatedAttrNode→WebSharper.UI.ViewWebSharper.UI.Client.Doc'→WebSharper.UI.VarWebSharper.UI.Client.Doc'→WebSharper.UI.ViewWebSharper.UI.Client.DynamicAttrNode→WebSharper.UI.ViewWebSharper.UI.Client.Elt'→WebSharper.UI.UpdatesWebSharper.UI.Client.EltUpdater'→WebSharper.UI.UpdatesWebSharper.UI.Client.EltUpdater'→WebSharper.UI.VarWebSharper.UI.Client.IAttrNode→WebSharper.UI.AnimWebSharper.UI.Client.IAttrNode→WebSharper.UI.View
- Direction
- Client uses WebSharper.UI. Changing WebSharper.UI can break Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→11 Client depends on Client.Attrs✕
- Type pairs
- 1 distinct (type in Client → type in Client.Attrs) reference.
- Which types
WebSharper.UI.Client.DocElemNode→WebSharper.UI.Client.Attrs.Dyn
- Direction
- Client uses Client.Attrs. Changing Client.Attrs can break Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→26 Client depends on TemplateHole✕
- Type pairs
- 2 distinct (type in Client → type in TemplateHole) references.
- Which types
WebSharper.UI.Client.DocNode→WebSharper.UI.TemplateHole.TextWebSharper.UI.Client.DocTextNode→WebSharper.UI.TemplateHole.Text
- Direction
- Client uses TemplateHole. Changing TemplateHole can break Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→28 Templating depends on Templating.Runtime.Server✕
- Type pairs
- 1 distinct (type in Templating → type in Templating.Runtime.Server) reference.
- Which types
WebSharper.UI.Templating.DynamicTemplate→WebSharper.UI.Templating.Runtime.Server.ProviderBuilder
- Direction
- Templating uses Templating.Runtime.Server. Changing Templating.Runtime.Server can break Templating, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→10 Templating.Runtime.Client depends on WebSharper.UI✕
- Type pairs
- 3 distinct (type in Templating.Runtime.Client → type in WebSharper.UI) references.
- Which types
WebSharper.UI.Templating.Runtime.Client.HandlerProxy→WebSharper.UI.TemplateHoleWebSharper.UI.Templating.Runtime.Client.RuntimeProxy→WebSharper.UI.DocWebSharper.UI.Templating.Runtime.Client.TemplateInstanceProxy→WebSharper.UI.Doc
- Direction
- Templating.Runtime.Client uses WebSharper.UI. Changing WebSharper.UI can break Templating.Runtime.Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→28 Templating.Runtime.Client depends on Templating.Runtime.Server✕
- Type pairs
- 1 distinct (type in Templating.Runtime.Client → type in Templating.Runtime.Server) reference.
- Which types
WebSharper.UI.Templating.Runtime.Client.TemplateInstanceProxy→WebSharper.UI.Templating.Runtime.Server.CompletedHoles
- Direction
- Templating.Runtime.Client uses Templating.Runtime.Server. Changing Templating.Runtime.Server can break Templating.Runtime.Client, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→10 Templating.Runtime.Server.ProviderBuilder depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Templating.Runtime.Server.ProviderBuilder → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Templating.Runtime.Server.ProviderBuilder.ProviderBuilder→WebSharper.UI.Doc
- Direction
- Templating.Runtime.Server.ProviderBuilder uses WebSharper.UI. Changing WebSharper.UI can break Templating.Runtime.Server.ProviderBuilder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→28 Templating.Runtime.Server.ProviderBuilder depends on Templating.Runtime.Server✕
- Type pairs
- 1 distinct (type in Templating.Runtime.Server.ProviderBuilder → type in Templating.Runtime.Server) reference.
- Which types
WebSharper.UI.Templating.Runtime.Server.ProviderBuilder.ProviderBuilder→WebSharper.UI.Templating.Runtime.Server.TemplateInstance
- Direction
- Templating.Runtime.Server.ProviderBuilder uses Templating.Runtime.Server. Changing Templating.Runtime.Server can break Templating.Runtime.Server.ProviderBuilder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→1 Client.Doc depends on Abbrev.Async✕
- Type pairs
- 1 distinct (type in Client.Doc → type in Abbrev.Async) reference.
- Which types
WebSharper.UI.Client.Doc.Doc→WebSharper.UI.Abbrev.Async.Async
- Direction
- Client.Doc uses Abbrev.Async. Changing Abbrev.Async can break Client.Doc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→5 Client.Doc depends on Html.Elt✕
- Type pairs
- 1 distinct (type in Client.Doc → type in Html.Elt) reference.
- Which types
WebSharper.UI.Client.Doc.Doc→WebSharper.UI.Html.Elt.Elt
- Direction
- Client.Doc uses Html.Elt. Changing Html.Elt can break Client.Doc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→8 Client.Doc depends on Templating.AST✕
- Type pairs
- 1 distinct (type in Client.Doc → type in Templating.AST) reference.
- Which types
WebSharper.UI.Client.Doc.Doc→WebSharper.UI.Templating.AST.Node
- Direction
- Client.Doc uses Templating.AST. Changing Templating.AST can break Client.Doc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→10 Client.Doc depends on WebSharper.UI✕
- Type pairs
- 4 distinct (type in Client.Doc → type in WebSharper.UI) references.
- Which types
WebSharper.UI.Client.Doc.Doc→WebSharper.UI.ListModelWebSharper.UI.Client.Doc.Doc→WebSharper.UI.TemplateHoleWebSharper.UI.Client.Doc.Doc→WebSharper.UI.VarWebSharper.UI.Client.Doc.Doc→WebSharper.UI.View
- Direction
- Client.Doc uses WebSharper.UI. Changing WebSharper.UI can break Client.Doc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→29 Client.Doc depends on Client✕
- Type pairs
- 1 distinct (type in Client.Doc → type in Client) reference.
- Which types
WebSharper.UI.Client.Doc.Doc→WebSharper.UI.Client.CheckedInput
- Direction
- Client.Doc uses Client. Changing Client can break Client.Doc, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→10 Client.Doc.InputType depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Client.Doc.InputType → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Client.Doc.InputType.InputType→WebSharper.UI.Doc
- Direction
- Client.Doc.InputType uses WebSharper.UI. Changing WebSharper.UI can break Client.Doc.InputType, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→29 Client.Doc.InputType depends on Client✕
- Type pairs
- 1 distinct (type in Client.Doc.InputType → type in Client) reference.
- Which types
WebSharper.UI.Client.Doc.InputType.InputType→WebSharper.UI.Client.CheckedInput
- Direction
- Client.Doc.InputType uses Client. Changing Client can break Client.Doc.InputType, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→2 Client.Docs depends on Abbrev.HashSet✕
- Type pairs
- 1 distinct (type in Client.Docs → type in Abbrev.HashSet) reference.
- Which types
WebSharper.UI.Client.Docs.NodeSet→WebSharper.UI.Abbrev.HashSet.HashSet
- Direction
- Client.Docs uses Abbrev.HashSet. Changing Abbrev.HashSet can break Client.Docs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→8 Client.Docs depends on Templating.AST✕
- Type pairs
- 2 distinct (type in Client.Docs → type in Templating.AST) references.
- Which types
WebSharper.UI.Client.Docs.Docs→WebSharper.UI.Templating.AST.NodeWebSharper.UI.Client.Docs.DomNodes→WebSharper.UI.Templating.AST.Node
- Direction
- Client.Docs uses Templating.AST. Changing Templating.AST can break Client.Docs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→29 Client.Docs depends on Client✕
- Type pairs
- 3 distinct (type in Client.Docs → type in Client) references.
- Which types
WebSharper.UI.Client.Docs.Docs→WebSharper.UI.Client.DocElemNodeWebSharper.UI.Client.Docs.Docs→WebSharper.UI.Client.DocNodeWebSharper.UI.Client.Docs.RunState→WebSharper.UI.Client.DocElemNode
- Direction
- Client.Docs uses Client. Changing Client can break Client.Docs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→29 Client.Elt depends on Client✕
- Type pairs
- 1 distinct (type in Client.Elt → type in Client) reference.
- Which types
WebSharper.UI.Client.Elt.Elt→WebSharper.UI.Client.CheckedInput
- Direction
- Client.Elt uses Client. Changing Client can break Client.Elt, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→5 Client.Elt.InputType depends on Html.Elt✕
- Type pairs
- 1 distinct (type in Client.Elt.InputType → type in Html.Elt) reference.
- Which types
WebSharper.UI.Client.Elt.InputType.InputType→WebSharper.UI.Html.Elt.Elt
- Direction
- Client.Elt.InputType uses Html.Elt. Changing Html.Elt can break Client.Elt.InputType, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→29 Client.Elt.InputType depends on Client✕
- Type pairs
- 1 distinct (type in Client.Elt.InputType → type in Client) reference.
- Which types
WebSharper.UI.Client.Elt.InputType.InputType→WebSharper.UI.Client.CheckedInput
- Direction
- Client.Elt.InputType uses Client. Changing Client can break Client.Elt.InputType, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→30 Templating.Parsing depends on Templating✕
- Type pairs
- 4 distinct (type in Templating.Parsing → type in Templating) references.
- Which types
WebSharper.UI.Templating.Parsing.ParseItem→WebSharper.UI.Templating.ClientLoadWebSharper.UI.Templating.Parsing.ParseItem→WebSharper.UI.Templating.ServerLoadWebSharper.UI.Templating.Parsing.Parsing→WebSharper.UI.Templating.ClientLoadWebSharper.UI.Templating.Parsing.Parsing→WebSharper.UI.Templating.ServerLoad
- Direction
- Templating.Parsing uses Templating. Changing Templating can break Templating.Parsing, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→8 CSharp.Templating.CodeGenerator depends on Templating.AST✕
- Type pairs
- 2 distinct (type in CSharp.Templating.CodeGenerator → type in Templating.AST) references.
- Which types
WebSharper.UI.CSharp.Templating.CodeGenerator.CodeGenerator→WebSharper.UI.Templating.AST.HoleDefinitionWebSharper.UI.CSharp.Templating.CodeGenerator.Ctx→WebSharper.UI.Templating.AST.Template
- Direction
- CSharp.Templating.CodeGenerator uses Templating.AST. Changing Templating.AST can break CSharp.Templating.CodeGenerator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→10 CSharp.Templating.CodeGenerator depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in CSharp.Templating.CodeGenerator → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.CSharp.Templating.CodeGenerator.CodeGenerator→WebSharper.UI.HoleName
- Direction
- CSharp.Templating.CodeGenerator uses WebSharper.UI. Changing WebSharper.UI can break CSharp.Templating.CodeGenerator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→30 CSharp.Templating.CodeGenerator depends on Templating✕
- Type pairs
- 1 distinct (type in CSharp.Templating.CodeGenerator → type in Templating) reference.
- Which types
WebSharper.UI.CSharp.Templating.CodeGenerator.Ctx→WebSharper.UI.Templating.ServerLoad
- Direction
- CSharp.Templating.CodeGenerator uses Templating. Changing Templating can break CSharp.Templating.CodeGenerator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→38 CSharp.Templating.CodeGenerator depends on Templating.Parsing✕
- Type pairs
- 1 distinct (type in CSharp.Templating.CodeGenerator → type in Templating.Parsing) reference.
- Which types
WebSharper.UI.CSharp.Templating.CodeGenerator.CodeGenerator→WebSharper.UI.Templating.Parsing.ParseItem
- Direction
- CSharp.Templating.CodeGenerator uses Templating.Parsing. Changing Templating.Parsing can break CSharp.Templating.CodeGenerator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→6 Templating.Impl depends on Templating.Impl.XmlDoc.Type✕
- Type pairs
- 1 distinct (type in Templating.Impl → type in Templating.Impl.XmlDoc.Type) reference.
- Which types
WebSharper.UI.Templating.Impl.Impl→WebSharper.UI.Templating.Impl.XmlDoc.Type.Type
- Direction
- Templating.Impl uses Templating.Impl.XmlDoc.Type. Changing Templating.Impl.XmlDoc.Type can break Templating.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→8 Templating.Impl depends on Templating.AST✕
- Type pairs
- 2 distinct (type in Templating.Impl → type in Templating.AST) references.
- Which types
WebSharper.UI.Templating.Impl.Ctx→WebSharper.UI.Templating.AST.TemplateWebSharper.UI.Templating.Impl.Impl→WebSharper.UI.Templating.AST.HoleDefinition
- Direction
- Templating.Impl uses Templating.AST. Changing Templating.AST can break Templating.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→10 Templating.Impl depends on WebSharper.UI✕
- Type pairs
- 1 distinct (type in Templating.Impl → type in WebSharper.UI) reference.
- Which types
WebSharper.UI.Templating.Impl.Impl→WebSharper.UI.HoleName
- Direction
- Templating.Impl uses WebSharper.UI. Changing WebSharper.UI can break Templating.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→30 Templating.Impl depends on Templating✕
- Type pairs
- 1 distinct (type in Templating.Impl → type in Templating) reference.
- Which types
WebSharper.UI.Templating.Impl.Ctx→WebSharper.UI.Templating.ServerLoad
- Direction
- Templating.Impl uses Templating. Changing Templating can break Templating.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→38 Templating.Impl depends on Templating.Parsing✕
- Type pairs
- 1 distinct (type in Templating.Impl → type in Templating.Parsing) reference.
- Which types
WebSharper.UI.Templating.Impl.Impl→WebSharper.UI.Templating.Parsing.ParseItem
- Direction
- Templating.Impl uses Templating.Parsing. Changing Templating.Parsing can break Templating.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2021 — Cryptographic Failures | 2 | High / Critical |
| A03:2021 — Injection | 2 | Medium |
Roadmap
First, establish a CI workflow to automatically build and test every change, and immediately resolve the detected secret leak in REDACTED. Next, maintain a changelog to track release history and expand the README with essential getting-started and architecture details. Finally, document significant architectural decisions in a structured, dated format to preserve context and consequences for future reference.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +17.1 pts | Low | Secret Scanning |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +19.5 pts | Medium | CI/CD gates |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +17.1 pts | Medium | Release Hygiene |
| Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with HTML.Client.fs (2), Doc.Client.fs. | +5.5 pts | Low | Knowledge Freshness |
| Expand the README with getting-started, architecture overview and a project map. | +7.4 pts | Medium | Documentation (README) |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +7.4 pts | Medium | Architecture documentation |
| Reconcile the README with reality: README claims WebSharper.UI is the new name of WebSharper.UI.Next; README claims a site repository at https://github.com/websharper-samples/ui but evidence shows only WebSharper.UI.CSharp.Templating.ServerSide.Tests and WebSharper.UI.CSharp.Tests repositories exist. | +5.4 pts | Medium | Documentation accuracy |
| Resolve the 1 Concentrated knowledge decay finding(s) in Knowledge Freshness. | +2.7 pts | Low | Knowledge Freshness |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 4.4 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| WebSharper.UI.CSharp.Tests/WebSharper.UI.CSharp.Tests.csproj | 6.4 | Mixed | Explicit Debt: NoWarnInCsproj |
| WebSharper.UI.CSharp.Templating.ServerSide.Tests/WebSharper.UI.CSharp.Templating.ServerSide.Tests.csproj | 6.4 | Mixed | Explicit Debt: NoWarnInCsproj |
| WebSharper.UI.Templating/OldMain.fs | 7.0 | Mixed | Code Duplication: Near-duplicate member pair (372 shared lines) |
| WebSharper.UI/Doc.Proxy.fs | 7.0 | Mixed | God Classes: TooManyMethods: Elt' |
| WebSharper.UI/Doc.Client.fs | 7.1 | Mixed | God Classes: TooManyFunctions: Doc |
| WebSharper.UI.CSharp/HTML.Client.fs | 7.1 | Mixed | God Classes: TooManyFunctions: attr |
| WebSharper.UI/Doc.fs | 7.2 | Mixed | God Classes: TooManyMethods: Elt |
| WebSharper.UI.Templating.Runtime/Runtime.fs | 7.2 | Mixed | God Classes: FileTooLong: WebSharper.UI.Templating.Runtime/Runtime.fs |
| WebSharper.UI/Macros.fs | 7.2 | Mixed | God Classes: TooManyFunctions: Macros |
| WebSharper.UI.CSharp.Tests/Client.cs | 7.3 | Mixed | Explicit Debt: TodoComment |
| WebSharper.UI/HTML.Client.fs | 7.4 | Mixed | God Classes: TooManyMethods: attr |
| WebSharper.UI/DocExtensions.fs | 7.4 | Mixed | God Classes: TooManyMethods: DocExtensions |
| WebSharper.UI.Templating/TemplatingProvider.fs | 7.4 | Mixed | God Classes: FileTooLong: WebSharper.UI.Templating/TemplatingProvider.fs |
| WebSharper.UI.CSharp/Doc.Client.fs | 7.8 | Mixed | God Classes: TooManyMethods: CSharpDocExtensions |
| WebSharper.UI/Reactive.fs | 7.8 | Mixed | God Classes: TooManyMethods: View |
| WebSharper.UI/Templates.fs | 7.8 | Mixed | God Classes: FileTooLong: WebSharper.UI/Templates.fs |
| WebSharper.UI/Attr.Client.fs | 7.8 | Mixed | God Classes: TooManyFunctions: Attr |
| WebSharper.UI/Models.fs | 7.8 | Mixed | God Classes: TooManyMethods: ListModel |
| WebSharper.UI/ReactiveExtensions.fs | 7.8 | Mixed | Code Duplication: Duplicated block (5 lines × 4) |
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. 23 of 27 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 27 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, 84 of 95 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D1 Cyclomatic Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.fs) had no cyclomatic complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D2 Cognitive Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.fs) had no cognitive complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D6 Cohesion (LCOM4) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- 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 MEASURED: the analyzer environment could not build/run the test suite (a target framework / SDK band or targeting pack the analyzer image doesn't carry), so no test ever ran. This is OUR limitation, not a defect in the repo — it is excluded from the score. We track the analyzer-image gap so it can be closed.
- D12 Dependency Hygiene — 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 repository's projects (.fs) are MSBuild/NuGet projects and their `<PackageReference>` dependencies are exactly what this dimension assesses — but `dotnet list package` returned no packages for them, so there was nothing to assess. Zero packages read is NOT a clean dependency tree, so this is NOT SCORED. This is a gap in the analysis run (restore or project-load failed for these projects), not a verdict about this repository.
- D14 License Compliance — 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. Not scored — this repository's projects are MSBuild/NuGet projects, whose package licenses are exactly what this dimension reads, but no license could be resolved for them (the .NET license collector did not run, or restore failed). A gap in the analysis run, NOT a finding that the repository's licenses are compliant.
- D15 Churn × Complexity Hotspots — 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. A hotspot is churn × complexity. Churn was measured (44 line(s) across the 90-day window), but no complexity could be computed for .fs, which is most of this repository's production code — so every churned file would score as complexity 0 and the hotspot list would be empty no matter how tangled the code is. Not scored — this is a gap in the analysis run, not a finding about this repository.
- D17 Explicit Debt — 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. The 6 deducted marker(s) and the 2.2/KLoC density on this row were taken over this repository's .NET projects ALONE: .fs (26,857 lines, 100% of production source) went unread, because every marker collector on this path is reached through a C# workspace. D17's marker collectors need a compiler we do not have for that language, so none of its nine marker kinds were read there. The debt in that source is UNMEASURED — its absence from the score above is a gap in this analyzer's language coverage, not a finding that the code carries none.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- 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.
- D39 IL Efficiency — 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. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and no container it models, or knows cannot hold a captive, was found in this repository's source, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX2 Stateful singletons — 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.
- 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.
- 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.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P2 Observability — 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. Observability was not assessed: this check recognises the logging, tracing/metrics and health-check idioms of .NET, the JVM, Go, Python, JavaScript/TypeScript, Rust, Ruby, PHP, Swift, Dart, Elixir and Erlang, and most of this repository's production source is in none of them. Absence of an idiom this check recognises is NOT evidence that this repo lacks structured logging. This is a gap in the analyzer, not a finding about this repository.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- PF2 Allocation hygiene — 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. Those languages have allocation-aware idioms of their own, but this check does not read them yet. That is a gap in this analyzer's language reach — not a finding that the code is careless with allocations.
- PF3 Async & latency hygiene — 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. No function of a language this check models was read, so there was no async code to examine. That is a limit of the analyzer on this repository, not a finding about it.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check 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.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check 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 WebSharper.UI/WebSharper.UI.fsproj, WebSharper.UI.Templating/WebSharper.UI.Templating.fsproj, WebSharper.UI.Templating.Tests/WebSharper.UI.Templating.Tests.fsproj, WebSharper.UI.CSharp/WebSharper.UI.CSharp.fsproj, WebSharper.UI.CSharp.Tests/WebSharper.UI.CSharp.Tests.csproj and 9 more, 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
- 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.
- 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").
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality 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.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- 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
D3 · God Classes
32 god class(es) detected.
What to do
- Resolve the 11 TooManyMethods finding(s) in God Classes — start with HTML.Client.fs (2), Doc.Proxy.fs (2), DocExtensions.fs. — One of this dimension's main actionable groups (11 warning-level).
- Resolve the 11 FileTooLong finding(s) in God Classes — start with HTML.Client.fs (2), Doc.Client.fs (2), Doc.Proxy.fs. — One of this dimension's main actionable groups (11 warning-level).
- Resolve the 10 TooManyFunctions finding(s) in God Classes — start with HTML.Client.fs (4), Doc.Client.fs (3), Snap.fs. — One of this dimension's main actionable groups (10 warning-level).
- Stand up a CI pipeline, then gate God Classes in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
37 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted.
What to do
- Resolve the 3 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with Runtime.fs, Attr.Client.fs, Doc.fs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with Doc.fs, Attr.fs, TemplatingProvider.fs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (20 lines × 2) finding(s) in Code Duplication — start with OldMain.fs (2). — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
2 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Secret Scanning in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D16 · Bus Factor
6 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is WebSharper.UI/Doc.fs. Counted over 32 of the 52 production source files in this repository: 13 are under the ~2,400-byte size floor this dimension measures over, and the remaining 7 have no attributable history left to measure.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
6 deducted debt markers + 0 dead symbols across 0 LoC in the .NET projects (2.2/KLoC) → score 5.7. Measured on the .NET source only: .fs (100% of production source) was not read, and carries at least 0 uncounted task marker(s) in 0 file(s).
What to do
- Resolve the 4 NoWarnInCsproj finding(s) in Explicit Debt — start with WebSharper.UI.CSharp.Tests.csproj (2), WebSharper.UI.CSharp.Templating.ServerSide.Tests.csproj (2). — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 1 TodoComment finding(s) in Explicit Debt — start with Client.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 CommentedOutCode finding(s) in Explicit Debt — start with Client.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README (README.md) and the companion architecture/Docs markdown files form a complete documentation set: the root gives an overview of WebSharper.UI with links to samples, a migration note, acknowledgements, and a short usage example; the architecture/Docs set is a comprehensive reference covering API references for Anim, Attr, Concurrent ML, Client vs Server, Dataflow, DOM design, and many more topics. The documentation is clear, complete, and well-structured. (13 of 25 sampled documents could not be assessed: 1 of 2 evaluation groups failed.)
D21 · Naming Consistency
0 naming inconsistencies across 96 sampled symbols.
D24 · Comment Value
16 valuable / 0 redundant across 21 sampled comments.
D26 · Project Cohesion
0 of 2 projects flagged as possibly oversized/incoherent.
D28 · Secrets (history)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low.
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).
D29 · Static Analysis (SAST)
2 finding(s): 0 critical, 0 high, 0 medium, 2 low.
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in the 2 ecosystem(s) that were scanned (npm,osv). 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.
D34 · Knowledge Freshness
32 of 39 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is WebSharper.UI.CSharp/HTML.Client.fs. Counted over 39 of the 52 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 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with HTML.Client.fs (2), Doc.Client.fs. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Concentrated knowledge decay 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.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 14 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
M1 · Documentation (README)
- The root README is 117 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers.
What to do
- Expand the README with getting-started, architecture overview and a project map.
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 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.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
- README claims WebSharper.UI is the new name of WebSharper.UI.Next — searched for: `WebSharper.UI.Next`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
- README claims a site repository at https://github.com/websharper-samples/ui but evidence shows only WebSharper.UI.CSharp.Templating.ServerSide.Tests and WebSharper.UI.CSharp.Tests repositories exist — reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong.
What to do
- Reconcile the README with reality: README claims WebSharper.UI is the new name of WebSharper.UI.Next; README claims a site repository at https://github.com/websharper-samples/ui but evidence shows only WebSharper.UI.CSharp.Templating.ServerSide.Tests and WebSharper.UI.CSharp.Tests repositories exist.
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
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) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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
- Run 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) — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add 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.
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.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 67% | Adequate | Acceptable, with room to improve. |
| Architecture | 57% | Adequate — gated by AX10 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 44% | Weak — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 18% | Critical — gated by P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 97% | Exemplary | Strongest area. |
Not evidenced — 5 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.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 85 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — not 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
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- C1 Data Protection — 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.
- D1 Cyclomatic Complexity — cyclomatic complexity not measured — .fs exposed no member bodies
- D10 Test Quality — ~2439 lines of test source are present (.fs) 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 — Test reliability not measured — analyzer environment
- D12 Dependency Hygiene — Dependency hygiene not measured — no packages were read
- D14 License Compliance — Package licences not resolved for an MSBuild/NuGet repository
- D15 Churn × Complexity Hotspots — complexity unreadable for .fs — churn × complexity hotspots could not be measured
- D18 Solution Shape — D18 scores the shape of a C#/VB .NET solution, but this repository's production source is mostly .fs, which the C#/VB workspace does not load — the projects that loaded are an immaterial minority, so solution shape was not assessed for this repository. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D2 Cognitive Complexity — cognitive complexity not measured — .fs exposed no member bodies
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — At only 26k LoC across 2 projects this is a small multi-module codebase that clearly needs boundaries. No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — No calls could be sampled, so navigability was not assessed — tracing effort is measured over resolved call sites and this target exposed none. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — IL not measured — the analyzer's build of the target did not succeed
- 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) — D6 reads a CS/VB/GO/SCALA/SWIFT/DART/JAVA/PY/KT/TS/TSX/MTS/CTS/JS/JSX/MJS/CJS/PHP/RB/RS/ERL/EX/EXS class graph only — this repository's production source is .fs, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: `--collect:"XPlat Code Coverage"` names a data collector that ships in the `coverlet.collector` package, and this repository wires up none — no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, `--collect` produces nothing even from a suite that builds and passes. Add a `coverlet.collector` PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect.
- D9 Test Distribution — Test source is present (.fs) 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): 1 value object(s); 1 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
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# and JavaScript/TypeScript, and neither was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — reported, not scored — this repository's C# declares no analysable method bodies (a constants, record or DTO assembly), and this score is a density of unfinished work per method, which has no denominator here. The file-level signals below were still collected and are shown in full
- P12 CI test-gate honesty — no CI workflow found
- P2 Observability — Observability was not assessed: this check recognises the logging, tracing/metrics and health-check idioms of .NET, the JVM, Go, Python, JavaScript/TypeScript, Rust, Ruby, PHP, Swift, Dart, Elixir and Erlang, and most of this repository's production source is in none of them. Absence of an idiom this check recognises is NOT evidence that this repo lacks structured logging. This is a gap in the analyzer, not a finding about this repository.
- P7 Outbound HTTP resilience — not measured — the application kind could not be determined for this repo
- P8 Schema migrations — no EF Core usage detected
- 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 — Allocation awareness was not assessed: this repository holds F#, whose allocation-aware idioms this check does not model yet. That is a gap in the analyzer's language reach, not a finding about your code.
- PF3 Async & latency hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- 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
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- 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.
- X27 Collection changed while being enumerated — 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.
- X28 Index access outside its own emptiness 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.
- 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
- 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 — 6 finding(s)
- NoWarnInCsproj WebSharper.UI.CSharp.Tests/WebSharper.UI.CSharp.Tests.csproj:9
- NoWarnInCsproj WebSharper.UI.CSharp.Templating.ServerSide.Tests/WebSharper.UI.CSharp.Templating.ServerSide.Tests.csproj:5
- NoWarnInCsproj WebSharper.UI.CSharp.Tests/WebSharper.UI.CSharp.Tests.csproj:9
- NoWarnInCsproj WebSharper.UI.CSharp.Templating.ServerSide.Tests/WebSharper.UI.CSharp.Templating.ServerSide.Tests.csproj:5
- REDACTED
- REDACTED
Serious — 74 finding(s)
- TooManyMethods: attr WebSharper.UI/HTML.Client.fs:32
- TooManyMethods: DocExtensions WebSharper.UI/DocExtensions.fs:32
- TooManyMethods: CSharpDocExtensions WebSharper.UI.CSharp/Doc.Client.fs:32
- TooManyMethods: on WebSharper.UI/HTML.Client.fs:1616
- TooManyMethods: Elt' WebSharper.UI/Doc.Proxy.fs:1072
- TooManyMethods: Elt WebSharper.UI/Doc.fs:134
- TooManyMethods: onProxy WebSharper.UI/HTML.Proxy.fs:30
- TooManyMethods: EltExtensions WebSharper.UI.CSharp/Doc.Server.fs:32
- TooManyMethods: Doc' WebSharper.UI/Doc.Proxy.fs:449
- TooManyMethods: View WebSharper.UI/Reactive.fs:203
- TooManyMethods: ListModel WebSharper.UI/Models.fs:221
- FileTooLong: WebSharper.UI.CSharp/HTML.Client.fs WebSharper.UI.CSharp/HTML.Client.fs
- FileTooLong: WebSharper.UI/HTML.Client.fs WebSharper.UI/HTML.Client.fs
- FileTooLong: WebSharper.UI/Doc.Proxy.fs WebSharper.UI/Doc.Proxy.fs
- FileTooLong: WebSharper.UI.Templating.Runtime/Runtime.fs WebSharper.UI.Templating.Runtime/Runtime.fs
- FileTooLong: WebSharper.UI.Templating.Common/Parsing.fs WebSharper.UI.Templating.Common/Parsing.fs
- FileTooLong: WebSharper.UI/Doc.fs WebSharper.UI/Doc.fs
- FileTooLong: WebSharper.UI/DocExtensions.fs WebSharper.UI/DocExtensions.fs
- FileTooLong: WebSharper.UI.Templating/TemplatingProvider.fs WebSharper.UI.Templating/TemplatingProvider.fs
- FileTooLong: WebSharper.UI/Templates.fs WebSharper.UI/Templates.fs
- FileTooLong: WebSharper.UI.CSharp/Doc.Client.fs WebSharper.UI.CSharp/Doc.Client.fs
- FileTooLong: WebSharper.UI/Doc.Client.fs WebSharper.UI/Doc.Client.fs
- TooManyFunctions: attr WebSharper.UI.CSharp/HTML.Client.fs:869
- TooManyFunctions: on WebSharper.UI.CSharp/HTML.Client.fs:2923
- TooManyFunctions: Html WebSharper.UI.CSharp/HTML.Client.fs:36
- TooManyFunctions: SvgElements WebSharper.UI.CSharp/HTML.Client.fs:624
- TooManyFunctions: Doc WebSharper.UI/Doc.Client.fs:53
- TooManyFunctions: InputType WebSharper.UI/Doc.Client.fs:299
- TooManyFunctions: InputType WebSharper.UI/Doc.Client.fs:569
- TooManyFunctions: Snap WebSharper.UI/Snap.fs:114
- TooManyFunctions: Attr WebSharper.UI/Attr.Client.fs:442
- TooManyFunctions: Macros WebSharper.UI/Macros.fs:26
- Duplicated block (6 lines × 2) WebSharper.UI.Templating.Runtime/Runtime.fs:736
- Duplicated block (6 lines × 2) WebSharper.UI/Attr.Client.fs:304
- Duplicated block (6 lines × 2) WebSharper.UI/Doc.fs:850
- Duplicated block (5 lines × 2) WebSharper.UI/Doc.fs:607
- Duplicated block (5 lines × 2) WebSharper.UI/Attr.fs:275
- Duplicated block (5 lines × 2) WebSharper.UI.Templating/TemplatingProvider.fs:218
- Duplicated block (20 lines × 2) WebSharper.UI.Templating/OldMain.fs:40
- Duplicated block (20 lines × 2) WebSharper.UI.Templating/OldMain.fs:168
- Duplicated block (12 lines × 2) WebSharper.UI/Doc.Proxy.fs:877
- Duplicated block (12 lines × 2) WebSharper.UI/Flow.fs:318
- Duplicated block (11 lines × 2) WebSharper.UI/Doc.Proxy.fs:1154
- Duplicated block (11 lines × 2) WebSharper.UI/Reactive.fs:310
- Duplicated block (9–10 lines × 2) WebSharper.UI.Templating/OldMain.fs:511
- Duplicated block (9–10 lines × 2) WebSharper.UI/Macros.fs:339
- Duplicated block (10 lines × 2) WebSharper.UI/Doc.Proxy.fs:893
- Duplicated block (10 lines × 2) WebSharper.UI/Models.fs:251
- Duplicated block (5 lines × 4) WebSharper.UI/ReactiveExtensions.fs:48
- Duplicated block (5 lines × 4) WebSharper.UI/ReactiveExtensions.fs:56
- TodoComment WebSharper.UI.CSharp.Tests/Client.cs:111
- CommentedOutCode WebSharper.UI.CSharp.Tests/Client.cs:121
- Near-duplicate member pair (372 shared lines) WebSharper.UI.Templating/OldMain.fs:21
- Duplicated block (86 lines × 2) WebSharper.UI.Templating/OldMain.fs:289
- Duplicated block (57–59 lines × 2) WebSharper.UI.Templating/OldMain.fs:206
- Duplicated block (48 lines × 2) WebSharper.UI.Templating/OldMain.fs:376
- Duplicated block (39 lines × 2) WebSharper.UI.Templating/OldMain.fs:60
- Duplicated block (25 lines × 2) WebSharper.UI/Doc.Client.fs:521
- Duplicated block (24 lines × 2) WebSharper.UI.Templating/OldMain.fs:461
- Duplicated block (21–22 lines × 2) WebSharper.UI.Templating/OldMain.fs:128
- Duplicated block (22 lines × 2) WebSharper.UI.Templating/OldMain.fs:437
- Duplicated block (21 lines × 2) WebSharper.UI.Templating/OldMain.fs:267
- Duplicated block (17 lines × 2) WebSharper.UI/Doc.Client.fs:254
- Duplicated block (15 lines × 2) WebSharper.UI.Templating.Runtime/Runtime.fs:458
- Duplicated block (14–15 lines × 2) WebSharper.UI/Doc.Proxy.fs:823
- Duplicated block (14 lines × 2) WebSharper.UI.Templating/OldMain.fs:23
- Duplicated block (13–14 lines × 2) WebSharper.UI/Templates.fs:91
- Duplicated block (10–11 lines × 2) WebSharper.UI.Templating.Runtime/Runtime.fs:631
- Duplicated block (5–7 lines × 4) WebSharper.UI/Macros.fs:419
- Duplicated block (3–5 lines × 4) WebSharper.UI.Templating/TemplatingProvider.fs:272
- Duplicated block (5 lines × 3) WebSharper.UI/Macros.fs:308
- Duplicated block (7 lines × 2) WebSharper.UI/DocExtensions.fs:68
- Coverage not measured — no coverage collector is wired up
- No CI pipeline
Minor — 15 finding(s)
- Most significant orphaned file WebSharper.UI.CSharp/HTML.Client.fs
- Most significant orphaned file WebSharper.UI/HTML.Client.fs
- Most significant orphaned file WebSharper.UI.CSharp/Doc.Client.fs
- REDACTED
- REDACTED
- README/code drift
- README/code drift
- Off-boarding risk: anonymized user #1
- Documentation: no installation or build instructions README.md
- Concentrated knowledge decay
- Thin README
- No ADRs
- No src/ separation
- No SAST
- No changelog
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-af25d66d8b0046e28fdcde3da4a35ad3/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-af25d66d8b0046e28fdcde3da4a35ad3/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 . | 2 | 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 | 0 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 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 |