Executive summary
Template / example. This repo declares itself a template, kata, sample or demo — code to read or copy, not operate — so the ship-it and operate-it dimensions (CI/CD, observability, ADRs, architecture docs, deployment security) are N/A and what remains is judged accordingly.
This system holds a strong overall standing of 64%, reflecting a well-engineered foundation with high code quality and sound architecture. However, the business faces a critical operational risk: the system is not yet ready for safe, reliable production use. While the code itself is clean and maintainable, the lack of operational safeguards means that deploying changes carries a disproportionate risk of disruption or security exposure, potentially undermining the value of the underlying engineering effort.
The value at stake is modest, with a small codebase that would cost approximately €11,000 to rebuild. This low barrier to entry suggests that the primary investment is not in rewriting logic, but in establishing trust. The system is largely straight-line logic with minimal boilerplate, meaning the core business rules are simple and understandable. However, the cost of failure in deployment and release processes could far exceed the cost of the code itself, making operational maturity the key lever for protecting this asset.
The first major theme is Operational Fragility. With a Readiness score of 53%, the system lacks the necessary controls to ensure safe delivery. The most urgent risk is that release jobs do not enforce visible protection rules, meaning a bad build could reach users without adequate review. This exposes the business to potential outages or security incidents that could have been prevented with simple guardrails. The second theme is Limited Observability and Testing Confidence. While code health is excellent, the absence of measured test coverage and reliability data means we cannot quantify the risk of regressions. This uncertainty forces teams to spend more time on manual verification, slowing down delivery speed and increasing the likelihood of defects slipping through.
What is genuinely good is the code’s maintainability and architectural clarity. The high scores in Code Health and Architecture indicate that future changes will be easy to implement and unlikely to cause ripple effects. This is a significant strength, as it ensures the system can evolve without becoming a burden. The focus should be on plugging the operational gaps first. Securing the release process and establishing basic changelog practices will provide the highest return on effort, transforming a fragile deployment pipeline into a reliable one. Until these controls are in place, the system’s strong codebase cannot fully protect the business from operational risk.
Raise Readiness 53 → 70 (the Healthy floor) ⇒ headline 64 → ~70.
New since the last scan (3+)
- D3 · FileTooLong: Compile/Emit.fs src/Feersum.CompilerServices/Compile/Emit.fs
- D3 · FileTooLong: Binding/Binder.fs src/Feersum.CompilerServices/Binding/Binder.fs
- D20 · No context/problem and no consequences/trade-offs; the only content is a rationale for Red/Green trees plus a citation docs/design-docs/01-syntax-trees.md
Rebuild cost & value ~ Modeled — €3,500–€18,000
| Cost to rebuild | €3,500–€18,000 |
|---|---|
| Domain complexity | Low |
| Quality factor | 0.9× (at 64% quality) |
| Size & shape | Small · effort split not classified for 5,973 line(s) outside the .NET model (the tier breakdown is a C#-only syntax walk) |
| Effort basis | The rebuild estimate prices 7,253 code lines. Comment-only lines count toward the 7,365-line size but are not build effort. |
This codebase represents roughly ~0.1 person-years of build effort (about ~€11,000 to rebuild). Its weakest lens is Readiness at 53% — 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 BinderTests | 2 DiagnosticsTests | 3 EvalTests | 4 Feersum.CompilerServices | 5 Feersum.CompilerServices.Binding.Binderctx | 6 Feersum.CompilerServices.Binding.Environments | 7 Feersum.CompilerServices.Binding.Ident | 8 Feersum.CompilerServices.Compile.BuiltinMacros | 9 Feersum.CompilerServices.Compile.Builtins | 10 Feersum.CompilerServices.Compile.ExternUtils | 11 Feersum.CompilerServices.Compile.Instrumentation | 12 Feersum.CompilerServices.Text | 13 Feersum.CompilerServices.Utils.Result | 14 Feersum.LanguageServer | 15 Feersum.CompilerServices.Diagnostics | 16 Feersum.CompilerServices.Runtime | 17 Feersum.CompilerServices.Syntax.Parse | 18 Feersum.CompilerServices.Syntax.Tree | 19 Feersum.CompilerServices.Text.SourceRegistry | 20 Feersum.LanguageServer.Workspace | 21 Feersum.CompilerServices.Binding | 22 Feersum.CompilerServices.Binding.Stx | 23 Feersum.CompilerServices.Compile | 24 Feersum.CompilerServices.Syntax.Factories | 25 Feersum.CompilerServices.Syntax.Factories.Convenience | 26 Feersum.CompilerServices.Syntax.Tree.Patterns | 27 Feersum.CompilerServices.Syntax.Tree.SyntaxUtils | 28 Feersum.CompilerServices.Syntax.Tree.Utils | 29 Feersum.CompilerServices.Binding.Binder | 30 Feersum.CompilerServices.Binding.FrameCtx | 31 Feersum.CompilerServices.Binding.Impl | 32 Feersum.CompilerServices.Binding.Libraries | 33 Feersum.CompilerServices.Binding.Lower | 34 Feersum.CompilerServices.Binding.MacroParse | 35 Feersum.CompilerServices.Binding.Macros | 36 Feersum.CompilerServices.Binding.ResolutionEnv | 37 Feersum.CompilerServices.Binding.Utils | 38 Feersum.CompilerServices.Compile.Compilation | 39 Feersum.CompilerServices.Compile.Emit | 40 Feersum.CompilerServices.Compile.Utils |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 BinderTests | ||||||||||||||||||||||||||||||||||||||||
| 2 DiagnosticsTests | ||||||||||||||||||||||||||||||||||||||||
| 3 EvalTests | ||||||||||||||||||||||||||||||||||||||||
| 4 Feersum.CompilerServices | ||||||||||||||||||||||||||||||||||||||||
| 5 Feersum.CompilerServices.Binding.Binderctx | ||||||||||||||||||||||||||||||||||||||||
| 6 Feersum.CompilerServices.Binding.Environments | ||||||||||||||||||||||||||||||||||||||||
| 7 Feersum.CompilerServices.Binding.Ident | ||||||||||||||||||||||||||||||||||||||||
| 8 Feersum.CompilerServices.Compile.BuiltinMacros | ||||||||||||||||||||||||||||||||||||||||
| 9 Feersum.CompilerServices.Compile.Builtins | ||||||||||||||||||||||||||||||||||||||||
| 10 Feersum.CompilerServices.Compile.ExternUtils | ||||||||||||||||||||||||||||||||||||||||
| 11 Feersum.CompilerServices.Compile.Instrumentation | ||||||||||||||||||||||||||||||||||||||||
| 12 Feersum.CompilerServices.Text | ||||||||||||||||||||||||||||||||||||||||
| 13 Feersum.CompilerServices.Utils.Result | ||||||||||||||||||||||||||||||||||||||||
| 14 Feersum.LanguageServer | ||||||||||||||||||||||||||||||||||||||||
| 15 Feersum.CompilerServices.Diagnostics | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Feersum.CompilerServices.Runtime | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 Feersum.CompilerServices.Syntax.Parse | 3 | |||||||||||||||||||||||||||||||||||||||
| 18 Feersum.CompilerServices.Syntax.Tree | 19 | |||||||||||||||||||||||||||||||||||||||
| 19 Feersum.CompilerServices.Text.SourceRegistry | 2 | |||||||||||||||||||||||||||||||||||||||
| 20 Feersum.LanguageServer.Workspace | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 Feersum.CompilerServices.Binding | 5 | 2 | ||||||||||||||||||||||||||||||||||||||
| 22 Feersum.CompilerServices.Binding.Stx | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 23 Feersum.CompilerServices.Compile | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 Feersum.CompilerServices.Syntax.Factories | 3 | |||||||||||||||||||||||||||||||||||||||
| 25 Feersum.CompilerServices.Syntax.Factories.Convenience | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 Feersum.CompilerServices.Syntax.Tree.Patterns | 2 | |||||||||||||||||||||||||||||||||||||||
| 27 Feersum.CompilerServices.Syntax.Tree.SyntaxUtils | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 Feersum.CompilerServices.Syntax.Tree.Utils | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 Feersum.CompilerServices.Binding.Binder | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 30 Feersum.CompilerServices.Binding.FrameCtx | 3 | |||||||||||||||||||||||||||||||||||||||
| 31 Feersum.CompilerServices.Binding.Impl | 1 | 12 | ||||||||||||||||||||||||||||||||||||||
| 32 Feersum.CompilerServices.Binding.Libraries | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 Feersum.CompilerServices.Binding.Lower | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 Feersum.CompilerServices.Binding.MacroParse | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 35 Feersum.CompilerServices.Binding.Macros | 1 | 1 | 6 | |||||||||||||||||||||||||||||||||||||
| 36 Feersum.CompilerServices.Binding.ResolutionEnv | 2 | |||||||||||||||||||||||||||||||||||||||
| 37 Feersum.CompilerServices.Binding.Utils | 1 | 1 | 4 | |||||||||||||||||||||||||||||||||||||
| 38 Feersum.CompilerServices.Compile.Compilation | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 Feersum.CompilerServices.Compile.Emit | 1 | |||||||||||||||||||||||||||||||||||||||
| 40 Feersum.CompilerServices.Compile.Utils | 3 | 2 |
15→12 Feersum.CompilerServices.Diagnostics depends on Feersum.CompilerServices.Text✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Diagnostics → type in Feersum.CompilerServices.Text) reference.
- Which types
Feersum.CompilerServices.Diagnostics.Diagnostic→Feersum.CompilerServices.Text.TextLocation
- Direction
- Feersum.CompilerServices.Diagnostics uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Diagnostics, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→4 Feersum.CompilerServices.Runtime depends on Feersum.CompilerServices✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Runtime → type in Feersum.CompilerServices) reference.
- Which types
Feersum.CompilerServices.Runtime.Runtime→Feersum.CompilerServices.CompilationOptions
- Direction
- Feersum.CompilerServices.Runtime uses Feersum.CompilerServices. Changing Feersum.CompilerServices can break Feersum.CompilerServices.Runtime, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→12 Feersum.CompilerServices.Syntax.Parse depends on Feersum.CompilerServices.Text✕
- Type pairs
- 3 distinct (type in Feersum.CompilerServices.Syntax.Parse → type in Feersum.CompilerServices.Text) references.
- Which types
Feersum.CompilerServices.Syntax.Parse.Parse→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Parse.Parse→Feersum.CompilerServices.Text.SourceRegistryFeersum.CompilerServices.Syntax.Parse.ParserState→Feersum.CompilerServices.Text.TextDocument
- Direction
- Feersum.CompilerServices.Syntax.Parse uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Syntax.Parse, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→12 Feersum.CompilerServices.Syntax.Tree depends on Feersum.CompilerServices.Text✕
- Type pairs
- 19 distinct (type in Feersum.CompilerServices.Syntax.Tree → type in Feersum.CompilerServices.Text) references.
- Which types
Feersum.CompilerServices.Syntax.Tree.AstItem→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.AstNode→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.AstToken→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.BoolVal→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.ByteValue→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.ByteVec→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.CharVal→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.Constant→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.ConstantValue→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.DottedTail→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.Expression→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.Form→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.NumVal→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.Program→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.Quoted→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.ScriptProgram→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.StrVal→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.Symbol→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Syntax.Tree.Vec→Feersum.CompilerServices.Text.DocId
- Direction
- Feersum.CompilerServices.Syntax.Tree uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Syntax.Tree, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→12 Feersum.CompilerServices.Text.SourceRegistry depends on Feersum.CompilerServices.Text✕
- Type pairs
- 2 distinct (type in Feersum.CompilerServices.Text.SourceRegistry → type in Feersum.CompilerServices.Text) references.
- Which types
Feersum.CompilerServices.Text.SourceRegistry.SourceRegistry→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Text.SourceRegistry.SourceRegistry→Feersum.CompilerServices.Text.TextLocation
- Direction
- Feersum.CompilerServices.Text.SourceRegistry uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Text.SourceRegistry, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→14 Feersum.LanguageServer.Workspace depends on Feersum.LanguageServer✕
- Type pairs
- 1 distinct (type in Feersum.LanguageServer.Workspace → type in Feersum.LanguageServer) reference.
- Which types
Feersum.LanguageServer.Workspace.Workspace→Feersum.LanguageServer.WorkspaceMessage
- Direction
- Feersum.LanguageServer.Workspace uses Feersum.LanguageServer. Changing Feersum.LanguageServer can break Feersum.LanguageServer.Workspace, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→12 Feersum.CompilerServices.Binding depends on Feersum.CompilerServices.Text✕
- Type pairs
- 5 distinct (type in Feersum.CompilerServices.Binding → type in Feersum.CompilerServices.Text) references.
- Which types
Feersum.CompilerServices.Binding.BinderCtx→Feersum.CompilerServices.Text.SourceRegistryFeersum.CompilerServices.Binding.BoundExpr→Feersum.CompilerServices.Text.TextLocationFeersum.CompilerServices.Binding.Macro→Feersum.CompilerServices.Text.TextLocationFeersum.CompilerServices.Binding.MacroTemplate→Feersum.CompilerServices.Text.TextLocationFeersum.CompilerServices.Binding.Stx→Feersum.CompilerServices.Text.TextLocation
- Direction
- Feersum.CompilerServices.Binding uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Binding, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→15 Feersum.CompilerServices.Binding depends on Feersum.CompilerServices.Diagnostics✕
- Type pairs
- 2 distinct (type in Feersum.CompilerServices.Binding → type in Feersum.CompilerServices.Diagnostics) references.
- Which types
Feersum.CompilerServices.Binding.BinderCtx→Feersum.CompilerServices.Diagnostics.DiagnosticBagFeersum.CompilerServices.Binding.PatternCtx→Feersum.CompilerServices.Diagnostics.DiagnosticBag
- Direction
- Feersum.CompilerServices.Binding uses Feersum.CompilerServices.Diagnostics. Changing Feersum.CompilerServices.Diagnostics can break Feersum.CompilerServices.Binding, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→12 Feersum.CompilerServices.Binding.Stx depends on Feersum.CompilerServices.Text✕
- Type pairs
- 2 distinct (type in Feersum.CompilerServices.Binding.Stx → type in Feersum.CompilerServices.Text) references.
- Which types
Feersum.CompilerServices.Binding.Stx.Stx→Feersum.CompilerServices.Text.DocIdFeersum.CompilerServices.Binding.Stx.Stx→Feersum.CompilerServices.Text.SourceRegistry
- Direction
- Feersum.CompilerServices.Binding.Stx uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Binding.Stx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→15 Feersum.CompilerServices.Binding.Stx depends on Feersum.CompilerServices.Diagnostics✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Stx → type in Feersum.CompilerServices.Diagnostics) reference.
- Which types
Feersum.CompilerServices.Binding.Stx.Stx→Feersum.CompilerServices.Diagnostics.DiagnosticBag
- Direction
- Feersum.CompilerServices.Binding.Stx uses Feersum.CompilerServices.Diagnostics. Changing Feersum.CompilerServices.Diagnostics can break Feersum.CompilerServices.Binding.Stx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→18 Feersum.CompilerServices.Binding.Stx depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Stx → type in Feersum.CompilerServices.Syntax.Tree) reference.
- Which types
Feersum.CompilerServices.Binding.Stx.Stx→Feersum.CompilerServices.Syntax.Tree.Expression
- Direction
- Feersum.CompilerServices.Binding.Stx uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Binding.Stx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→12 Feersum.CompilerServices.Compile depends on Feersum.CompilerServices.Text✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Compile → type in Feersum.CompilerServices.Text) reference.
- Which types
Feersum.CompilerServices.Compile.CompileInput→Feersum.CompilerServices.Text.SourceRegistry
- Direction
- Feersum.CompilerServices.Compile uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Compile, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→18 Feersum.CompilerServices.Compile depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Compile → type in Feersum.CompilerServices.Syntax.Tree) reference.
- Which types
Feersum.CompilerServices.Compile.CompileInput→Feersum.CompilerServices.Syntax.Tree.ScriptProgram
- Direction
- Feersum.CompilerServices.Compile uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Compile, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→18 Feersum.CompilerServices.Syntax.Factories depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 3 distinct (type in Feersum.CompilerServices.Syntax.Factories → type in Feersum.CompilerServices.Syntax.Tree) references.
- Which types
Feersum.CompilerServices.Syntax.Factories.Factories→Feersum.CompilerServices.Syntax.Tree.ExpressionFeersum.CompilerServices.Syntax.Factories.Factories→Feersum.CompilerServices.Syntax.Tree.ProgramFeersum.CompilerServices.Syntax.Factories.Factories→Feersum.CompilerServices.Syntax.Tree.ScriptProgram
- Direction
- Feersum.CompilerServices.Syntax.Factories uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Syntax.Factories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→18 Feersum.CompilerServices.Syntax.Factories.Convenience depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Syntax.Factories.Convenience → type in Feersum.CompilerServices.Syntax.Tree) reference.
- Which types
Feersum.CompilerServices.Syntax.Factories.Convenience.Convenience→Feersum.CompilerServices.Syntax.Tree.Expression
- Direction
- Feersum.CompilerServices.Syntax.Factories.Convenience uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Syntax.Factories.Convenience, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→18 Feersum.CompilerServices.Syntax.Tree.Patterns depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 2 distinct (type in Feersum.CompilerServices.Syntax.Tree.Patterns → type in Feersum.CompilerServices.Syntax.Tree) references.
- Which types
Feersum.CompilerServices.Syntax.Tree.Patterns.Patterns→Feersum.CompilerServices.Syntax.Tree.ConstantValueFeersum.CompilerServices.Syntax.Tree.Patterns.Patterns→Feersum.CompilerServices.Syntax.Tree.Expression
- Direction
- Feersum.CompilerServices.Syntax.Tree.Patterns uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Syntax.Tree.Patterns, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→18 Feersum.CompilerServices.Syntax.Tree.SyntaxUtils depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Syntax.Tree.SyntaxUtils → type in Feersum.CompilerServices.Syntax.Tree) reference.
- Which types
Feersum.CompilerServices.Syntax.Tree.SyntaxUtils.SyntaxUtils→Feersum.CompilerServices.Syntax.Tree.AstKind
- Direction
- Feersum.CompilerServices.Syntax.Tree.SyntaxUtils uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Syntax.Tree.SyntaxUtils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→13 Feersum.CompilerServices.Syntax.Tree.Utils depends on Feersum.CompilerServices.Utils.Result✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Syntax.Tree.Utils → type in Feersum.CompilerServices.Utils.Result) reference.
- Which types
Feersum.CompilerServices.Syntax.Tree.Utils.Utils→Feersum.CompilerServices.Utils.Result.Result
- Direction
- Feersum.CompilerServices.Syntax.Tree.Utils uses Feersum.CompilerServices.Utils.Result. Changing Feersum.CompilerServices.Utils.Result can break Feersum.CompilerServices.Syntax.Tree.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→18 Feersum.CompilerServices.Syntax.Tree.Utils depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Syntax.Tree.Utils → type in Feersum.CompilerServices.Syntax.Tree) reference.
- Which types
Feersum.CompilerServices.Syntax.Tree.Utils.Utils→Feersum.CompilerServices.Syntax.Tree.AstKind
- Direction
- Feersum.CompilerServices.Syntax.Tree.Utils uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Syntax.Tree.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→12 Feersum.CompilerServices.Binding.Binder depends on Feersum.CompilerServices.Text✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Binder → type in Feersum.CompilerServices.Text) reference.
- Which types
Feersum.CompilerServices.Binding.Binder.Binder→Feersum.CompilerServices.Text.SourceRegistry
- Direction
- Feersum.CompilerServices.Binding.Binder uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Binding.Binder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→18 Feersum.CompilerServices.Binding.Binder depends on Feersum.CompilerServices.Syntax.Tree✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Binder → type in Feersum.CompilerServices.Syntax.Tree) reference.
- Which types
Feersum.CompilerServices.Binding.Binder.Binder→Feersum.CompilerServices.Syntax.Tree.ScriptProgram
- Direction
- Feersum.CompilerServices.Binding.Binder uses Feersum.CompilerServices.Syntax.Tree. Changing Feersum.CompilerServices.Syntax.Tree can break Feersum.CompilerServices.Binding.Binder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→21 Feersum.CompilerServices.Binding.Binder depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 2 distinct (type in Feersum.CompilerServices.Binding.Binder → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Binding.Binder.Binder→Feersum.CompilerServices.Binding.BinderCtxFeersum.CompilerServices.Binding.Binder.Binder→Feersum.CompilerServices.Binding.BoundSyntaxTree
- Direction
- Feersum.CompilerServices.Binding.Binder uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.Binder, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→21 Feersum.CompilerServices.Binding.FrameCtx depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 3 distinct (type in Feersum.CompilerServices.Binding.FrameCtx → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Binding.FrameCtx.FrameCtx→Feersum.CompilerServices.Binding.BoundBodyFeersum.CompilerServices.Binding.FrameCtx.FrameCtx→Feersum.CompilerServices.Binding.BoundExprFeersum.CompilerServices.Binding.FrameCtx.FrameCtx→Feersum.CompilerServices.Binding.Ident
- Direction
- Feersum.CompilerServices.Binding.FrameCtx uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.FrameCtx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→12 Feersum.CompilerServices.Binding.Impl depends on Feersum.CompilerServices.Text✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Impl → type in Feersum.CompilerServices.Text) reference.
- Which types
Feersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Text.TextLocation
- Direction
- Feersum.CompilerServices.Binding.Impl uses Feersum.CompilerServices.Text. Changing Feersum.CompilerServices.Text can break Feersum.CompilerServices.Binding.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→21 Feersum.CompilerServices.Binding.Impl depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 12 distinct (type in Feersum.CompilerServices.Binding.Impl → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.BinderCtxFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.BoundBodyFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.BoundExprFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.BoundFormalsFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.FrameCtxFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.IdentFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.LibraryDefinitionFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.LibrarySignatureFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.NameResolutionFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.SpecialFormKindFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.StorageRefFeersum.CompilerServices.Binding.Impl.Impl→Feersum.CompilerServices.Binding.Stx
- Direction
- Feersum.CompilerServices.Binding.Impl uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→21 Feersum.CompilerServices.Binding.Libraries depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Libraries → type in Feersum.CompilerServices.Binding) reference.
- Which types
Feersum.CompilerServices.Binding.Libraries.Libraries→Feersum.CompilerServices.Binding.Stx
- Direction
- Feersum.CompilerServices.Binding.Libraries uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.Libraries, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→21 Feersum.CompilerServices.Binding.Lower depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Lower → type in Feersum.CompilerServices.Binding) reference.
- Which types
Feersum.CompilerServices.Binding.Lower.Lower→Feersum.CompilerServices.Binding.BoundSyntaxTree
- Direction
- Feersum.CompilerServices.Binding.Lower uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.Lower, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→15 Feersum.CompilerServices.Binding.MacroParse depends on Feersum.CompilerServices.Diagnostics✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.MacroParse → type in Feersum.CompilerServices.Diagnostics) reference.
- Which types
Feersum.CompilerServices.Binding.MacroParse.MacroParse→Feersum.CompilerServices.Diagnostics.DiagnosticBag
- Direction
- Feersum.CompilerServices.Binding.MacroParse uses Feersum.CompilerServices.Diagnostics. Changing Feersum.CompilerServices.Diagnostics can break Feersum.CompilerServices.Binding.MacroParse, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→21 Feersum.CompilerServices.Binding.MacroParse depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 3 distinct (type in Feersum.CompilerServices.Binding.MacroParse → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Binding.MacroParse.MacroParse→Feersum.CompilerServices.Binding.MacroTemplateFeersum.CompilerServices.Binding.MacroParse.MacroParse→Feersum.CompilerServices.Binding.PatternCtxFeersum.CompilerServices.Binding.MacroParse.MacroParse→Feersum.CompilerServices.Binding.Stx
- Direction
- Feersum.CompilerServices.Binding.MacroParse uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.MacroParse, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→13 Feersum.CompilerServices.Binding.Macros depends on Feersum.CompilerServices.Utils.Result✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Macros → type in Feersum.CompilerServices.Utils.Result) reference.
- Which types
Feersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Utils.Result.Result
- Direction
- Feersum.CompilerServices.Binding.Macros uses Feersum.CompilerServices.Utils.Result. Changing Feersum.CompilerServices.Utils.Result can break Feersum.CompilerServices.Binding.Macros, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→15 Feersum.CompilerServices.Binding.Macros depends on Feersum.CompilerServices.Diagnostics✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Macros → type in Feersum.CompilerServices.Diagnostics) reference.
- Which types
Feersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Diagnostics.DiagnosticBag
- Direction
- Feersum.CompilerServices.Binding.Macros uses Feersum.CompilerServices.Diagnostics. Changing Feersum.CompilerServices.Diagnostics can break Feersum.CompilerServices.Binding.Macros, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→21 Feersum.CompilerServices.Binding.Macros depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 6 distinct (type in Feersum.CompilerServices.Binding.Macros → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Binding.MacroFeersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Binding.MacroBindingsFeersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Binding.MacroPatternFeersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Binding.MacroTemplateFeersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Binding.MacroTemplateElementFeersum.CompilerServices.Binding.Macros.Macros→Feersum.CompilerServices.Binding.Stx
- Direction
- Feersum.CompilerServices.Binding.Macros uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.Macros, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→21 Feersum.CompilerServices.Binding.ResolutionEnv depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 2 distinct (type in Feersum.CompilerServices.Binding.ResolutionEnv → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Binding.ResolutionEnv.ResolutionEnv→Feersum.CompilerServices.Binding.IdentFeersum.CompilerServices.Binding.ResolutionEnv.ResolutionEnv→Feersum.CompilerServices.Binding.StorageRef
- Direction
- Feersum.CompilerServices.Binding.ResolutionEnv uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.ResolutionEnv, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→13 Feersum.CompilerServices.Binding.Utils depends on Feersum.CompilerServices.Utils.Result✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Utils → type in Feersum.CompilerServices.Utils.Result) reference.
- Which types
Feersum.CompilerServices.Binding.Utils.Utils→Feersum.CompilerServices.Utils.Result.Result
- Direction
- Feersum.CompilerServices.Binding.Utils uses Feersum.CompilerServices.Utils.Result. Changing Feersum.CompilerServices.Utils.Result can break Feersum.CompilerServices.Binding.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→15 Feersum.CompilerServices.Binding.Utils depends on Feersum.CompilerServices.Diagnostics✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Binding.Utils → type in Feersum.CompilerServices.Diagnostics) reference.
- Which types
Feersum.CompilerServices.Binding.Utils.Utils→Feersum.CompilerServices.Diagnostics.DiagnosticBag
- Direction
- Feersum.CompilerServices.Binding.Utils uses Feersum.CompilerServices.Diagnostics. Changing Feersum.CompilerServices.Diagnostics can break Feersum.CompilerServices.Binding.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→21 Feersum.CompilerServices.Binding.Utils depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 4 distinct (type in Feersum.CompilerServices.Binding.Utils → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Binding.Utils.Utils→Feersum.CompilerServices.Binding.ImportSetFeersum.CompilerServices.Binding.Utils.Utils→Feersum.CompilerServices.Binding.LibraryDeclarationFeersum.CompilerServices.Binding.Utils.Utils→Feersum.CompilerServices.Binding.LibrarySignatureFeersum.CompilerServices.Binding.Utils.Utils→Feersum.CompilerServices.Binding.Stx
- Direction
- Feersum.CompilerServices.Binding.Utils uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Binding.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→4 Feersum.CompilerServices.Compile.Compilation depends on Feersum.CompilerServices✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Compile.Compilation → type in Feersum.CompilerServices) reference.
- Which types
Feersum.CompilerServices.Compile.Compilation.Compilation→Feersum.CompilerServices.CompilationOptions
- Direction
- Feersum.CompilerServices.Compile.Compilation uses Feersum.CompilerServices. Changing Feersum.CompilerServices can break Feersum.CompilerServices.Compile.Compilation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→23 Feersum.CompilerServices.Compile.Compilation depends on Feersum.CompilerServices.Compile✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Compile.Compilation → type in Feersum.CompilerServices.Compile) reference.
- Which types
Feersum.CompilerServices.Compile.Compilation.Compilation→Feersum.CompilerServices.Compile.CompileInput
- Direction
- Feersum.CompilerServices.Compile.Compilation uses Feersum.CompilerServices.Compile. Changing Feersum.CompilerServices.Compile can break Feersum.CompilerServices.Compile.Compilation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→21 Feersum.CompilerServices.Compile.Emit depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 1 distinct (type in Feersum.CompilerServices.Compile.Emit → type in Feersum.CompilerServices.Binding) reference.
- Which types
Feersum.CompilerServices.Compile.Emit.Emit→Feersum.CompilerServices.Binding.BoundSyntaxTree
- Direction
- Feersum.CompilerServices.Compile.Emit uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Compile.Emit, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→21 Feersum.CompilerServices.Compile.Utils depends on Feersum.CompilerServices.Binding✕
- Type pairs
- 3 distinct (type in Feersum.CompilerServices.Compile.Utils → type in Feersum.CompilerServices.Binding) references.
- Which types
Feersum.CompilerServices.Compile.Utils.Utils→Feersum.CompilerServices.Binding.BoundBodyFeersum.CompilerServices.Compile.Utils.Utils→Feersum.CompilerServices.Binding.BoundDatumFeersum.CompilerServices.Compile.Utils.Utils→Feersum.CompilerServices.Binding.BoundExpr
- Direction
- Feersum.CompilerServices.Compile.Utils uses Feersum.CompilerServices.Binding. Changing Feersum.CompilerServices.Binding can break Feersum.CompilerServices.Compile.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→23 Feersum.CompilerServices.Compile.Utils depends on Feersum.CompilerServices.Compile✕
- Type pairs
- 2 distinct (type in Feersum.CompilerServices.Compile.Utils → type in Feersum.CompilerServices.Compile) references.
- Which types
Feersum.CompilerServices.Compile.Utils.Utils→Feersum.CompilerServices.Compile.CoreTypesFeersum.CompilerServices.Compile.Utils.Utils→Feersum.CompilerServices.Compile.EmitCtx
- Direction
- Feersum.CompilerServices.Compile.Utils uses Feersum.CompilerServices.Compile. Changing Feersum.CompilerServices.Compile can break Feersum.CompilerServices.Compile.Utils, 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 |
|---|---|---|
| A03:2021 — Injection | 19 | High / Critical |
Roadmap
First, secure the deployment process by verifying that required reviewers are attached to the environment or publishing as a draft release to prevent bad builds from reaching users. Next, maintain release hygiene by keeping a changelog to track shipped changes and resolving the single deprecated and vulnerable dependency findings. Finally, improve documentation by adding a testing section to the root README so users know how to run the test suite.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Deprecated finding(s) in Dependency Hygiene. | +7.1 pts | Low | Dependency Hygiene |
| Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. | +7.1 pts | Low | Dependency Hygiene |
| The release job declares an environment, but its protection rules are not visible from the repository — confirm required reviewers are attached, or publish as a draft release so a bad build can be stopped before users can download it. | +10.4 pts | Medium | Deployment & Rollback |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +10.4 pts | Medium | Release Hygiene |
| Add a 'Testing' section to the root README — how to run the test suite. | +3.6 pts | Medium | Documentation (README) |
| Grow the ADR log (currently 3) — reach 8 to raise the maturity tier; document significant decisions as they're made. | +3.6 pts | Medium | Architecture documentation |
| Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). | +1.6 pts | Low | Static Analysis (SAST) |
| Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. | +1.3 pts | Low | Static Analysis (SAST) |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.6 | Mixed | Static Analysis (SAST): High: REDACTED |
| src/Serehfa/ByteVectors.cs | 6.7 | Near-clean | Explicit Debt: TodoComment |
| src/Serehfa/Time.cs | 6.9 | Near-clean | Explicit Debt: FixmeComment |
| REDACTED | 7.2 | Near-clean | Static Analysis (SAST): High: REDACTED |
| src/Directory.Build.props | 7.6 | Near-clean | Explicit Debt: NoWarnInCsproj |
| src/Serehfa/RandomBits.cs | 8.2 | Near-clean | Explicit Debt: FixmeComment |
| src/Feersum.CompilerServices/Compile/Emit.fs | 8.5 | Near-clean | God Classes: FileTooLong: Compile/Emit.fs |
| src/Feersum.CompilerServices/Binding/Binder.fs | 8.5 | Near-clean | God Classes: FileTooLong: Binding/Binder.fs |
| src/Serehfa/Booleans.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (13–15 lines × 2) |
| src/Serehfa/Equivalence.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (9 lines × 2) |
| src/Serehfa/ArgHelpers.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| docs/design-docs/01-syntax-trees.md | 8.5 | Near-clean | ADR Quality: No context/problem and no consequences/trade-offs; the only content is a rationale for Red/Green trees plus a citation |
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. 52 of 57 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 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 — 57 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, 33 of 57 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.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. The test suite couldn't be built/run in-image and no coverage report is committed, so line coverage was not measured — and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. No coverage collector was found in your CI either, so there is no existing report to hand us. You can widen what we reach: optional: add a coverage collector to your test run and commit (or publish) its Cobertura/OpenCover/lcov output anywhere in the repo, or make the suite runnable in-image, and real coverage will be measured.
- 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 test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests.
- 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 (13867 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.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (2 contributor(s) across 707 commit(s) sampled, automation and bot accounts excluded). One of them holds 100% of the history; the other 1 hold 0% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- 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 0.4/KLoC density on this row were taken over this repository's .NET projects ALONE: .fs (5,973 lines, 81% 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.
- D27 Navigability — evaluation did not complete — Navigability not included (check did not complete) — excluded from the score.
- 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 build of this repository exited 1 and the cause could not be attributed, so no assemblies were produced and there was no IL to read. We do not read it as a defect in the repository: an unattributed failure leans OURS. D18 owns the question of whether this repository builds; it was not answered here.
- 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.
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.
- D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- 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.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- 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").
- 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.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D3 · God Classes
2 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 2 FileTooLong finding(s) in God Classes — start with Emit.fs, Binder.fs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
4 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (13–15 lines × 2) finding(s) in Code Duplication — start with Booleans.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with Equivalence.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (15 lines × 2) finding(s) in Code Duplication — start with ByteVectors.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
1 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D7 · Architectural Integrity
No mechanizable ADR was identified, so enforcement is not measured. Cycles found: 0.
What to do
- Enforce Architectural Integrity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D12 · Dependency Hygiene
10 outdated, 1 vulnerable, 1 deprecated packages.
What to do
- Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Deprecated finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 147 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 12 direct `PackageReference`(s), and 135 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D17 · Explicit Debt
6 deducted debt markers + 0 dead symbols across 1392 LoC in the .NET projects (0.4/KLoC) → score 9.1. Measured on the .NET source only: .fs (81% of production source) was not read, and carries at least 0 uncounted task marker(s) in 0 file(s).
What to do
- Resolve the 1 NoWarnInCsproj finding(s) in Explicit Debt — start with Directory.Build.props. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 4 FixmeComment finding(s) in Explicit Debt — start with Time.cs (3), RandomBits.cs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 TodoComment finding(s) in Explicit Debt — start with ByteVectors.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README is excellent: it opens with a compelling logo and a question 'Wots in that thare box yoor holdin?', then explains Feersum as an F# Scheme compiler for .NET written in F#, links to CI status, the NuGet package, and contributes, getting started, and a detailed DEVGUIDE. The examples/README is focused on its own directory (example projects), docs/10-language-reference through docs/index.md are each READMEs of documentation directories, and docs/design-docs documents design musings; none of these are the repository root. XML coverage is low at 25/151.
D20 · ADR Quality
Evaluated 3 ADR(s) individually; mean quality 7.0/10 (mixed — many ADRs miss context or consequences). 1 flagged with a specific gap.
What to do
- Resolve the 1 No context/problem and no consequences/trade-offs; the only content is a… finding(s) in ADR Quality — start with 01-syntax-trees.md. — One of this dimension's main actionable groups (1 warning-level).
D21 · Naming Consistency
4 naming inconsistencies across 193 sampled symbols.
What to do
- Resolve the 1 Inconsistent naming convention for arithmetic operations. Most methods… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Inconsistent naming for equality comparison concepts. The codebase mixes… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Inconsistent naming for factory/creation methods. Some types use 'New'… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
D24 · Comment Value
6 valuable / 0 redundant across 7 sampled comments.
D26 · Project Cohesion
0 of 1 projects flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
19 finding(s): 0 critical, 19 high, 0 medium, 0 low. 15 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 15 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (15 issue-level, 0 of them charged here).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 29 of the 59 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 7 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
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX8 · Test isolation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- 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 1 of 1 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
What to do
- Grow the ADR log (currently 3) — reach 8 to raise the maturity tier; document significant decisions as they're made.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) as a CI step. What was searched, so you can tell an absence from a miss: the 4778 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) — so a security regression fails the build instead of landing.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- The release job declares an environment, but its protection rules are not visible from the repository — confirm required reviewers are attached, or publish as a draft release so a bad build can be stopped before users can download it.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 96% | Exemplary | Solid. |
| Architecture | 97% | Exemplary | Strongest area. |
| Maturity | 72% | Exemplary | Solid. |
| Readiness | 53% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 62% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 1 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
Not evidenced — 1 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 61 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — no DI registrations detected
- AX2 Stateful singletons — no singleton implementations detected
- AX6 Interface segregation — no public interfaces
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C2 Access Controls — This is a dotnet-new template — authorization is deferred to the application you build from it. Add [Authorize]/policies (or imperative guards) when you wire up real users; until then there are no real endpoints to protect.
- C3 Audit Trail — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C4 Data Retention — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C5 Data-Subject Rights — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- D1 Cyclomatic Complexity — cyclomatic complexity not measured — .fs exposed no member bodies
- D10 Test Quality — ~2493 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 — no test run produced results
- D15 Churn × Complexity Hotspots — complexity unreadable for .fs — churn × complexity hotspots could not be measured
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- 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
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — At only 7365 LoC across a single .NET project there is no scale to justify any 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 — none of 3 ADRs are conformance-checkable — unverifiable.
- D27 Navigability — Navigability not included (check did not complete)
- D30 Dependency Vulnerabilities — nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan
- 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.
- 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.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- 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.
- D8 Code Coverage — Coverage not measured
- 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): 31 value object(s); 2 domain event(s); its domain events are published by services or handlers — no domain entity raises one
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P2 Observability — This repo is a library, not a deployed service — it has no process to operate, so production observability (structured logging, tracing/metrics, health checks) is N/A. A library may log via an injected ILogger, but the absence of operational telemetry is not a defect here. If it grows a host (web API, worker), the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — this isn't a service/API/worker
- 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 — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF3 Async & latency hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- S1 Web-Security Posture — No web surface detected in the analyzed source — no HTTP API or web-UI project (no controllers/minimal-API endpoints, no Razor/Blazor views) and no web middleware (HTTPS redirection, HSTS, security headers, cookies). Transport security, security headers, secure cookies, CSRF/input-validation and middleware-order controls are therefore N/A here — this is a library/CLI/worker, not a web app. Crypto hygiene was still checked and found nothing to flag. If this codebase becomes web-facing, the dimension reactivates automatically.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no async methods found
- X5 Nullable reference types — no NRT-eligible projects
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 21 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Vulnerable: MessagePack
- NoWarnInCsproj src/Directory.Build.props:5
- REDACTED
- REDACTED
Serious — 16 finding(s)
- FixmeComment src/Serehfa/RandomBits.cs:15
- FixmeComment src/Serehfa/Time.cs:17
- FixmeComment src/Serehfa/Time.cs:25
- FixmeComment src/Serehfa/Time.cs:33
- FileTooLong: Compile/Emit.fs src/Feersum.CompilerServices/Compile/Emit.fs
- FileTooLong: Binding/Binder.fs src/Feersum.CompilerServices/Binding/Binder.fs
- Deprecated: ReadLine.Reboot
- TodoComment src/Serehfa/ByteVectors.cs:24
- No context/problem and no consequences/trade-offs; the only content is a rationale for Red/Green trees plus a citation docs/design-docs/01-syntax-trees.md
- REDACTED
- REDACTED
- Duplicated block (13–15 lines × 2) src/Serehfa/Booleans.cs:25
- Duplicated block (9 lines × 2) src/Serehfa/Equivalence.cs:26
- Duplicated block (15 lines × 2) src/Serehfa/ByteVectors.cs:74
- Duplicated block (5 lines × 2) src/Serehfa/ArgHelpers.cs:41
- Test suite runs only after the merge
Minor — 9 finding(s)
- Inconsistent naming convention for arithmetic operations. Most methods use a prefix 'Arith' followed by an abbreviated operator name (e.g., Arithadd, Arithsub, Arithgt), but 'Aritheq' uses a different abbreviation style ('eq' instead of 'eq' or 'equal') and 'ArithZero' breaks the verb/operator pattern entirely by naming the method after a value/constant rather than an operation.
- Inconsistent naming for equality comparison concepts. The codebase mixes 'Equal', 'Equals', 'Eq', and 'Equiv' for similar comparison operations across different namespaces (Characters, Symbols, Ident, Equivalence, Booleans, Strings). 'CharEqualCI' and 'CharEqual' use 'Equal', while 'SymbolEquals' and 'StringEquals' use 'Equals'. 'BooleanEq' and 'Eq' use 'Eq'. 'Equiv' is used in Equivalence. This creates confusion about whether these are distinct concepts or just inconsistent naming for the same idea.
- Inconsistent naming for factory/creation methods. Some types use 'New' (NewBytevector, VectorNew, ListNew) while others use 'Make' (MakeBytevector, MakeVector, MakeList). This inconsistency exists both within the same namespace (ByteVectors) and across namespaces.
- Inconsistent suffix usage for case-insensitive or case-conversion operations. 'Upcase', 'Downcase', and 'Foldcase' use full words, while comparison methods use the abbreviation 'Ci' (e.g., CharLtCi). This mixes full words and abbreviations for similar case-related concepts.
- REDACTED
- REDACTED
- REDACTED
- No SAST
- No changelog
Minor — 11 finding(s)
- Outdated: Firethorn
- Outdated: Microsoft.Extensions.DependencyModel
- Outdated: Microsoft.SourceLink.GitHub
- Outdated: MinVer
- Outdated: MessagePack
- Outdated: coverlet.collector
- Outdated: Microsoft.NET.Test.Sdk
- Outdated: xunit.runner.visualstudio
- Outdated: xunit.v3
- Outdated: Verify.XunitV3
- XML-doc coverage: Serehfa src/Serehfa/Serehfa.csproj
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-655a0523f22947909d7b7bd7b916fcb5/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-655a0523f22947909d7b7bd7b916fcb5/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 . | 19 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | nuget | — | nuget: not applicable — nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |