Executive summary
DualBrain/bsharp meets our standard for a template or a sample. It scores 73 out of 100 and is rated Strong, and all five of its critical findings are security problems in the build pipeline.
Every lens scores high enough to be rated Strong, so no single lens holds the score back. The best first step is having someone learn and document the 31 files no active contributor knows, worth about 10 points. Fixing the two comments that repeat the code, or contradict it comes next, worth about 5 points.
Five pipeline tools are referenced by a changeable name, so the build pipeline can be tampered with. Pinning each tool to an exact version would close this risk.
The product code is 12,706 lines, about €17,000 to rebuild.
Every lens already scores high enough to be rated Strong, so no single lens holds the score back.
Rebuild cost: about €17,000 · Estimate
| Cost to rebuild | €5,500 to €28,000, for 92 to 293 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Low, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×1.1 at a score of 73. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 12,706 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 (global) | 2 Bsharp.CodeAnalysis.Text | 3 Microsoft.VisualBasic | 4 My | 5 Bsharp.CodeAnalysis.Syntax | 6 Bsharp.CodeAnalysis.Authoring | 7 Bsharp.CodeAnalysis.Symbols | 8 Bsharp.CodeAnalysis.Binding | 9 Bsharp.CodeAnalysis.Emit | 10 Bsharp.CodeAnalysis.Lowering | 11 Bsharp.CodeAnalysis | 12 Bsharp | 13 Bsharp.IO |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 (global) | |||||||||||||
| 2 Bsharp.CodeAnalysis.Text | |||||||||||||
| 3 Microsoft.VisualBasic | |||||||||||||
| 4 My | |||||||||||||
| 5 Bsharp.CodeAnalysis.Syntax | 7 | 4 | |||||||||||
| 6 Bsharp.CodeAnalysis.Authoring | 2 | 5 | |||||||||||
| 7 Bsharp.CodeAnalysis.Symbols | 3 | 6 | |||||||||||
| 8 Bsharp.CodeAnalysis.Binding | 1 | 51 | 30 | 3 | |||||||||
| 9 Bsharp.CodeAnalysis.Emit | 5 | 58 | 7 | ||||||||||
| 10 Bsharp.CodeAnalysis.Lowering | 1 | 10 | |||||||||||
| 11 Bsharp.CodeAnalysis | 2 | 3 | 6 | 20 | 1 | ||||||||
| 12 Bsharp | 1 | 1 | 1 | ||||||||||
| 13 Bsharp.IO | 1 | 1 |
5→2 Bsharp.CodeAnalysis.Syntax uses Bsharp.CodeAnalysis.Text✕
- Connections
- 7 pairs of types, where a type in Bsharp.CodeAnalysis.Syntax uses a type in Bsharp.CodeAnalysis.Text.
- The types involved
Bsharp.CodeAnalysis.Syntax.Lexer→Bsharp.CodeAnalysis.Text.SourceTextBsharp.CodeAnalysis.Syntax.Parser→Bsharp.CodeAnalysis.Text.SourceTextBsharp.CodeAnalysis.Syntax.SyntaxNode→Bsharp.CodeAnalysis.Text.TextLocationBsharp.CodeAnalysis.Syntax.SyntaxNode→Bsharp.CodeAnalysis.Text.TextSpanBsharp.CodeAnalysis.Syntax.SyntaxToken→Bsharp.CodeAnalysis.Text.TextSpanBsharp.CodeAnalysis.Syntax.SyntaxTree→Bsharp.CodeAnalysis.Text.SourceTextBsharp.CodeAnalysis.Syntax.SyntaxTrivia→Bsharp.CodeAnalysis.Text.TextSpan
- Direction
- Bsharp.CodeAnalysis.Syntax uses Bsharp.CodeAnalysis.Text, so a change to Bsharp.CodeAnalysis.Text can break Bsharp.CodeAnalysis.Syntax, while a change to Bsharp.CodeAnalysis.Syntax can't break Bsharp.CodeAnalysis.Text.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Syntax uses a module listed above it, which is the healthy direction.
5→11 Bsharp.CodeAnalysis.Syntax uses Bsharp.CodeAnalysis part of a loop✕
- Connections
- 4 pairs of types, where a type in Bsharp.CodeAnalysis.Syntax uses a type in Bsharp.CodeAnalysis.
- The types involved
Bsharp.CodeAnalysis.Syntax.Lexer→Bsharp.CodeAnalysis.DiagnosticBagBsharp.CodeAnalysis.Syntax.ParseHandler→Bsharp.CodeAnalysis.DiagnosticBsharp.CodeAnalysis.Syntax.Parser→Bsharp.CodeAnalysis.DiagnosticBagBsharp.CodeAnalysis.Syntax.SyntaxTree→Bsharp.CodeAnalysis.Diagnostic
- Direction
- Bsharp.CodeAnalysis.Syntax uses Bsharp.CodeAnalysis, so a change to Bsharp.CodeAnalysis can break Bsharp.CodeAnalysis.Syntax, while a change to Bsharp.CodeAnalysis.Syntax can't break Bsharp.CodeAnalysis.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6→2 Bsharp.CodeAnalysis.Authoring uses Bsharp.CodeAnalysis.Text✕
- Connections
- 2 pairs of types, where a type in Bsharp.CodeAnalysis.Authoring uses a type in Bsharp.CodeAnalysis.Text.
- The types involved
Bsharp.CodeAnalysis.Authoring.ClassifiedSpan→Bsharp.CodeAnalysis.Text.TextSpanBsharp.CodeAnalysis.Authoring.Classifier→Bsharp.CodeAnalysis.Text.TextSpan
- Direction
- Bsharp.CodeAnalysis.Authoring uses Bsharp.CodeAnalysis.Text, so a change to Bsharp.CodeAnalysis.Text can break Bsharp.CodeAnalysis.Authoring, while a change to Bsharp.CodeAnalysis.Authoring can't break Bsharp.CodeAnalysis.Text.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Authoring uses a module listed above it, which is the healthy direction.
6→5 Bsharp.CodeAnalysis.Authoring uses Bsharp.CodeAnalysis.Syntax✕
- Connections
- 5 pairs of types, where a type in Bsharp.CodeAnalysis.Authoring uses a type in Bsharp.CodeAnalysis.Syntax.
- The types involved
Bsharp.CodeAnalysis.Authoring.Classifier→Bsharp.CodeAnalysis.Syntax.SyntaxKindBsharp.CodeAnalysis.Authoring.Classifier→Bsharp.CodeAnalysis.Syntax.SyntaxNodeBsharp.CodeAnalysis.Authoring.Classifier→Bsharp.CodeAnalysis.Syntax.SyntaxTokenBsharp.CodeAnalysis.Authoring.Classifier→Bsharp.CodeAnalysis.Syntax.SyntaxTreeBsharp.CodeAnalysis.Authoring.Classifier→Bsharp.CodeAnalysis.Syntax.SyntaxTrivia
- Direction
- Bsharp.CodeAnalysis.Authoring uses Bsharp.CodeAnalysis.Syntax, so a change to Bsharp.CodeAnalysis.Syntax can break Bsharp.CodeAnalysis.Authoring, while a change to Bsharp.CodeAnalysis.Authoring can't break Bsharp.CodeAnalysis.Syntax.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Authoring uses a module listed above it, which is the healthy direction.
7→5 Bsharp.CodeAnalysis.Symbols uses Bsharp.CodeAnalysis.Syntax✕
- Connections
- 3 pairs of types, where a type in Bsharp.CodeAnalysis.Symbols uses a type in Bsharp.CodeAnalysis.Syntax.
- The types involved
Bsharp.CodeAnalysis.Symbols.FunctionSymbol→Bsharp.CodeAnalysis.Syntax.DefDeclarationSyntaxBsharp.CodeAnalysis.Symbols.FunctionSymbol→Bsharp.CodeAnalysis.Syntax.FunctionDeclarationSyntaxBsharp.CodeAnalysis.Symbols.FunctionSymbol→Bsharp.CodeAnalysis.Syntax.SingleLineDefDeclarationSyntax
- Direction
- Bsharp.CodeAnalysis.Symbols uses Bsharp.CodeAnalysis.Syntax, so a change to Bsharp.CodeAnalysis.Syntax can break Bsharp.CodeAnalysis.Symbols, while a change to Bsharp.CodeAnalysis.Symbols can't break Bsharp.CodeAnalysis.Syntax.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Symbols uses a module listed above it, which is the healthy direction.
7→8 Bsharp.CodeAnalysis.Symbols uses Bsharp.CodeAnalysis.Binding part of a loop✕
- Connections
- 6 pairs of types, where a type in Bsharp.CodeAnalysis.Symbols uses a type in Bsharp.CodeAnalysis.Binding.
- The types involved
Bsharp.CodeAnalysis.Symbols.GlobalArraySymbol→Bsharp.CodeAnalysis.Binding.BoundExpressionBsharp.CodeAnalysis.Symbols.GlobalVariableSymbol→Bsharp.CodeAnalysis.Binding.BoundConstantBsharp.CodeAnalysis.Symbols.LocalArraySymbol→Bsharp.CodeAnalysis.Binding.BoundExpressionBsharp.CodeAnalysis.Symbols.LocalVariableSymbol→Bsharp.CodeAnalysis.Binding.BoundConstantBsharp.CodeAnalysis.Symbols.VariableSymbol→Bsharp.CodeAnalysis.Binding.BoundConstantBsharp.CodeAnalysis.Symbols.VariableSymbol→Bsharp.CodeAnalysis.Binding.BoundExpression
- Direction
- Bsharp.CodeAnalysis.Symbols uses Bsharp.CodeAnalysis.Binding, so a change to Bsharp.CodeAnalysis.Binding can break Bsharp.CodeAnalysis.Symbols, while a change to Bsharp.CodeAnalysis.Symbols can't break Bsharp.CodeAnalysis.Binding.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
8→2 Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis.Text✕
- Connections
- 1 pair of types, where a type in Bsharp.CodeAnalysis.Binding uses a type in Bsharp.CodeAnalysis.Text.
- The types involved
Bsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Text.TextLocation
- Direction
- Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis.Text, so a change to Bsharp.CodeAnalysis.Text can break Bsharp.CodeAnalysis.Binding, while a change to Bsharp.CodeAnalysis.Binding can't break Bsharp.CodeAnalysis.Text.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Binding uses a module listed above it, which is the healthy direction.
8→5 Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis.Syntax✕
- Connections
- 51 pairs of types, where a type in Bsharp.CodeAnalysis.Binding uses a type in Bsharp.CodeAnalysis.Syntax. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
Bsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.AsClauseSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.AssignmentExpressionSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.BinaryExpressionSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.BlockStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.CallExpressionSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ChDirStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ClearStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ClsStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ContinueStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.DefDeclarationSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.DoUntilStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.DoWhileStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.EndStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ExitStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ExpressionStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ExpressionSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.ForStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.FunctionDeclarationSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.GosubStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.GotoStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.IfStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.InputStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.KillStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.LabelStatementSyntaxBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Syntax.LetStatementSyntax
- Direction
- Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis.Syntax, so a change to Bsharp.CodeAnalysis.Syntax can break Bsharp.CodeAnalysis.Binding, while a change to Bsharp.CodeAnalysis.Binding can't break Bsharp.CodeAnalysis.Syntax.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Binding uses a module listed above it, which is the healthy direction.
8→7 Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis.Symbols✕
- Connections
- 30 pairs of types, where a type in Bsharp.CodeAnalysis.Binding uses a type in Bsharp.CodeAnalysis.Symbols. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
Bsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundAssignmentExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundAssignmentExpression→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundBinaryExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundBinaryOperator→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundCallExpression→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Binding.BoundCallExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundConversionExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundErrorExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundForStatement→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundGlobalScope→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Binding.BoundGlobalScope→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundInputStatement→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundLetStatement→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundLiteralExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundMidStatement→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundProgram→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Binding.BoundScope→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Binding.BoundScope→Bsharp.CodeAnalysis.Symbols.SymbolBsharp.CodeAnalysis.Binding.BoundScope→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Binding.BoundScope→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Binding.BoundUnaryExpression→Bsharp.CodeAnalysis.Symbols.TypeSymbol
- Direction
- Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis.Symbols, so a change to Bsharp.CodeAnalysis.Symbols can break Bsharp.CodeAnalysis.Binding, while a change to Bsharp.CodeAnalysis.Binding can't break Bsharp.CodeAnalysis.Symbols.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Binding uses a module listed above it, which is the healthy direction.
8→11 Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis part of a loop✕
- Connections
- 3 pairs of types, where a type in Bsharp.CodeAnalysis.Binding uses a type in Bsharp.CodeAnalysis.
- The types involved
Bsharp.CodeAnalysis.Binding.Binder→Bsharp.CodeAnalysis.DiagnosticBagBsharp.CodeAnalysis.Binding.BoundGlobalScope→Bsharp.CodeAnalysis.DiagnosticBsharp.CodeAnalysis.Binding.BoundProgram→Bsharp.CodeAnalysis.Diagnostic
- Direction
- Bsharp.CodeAnalysis.Binding uses Bsharp.CodeAnalysis, so a change to Bsharp.CodeAnalysis can break Bsharp.CodeAnalysis.Binding, while a change to Bsharp.CodeAnalysis.Binding can't break Bsharp.CodeAnalysis.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
9→7 Bsharp.CodeAnalysis.Emit uses Bsharp.CodeAnalysis.Symbols✕
- Connections
- 5 pairs of types, where a type in Bsharp.CodeAnalysis.Emit uses a type in Bsharp.CodeAnalysis.Symbols.
- The types involved
Bsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.Emit.VbEmitter→Bsharp.CodeAnalysis.Symbols.FunctionSymbol
- Direction
- Bsharp.CodeAnalysis.Emit uses Bsharp.CodeAnalysis.Symbols, so a change to Bsharp.CodeAnalysis.Symbols can break Bsharp.CodeAnalysis.Emit, while a change to Bsharp.CodeAnalysis.Emit can't break Bsharp.CodeAnalysis.Symbols.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Emit uses a module listed above it, which is the healthy direction.
9→8 Bsharp.CodeAnalysis.Emit uses Bsharp.CodeAnalysis.Binding✕
- Connections
- 58 pairs of types, where a type in Bsharp.CodeAnalysis.Emit uses a type in Bsharp.CodeAnalysis.Binding. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
Bsharp.CodeAnalysis.Emit.Emitter→Bsharp.CodeAnalysis.Binding.BoundProgramBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundAssignmentExpressionBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundBinaryExpressionBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundBlockStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundCallExpressionBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundConversionExpressionBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundExpressionBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundGotoStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundHandlePrintLineStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundHandlePrintStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundLabelStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundLetStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundProgramBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundReturnStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundStatementBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundUnaryExpressionBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.Binding.BoundVariableExpressionBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundAssignmentExpressionBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundBinaryExpressionBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundBlockStatementBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundCallExpressionBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundConditionalGotoStatementBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundConversionExpressionBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundExpressionBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.Binding.BoundExpressionStatement
- Direction
- Bsharp.CodeAnalysis.Emit uses Bsharp.CodeAnalysis.Binding, so a change to Bsharp.CodeAnalysis.Binding can break Bsharp.CodeAnalysis.Emit, while a change to Bsharp.CodeAnalysis.Emit can't break Bsharp.CodeAnalysis.Binding.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Emit uses a module listed above it, which is the healthy direction.
9→11 Bsharp.CodeAnalysis.Emit uses Bsharp.CodeAnalysis part of a loop✕
- Connections
- 7 pairs of types, where a type in Bsharp.CodeAnalysis.Emit uses a type in Bsharp.CodeAnalysis.
- The types involved
Bsharp.CodeAnalysis.Emit.Emitter→Bsharp.CodeAnalysis.DiagnosticBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.DiagnosticBsharp.CodeAnalysis.Emit.JsEmitter→Bsharp.CodeAnalysis.DiagnosticBagBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.DiagnosticBsharp.CodeAnalysis.Emit.MsilEmitter→Bsharp.CodeAnalysis.DiagnosticBagBsharp.CodeAnalysis.Emit.VbEmitter→Bsharp.CodeAnalysis.DiagnosticBsharp.CodeAnalysis.Emit.VbEmitter→Bsharp.CodeAnalysis.DiagnosticBag
- Direction
- Bsharp.CodeAnalysis.Emit uses Bsharp.CodeAnalysis, so a change to Bsharp.CodeAnalysis can break Bsharp.CodeAnalysis.Emit, while a change to Bsharp.CodeAnalysis.Emit can't break Bsharp.CodeAnalysis.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
10→7 Bsharp.CodeAnalysis.Lowering uses Bsharp.CodeAnalysis.Symbols✕
- Connections
- 1 pair of types, where a type in Bsharp.CodeAnalysis.Lowering uses a type in Bsharp.CodeAnalysis.Symbols.
- The types involved
Bsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Symbols.FunctionSymbol
- Direction
- Bsharp.CodeAnalysis.Lowering uses Bsharp.CodeAnalysis.Symbols, so a change to Bsharp.CodeAnalysis.Symbols can break Bsharp.CodeAnalysis.Lowering, while a change to Bsharp.CodeAnalysis.Lowering can't break Bsharp.CodeAnalysis.Symbols.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Lowering uses a module listed above it, which is the healthy direction.
10→8 Bsharp.CodeAnalysis.Lowering uses Bsharp.CodeAnalysis.Binding✕
- Connections
- 10 pairs of types, where a type in Bsharp.CodeAnalysis.Lowering uses a type in Bsharp.CodeAnalysis.Binding.
- The types involved
Bsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundBlockStatementBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundConditionalGotoStatementBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundDoUntilStatementBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundDoWhileStatementBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundForStatementBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundIfStatementBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundLabelBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundStatementBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundTreeRewriterBsharp.CodeAnalysis.Lowering.Lowerer→Bsharp.CodeAnalysis.Binding.BoundWhileStatement
- Direction
- Bsharp.CodeAnalysis.Lowering uses Bsharp.CodeAnalysis.Binding, so a change to Bsharp.CodeAnalysis.Binding can break Bsharp.CodeAnalysis.Lowering, while a change to Bsharp.CodeAnalysis.Lowering can't break Bsharp.CodeAnalysis.Binding.
- Position
- Below the diagonal: Bsharp.CodeAnalysis.Lowering uses a module listed above it, which is the healthy direction.
11→2 Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Text✕
- Connections
- 2 pairs of types, where a type in Bsharp.CodeAnalysis uses a type in Bsharp.CodeAnalysis.Text.
- The types involved
Bsharp.CodeAnalysis.Diagnostic→Bsharp.CodeAnalysis.Text.TextLocationBsharp.CodeAnalysis.DiagnosticBag→Bsharp.CodeAnalysis.Text.TextLocation
- Direction
- Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Text, so a change to Bsharp.CodeAnalysis.Text can break Bsharp.CodeAnalysis, while a change to Bsharp.CodeAnalysis can't break Bsharp.CodeAnalysis.Text.
- Position
- Below the diagonal: Bsharp.CodeAnalysis uses a module listed above it, which is the healthy direction.
11→5 Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Syntax✕
- Connections
- 3 pairs of types, where a type in Bsharp.CodeAnalysis uses a type in Bsharp.CodeAnalysis.Syntax.
- The types involved
Bsharp.CodeAnalysis.Compilation→Bsharp.CodeAnalysis.Syntax.SyntaxTreeBsharp.CodeAnalysis.DiagnosticBag→Bsharp.CodeAnalysis.Syntax.SyntaxKindBsharp.CodeAnalysis.DiagnosticBag→Bsharp.CodeAnalysis.Syntax.SyntaxNode
- Direction
- Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Syntax, so a change to Bsharp.CodeAnalysis.Syntax can break Bsharp.CodeAnalysis, while a change to Bsharp.CodeAnalysis can't break Bsharp.CodeAnalysis.Syntax.
- Position
- Below the diagonal: Bsharp.CodeAnalysis uses a module listed above it, which is the healthy direction.
11→7 Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Symbols✕
- Connections
- 6 pairs of types, where a type in Bsharp.CodeAnalysis uses a type in Bsharp.CodeAnalysis.Symbols.
- The types involved
Bsharp.CodeAnalysis.Compilation→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Compilation→Bsharp.CodeAnalysis.Symbols.SymbolBsharp.CodeAnalysis.Compilation→Bsharp.CodeAnalysis.Symbols.VariableSymbolBsharp.CodeAnalysis.DiagnosticBag→Bsharp.CodeAnalysis.Symbols.TypeSymbolBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Symbols.FunctionSymbolBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Symbols.VariableSymbol
- Direction
- Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Symbols, so a change to Bsharp.CodeAnalysis.Symbols can break Bsharp.CodeAnalysis, while a change to Bsharp.CodeAnalysis can't break Bsharp.CodeAnalysis.Symbols.
- Position
- Below the diagonal: Bsharp.CodeAnalysis uses a module listed above it, which is the healthy direction.
11→8 Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Binding✕
- Connections
- 20 pairs of types, where a type in Bsharp.CodeAnalysis uses a type in Bsharp.CodeAnalysis.Binding.
- The types involved
Bsharp.CodeAnalysis.Compilation→Bsharp.CodeAnalysis.Binding.BoundGlobalScopeBsharp.CodeAnalysis.Compilation→Bsharp.CodeAnalysis.Binding.BoundProgramBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundAssignmentExpressionBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundBinaryExpressionBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundBlockStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundCallExpressionBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundConversionExpressionBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundExpressionBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundExpressionStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundHandleCommaStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundHandlePrintLineStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundHandlePrintStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundHandleSpcStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundHandleTabStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundLetStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundMidStatementBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundProgramBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundUnaryExpressionBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundVariableDeclarationBsharp.CodeAnalysis.Evaluator→Bsharp.CodeAnalysis.Binding.BoundVariableExpression
- Direction
- Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Binding, so a change to Bsharp.CodeAnalysis.Binding can break Bsharp.CodeAnalysis, while a change to Bsharp.CodeAnalysis can't break Bsharp.CodeAnalysis.Binding.
- Position
- Below the diagonal: Bsharp.CodeAnalysis uses a module listed above it, which is the healthy direction.
11→9 Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Emit✕
- Connections
- 1 pair of types, where a type in Bsharp.CodeAnalysis uses a type in Bsharp.CodeAnalysis.Emit.
- The types involved
Bsharp.CodeAnalysis.Compilation→Bsharp.CodeAnalysis.Emit.TargetPlatform
- Direction
- Bsharp.CodeAnalysis uses Bsharp.CodeAnalysis.Emit, so a change to Bsharp.CodeAnalysis.Emit can break Bsharp.CodeAnalysis, while a change to Bsharp.CodeAnalysis can't break Bsharp.CodeAnalysis.Emit.
- Position
- Below the diagonal: Bsharp.CodeAnalysis uses a module listed above it, which is the healthy direction.
12→2 Bsharp uses Bsharp.CodeAnalysis.Text✕
- Connections
- 1 pair of types, where a type in Bsharp uses a type in Bsharp.CodeAnalysis.Text.
- The types involved
Bsharp.TextSpanComparer→Bsharp.CodeAnalysis.Text.TextSpan
- Direction
- Bsharp uses Bsharp.CodeAnalysis.Text, so a change to Bsharp.CodeAnalysis.Text can break Bsharp, while a change to Bsharp can't break Bsharp.CodeAnalysis.Text.
- Position
- Below the diagonal: Bsharp uses a module listed above it, which is the healthy direction.
12→7 Bsharp uses Bsharp.CodeAnalysis.Symbols✕
- Connections
- 1 pair of types, where a type in Bsharp uses a type in Bsharp.CodeAnalysis.Symbols.
- The types involved
Bsharp.BsharpRepl→Bsharp.CodeAnalysis.Symbols.VariableSymbol
- Direction
- Bsharp uses Bsharp.CodeAnalysis.Symbols, so a change to Bsharp.CodeAnalysis.Symbols can break Bsharp, while a change to Bsharp can't break Bsharp.CodeAnalysis.Symbols.
- Position
- Below the diagonal: Bsharp uses a module listed above it, which is the healthy direction.
12→11 Bsharp uses Bsharp.CodeAnalysis✕
- Connections
- 1 pair of types, where a type in Bsharp uses a type in Bsharp.CodeAnalysis.
- The types involved
Bsharp.BsharpRepl→Bsharp.CodeAnalysis.Compilation
- Direction
- Bsharp uses Bsharp.CodeAnalysis, so a change to Bsharp.CodeAnalysis can break Bsharp, while a change to Bsharp can't break Bsharp.CodeAnalysis.
- Position
- Below the diagonal: Bsharp uses a module listed above it, which is the healthy direction.
13→5 Bsharp.IO uses Bsharp.CodeAnalysis.Syntax✕
- Connections
- 1 pair of types, where a type in Bsharp.IO uses a type in Bsharp.CodeAnalysis.Syntax.
- The types involved
Bsharp.IO.TextWriterExtensions→Bsharp.CodeAnalysis.Syntax.SyntaxKind
- Direction
- Bsharp.IO uses Bsharp.CodeAnalysis.Syntax, so a change to Bsharp.CodeAnalysis.Syntax can break Bsharp.IO, while a change to Bsharp.IO can't break Bsharp.CodeAnalysis.Syntax.
- Position
- Below the diagonal: Bsharp.IO uses a module listed above it, which is the healthy direction.
13→11 Bsharp.IO uses Bsharp.CodeAnalysis✕
- Connections
- 1 pair of types, where a type in Bsharp.IO uses a type in Bsharp.CodeAnalysis.
- The types involved
Bsharp.IO.TextWriterExtensions→Bsharp.CodeAnalysis.Diagnostic
- Direction
- Bsharp.IO uses Bsharp.CodeAnalysis, so a change to Bsharp.CodeAnalysis can break Bsharp.IO, while a change to Bsharp.IO can't break Bsharp.CodeAnalysis.
- Position
- Below the diagonal: Bsharp.IO uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 9 | High / Critical |
Roadmap
Begin by resolving orphaned files in the Knowledge Freshness dimension, prioritizing BoundBinaryOperator.vb, VbEmitter.vb, and Repl.vb, followed by the most significant orphaned files Binder.vb, Parser.vb, and Evaluator.vb. Clean up redundant comments in Evaluator.vb and Repl.vb to improve code clarity. Establish a clear entry point by adding a build and run section to the root README, and reorganize the project structure by moving production code into a dedicated src/ folder to separate it from tooling.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 31 Orphaned file finding(s) in Knowledge Freshness — start with BoundBinaryOperator.vb, VbEmitter.vb, Repl.vb. | +10.4 pts | Medium | Knowledge Freshness |
| Resolve the 2 redundant comment finding(s) in Comment Value — start with Evaluator.vb, Repl.vb. | +4.7 pts | Low | Comment Value |
| Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with Binder.vb, Parser.vb, Evaluator.vb. | +2.0 pts | Low | Knowledge Freshness |
| Add a build/run (quick start) section to the root README — the first thing a newcomer needs. | +3.9 pts | Medium | Documentation (README) |
| Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root. | +3.9 pts | Medium | Folder & project structure |
| Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with bsi.vbproj. | +1.4 pts | Low | Platform End-of-Life |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +1.5 pts | Medium | Release Hygiene |
| Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. | +0.7 pts | Low | Knowledge Freshness |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.2 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Mixed | Static Analysis (SAST): High: REDACTED |
| bsharp/CodeAnalysis/Evaluator.vb | 6.0 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Syntax/Lexer.vb | 6.0 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Emit/MsilEmitter.vb | 6.0 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Binding/Binder.vb | 6.0 | Near-clean | Explicit Debt: TodoComment |
| bsc/Program.vb | 6.0 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Syntax/Parser.vb | 6.0 | Near-clean | Explicit Debt: TodoComment |
| bsi/Repl.vb | 6.6 | Near-clean | Cyclomatic Complexity: Repl.Run (cyclomatic 16) |
| bsharp/CodeAnalysis/Compilation.vb | 6.7 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Binding/BoundTreeRewriter.vb | 6.7 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Syntax/SyntaxFacts.vb | 6.7 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Binding/BoundNodePrinter.vb | 6.7 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Lowering/Lowerer.vb | 6.7 | Near-clean | Explicit Debt: TodoComment |
| bsharp/CodeAnalysis/Binding/ConstantFolding.vb | 6.9 | Near-clean | Cyclomatic Complexity: ConstantFolding.Fold (cyclomatic 181) |
| bsharp/CodeAnalysis/Emit/JsEmitter.vb | 7.0 | Near-clean | Cyclomatic Complexity: JsEmitter.EmitBinaryExpression (cyclomatic 30) |
| bsharp/CodeAnalysis/Binding/ControlFlowGraph.vb | 7.4 | Near-clean | Cyclomatic Complexity: GraphBuilder.Build (cyclomatic 46) |
| bsharp/CodeAnalysis/Syntax/SyntaxNode.vb | 7.4 | Near-clean | Cyclomatic Complexity: SyntaxNode.PrettyPrint (cyclomatic 22) |
| bsharp/CodeAnalysis/Binding/BoundBinaryOperator.vb | 7.4 | Near-clean | Cyclomatic Complexity: BoundBinaryOperator.Initialize (cyclomatic 21) |
| bsharp/CodeAnalysis/Binding/Conversion.vb | 7.8 | Near-clean | Cyclomatic Complexity: Conversion.Classify (cyclomatic 84) |
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. 32 of 32 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. 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 — 32 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, 174 of 181 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | — | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `dotnet list package` did not return usable output (restore or query failed); no outdated/vulnerable/deprecated data to assess. The tool said: `dotnet list package` exited 1 with no output.
- 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-contributor repository — bus factor is not applicable (1 contributor(s) across 114 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so 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 C# workspace loaded this repository's projects but reported a load failure, and the dead-code reference search is unreliable over a graph that did not load cleanly, so it was skipped. The other debt markers on this row were read; dead symbols were not, and their absence from the score is not a finding that the code has none. First load diagnostic: Failure: solution references project 'bsharp.tests\bsharp.tests.vbproj' but the on-disk path is 'bsharp.tests\bsharp.Tests.vbproj' (separator/casing mismatch); on a case-sensitive file system MSBuildWorkspace would load 0 of these projects. Loading a corrected copy of the solution.
- D18 Solution Shape — 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 build did not finish within its budget on this run; structural metrics are reported, build/warning status is unknown.
- D21 Naming Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. 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.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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.
- PF3 Async & latency hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. No function of a language this check models was read, so there was no async code to examine. That is a limit of the analyzer on this repository, not a finding about it.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X10 Duplicated predicate — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X6 Hand-rolled structured-format parsing — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Python, JavaScript/TypeScript, Go, Java/Kotlin/Scala, Ruby, PHP, Rust, Swift, Erlang, Elixir and Dart source only, and no C# was loaded and none of those languages was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X7 Silent fallback defaults — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C#, Python, TypeScript/JavaScript, Rust, Go, Java, Kotlin, Scala, PHP, Ruby, Swift and Dart syntax only, and no C#, Python, TypeScript/JavaScript, Rust, Go, Java, Kotlin, Scala, PHP, Ruby, Swift or Dart was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- 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.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D24 Comment Value: Comment value is measured as redundancy only: a comment that repeats its code's words is found, but a paraphrase in other words, a vague comment, or one the code contradicts is not, and whether a comment is valuable is not claimed. Comments in other scripts or languages, and outside C#, are not judged.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- 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.
- 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.
Dimensions
D1 · Cyclomatic Complexity
19 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was ConstantFolding.Fold at 181. A further 12 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being SyntaxFacts.GetText at 113 — they are counted neither in the figure above nor in this dimension's score. 4 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: bsharp/CodeAnalysis/Syntax/SyntaxFacts.vb (SyntaxFacts.GetText at 113), bsharp/CodeAnalysis/Syntax/Parser.vb (Parser.ParseStatement at 35), bsharp/CodeAnalysis/Binding/BoundTreeRewriter.vb (BoundTreeRewriter.RewriteStatement at 32), bsharp/CodeAnalysis/Binding/BoundNodePrinter.vb (BoundNodePrinter.WriteTo at 31). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Bring the 4 bodies over 60 down to 60 or less in Cyclomatic Complexity — start with ConstantFolding.Fold (cyclomatic 181), Evaluator.EvaluateBinaryExpression (cyclomatic 179), Conversion.Classify (cyclomatic 84). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 4 together lifts Cyclomatic Complexity from 5.7 to about 6.9/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
28 method(s) exceeded the cognitive complexity threshold of 15; the worst was Evaluator.EvaluateStatement at 141.
What to do
- Bring the 2 bodies over 60 down to 60 or less in Cognitive Complexity — start with Evaluator.EvaluateStatement (cognitive 141), Conversion.Classify (cognitive 85). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 4.4 to about 5.8/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
23 god class(es) detected.
What to do
- Resolve the 8 MethodTooLong finding(s) in God Classes — start with Evaluator.vb (3), JsEmitter.vb, ConstantFolding.vb. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 6 TooManyMethods finding(s) in God Classes — start with Parser.vb, Binder.vb, DiagnosticBag.vb. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 6 FileTooLong finding(s) in God Classes — start with Binder.vb, Parser.vb, Evaluator.vb. — One of this dimension's main actionable groups (6 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
14 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted.
What to do
- Resolve the 2 Duplicated block (15 lines × 2) finding(s) in Code Duplication — start with JsEmitter.vb (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with JsEmitter.vb (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Edited copy of a member (16 corresponding lines) finding(s) in Code Duplication — start with JsEmitter.vb. — 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
4 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
1 of 23 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with BsharpRepl.vb. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D11 · Test Reliability
0 flaky across 1 measured tier(s). unit: measured (0 flaky).
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 152 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 7 direct `PackageReference`(s), and 145 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.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
38 deducted debt markers + unmeasured dead symbols across 12706 LoC in the .NET projects (0.3/KLoC) → score 9.5. Dead code not measured: the solution did not load cleanly, so the reference search was skipped.
What to do
- Resolve the 38 TodoComment finding(s) in Explicit Debt — start with Binder.vb (12), Evaluator.vb (8), Parser.vb (3). — One of this dimension's main actionable groups (38 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.
D18 · Solution Shape
4 projects, 175 source files, 13826 hand-written lines of code (12706 production / 1120 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), 3 inter-project edges (build status unknown — did not finish).
What to do
- Resolve the 1 Solution references a project that does not exist finding(s) in Solution Shape — start with bsharp.sln. — One of this dimension's main actionable groups (1 warning-level).
D24 · Comment Value
2 of 186 judged comments only repeat the code they sit on (1.1 %). 40 comment(s) in another language or script were not judged.
What to do
- Resolve the 2 redundant comment finding(s) in Comment Value — start with Evaluator.vb, Repl.vb. — One of this dimension's main actionable groups (2 recommendation-level).
D26 · Project Cohesion
0 of 4 projects flagged as possibly oversized/incoherent.
D27 · Navigability
49 % of calls cross a namespace and 0 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: medium — clean/modular boundaries expected.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
9 finding(s): 0 critical, 5 high, 4 medium, 0 low. 5 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.
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 warning-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
- No action in Static Analysis (SAST) — all 5 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 (5 issue-level, 0 of them charged here).
D34 · Knowledge Freshness
34 of 34 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is bsharp/CodeAnalysis/Binding/Binder.vb. Counted over 34 of the 168 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 31 Orphaned file finding(s) in Knowledge Freshness — start with BoundBinaryOperator.vb, VbEmitter.vb, Repl.vb. — One of this dimension's main actionable groups (31 recommendation-level).
- Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with Binder.vb, Parser.vb, Evaluator.vb. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D39 · IL Efficiency
17 of 769 first-party methods have an oversized IL body.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 4 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.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with bsi.vbproj. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX8 · Test isolation
GD1 · Unfinished & placeholder code
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 4 of 4 project(s) that lack one — worth up to 2 pts.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
- Only 2/4 projects share a common root namespace — the code's module identity is inconsistent.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
- Adopt a consistent root-namespace convention (a shared prefix, e.g. Acme.*); short project-file/directory names are fine as long as the RootNamespace is uniform.
M4 · Documentation accuracy
P1 · CI/CD gates
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.
X28 · Index access outside its own emptiness guard
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 84% | Exemplary | Solid. |
| Architecture | 100% | Exemplary | Strongest area. |
| Maturity | 63% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 82% | Exemplary | Solid. |
| Security | 80% | Strong | Solid. |
Unscored — 2 check(s) recorded observations but carry no score
- D36 Supply-chain Provenance & Signing — 2 observation(s) recorded · The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 80 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
- AX5 Architecture & structure — no elaborate style needed at this size (~12.7k production LoC (213 types) across 3 project(s) / 13 namespace(s) with no recognised architectural style or layering — at this size, deliberate module boundaries would help.)
- 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 — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~1120 lines of test source are present (.vb) 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.
- D12 Dependency Hygiene — Dependency hygiene not measured
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D19 Documentation Quality — No runnable or published unit to look for an example in, and no multi-project root README to look for a map in; the other documentation kinds are withheld (see the gaps), so documentation quality is not applicable here.
- D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- D21 Naming Consistency — Naming consistency is measured on C# only; Visual Basic, html not measured.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (12,706 production LoC in the .NET projects) — bounded contexts are not needed at this size No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- 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.
- 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).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: this repository did not build in our analyzer environment (a C#/MSBuild compiler error), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. We did not read WHERE the failing diagnostic is, so this does not claim the fault is in your test code — a repository written for an older SDK band can compile for you and not for us. Run `dotnet build` on this commit; if it succeeds, the gap is ours. Committing the Cobertura/OpenCover/lcov report your CI already produces also lets us measure real coverage without building anything.
- D9 Test Distribution — Test source is present (.vb) 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 — not scored — this repository shows none of the 3 signals this lens looks for
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- M2 Architecture documentation — This repo declares itself a template / kata / sample / demo — formal architecture documentation (ADRs, C4 diagrams) is deferred to a real application built from it, so its absence is not a defect here.
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P2 Observability — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. Structured logging, tracing/metrics and health checks are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
- P3 Security & performance tooling — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. SAST, secret/dependency scanning and performance benchmarks are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
- 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 — Not applicable: no benchmark suite was found. This check searched for a BenchmarkDotNet reference in an .fsproj or .vbproj, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Visual Basic code has 15,616 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- PF3 Async & latency hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X7 Silent fallback defaults — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
Appendix A — Findings (grouped)
Critical — 5 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 134 finding(s)
- TodoComment bsc/Program.vb:80
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:105
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:115
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:209
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:400
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:535
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:830
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:884
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:1126
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:1194
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:779
- TodoComment bsharp/CodeAnalysis/Syntax/Parser.vb:1055
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:886
- TodoComment bsharp/CodeAnalysis/Binding/Binder.vb:1134
- TodoComment bsharp/CodeAnalysis/Binding/BoundNode.vb:9
- TodoComment bsharp/CodeAnalysis/Binding/BoundNodePrinter.vb:360
- TodoComment bsharp/CodeAnalysis/Binding/BoundScope.vb:33
- TodoComment bsharp/CodeAnalysis/Binding/BoundTreeRewriter.vb:152
- TodoComment bsharp/CodeAnalysis/Compilation.vb:230
- TodoComment bsharp/CodeAnalysis/Emit/MsilEmitter.vb:42
- TodoComment bsharp/CodeAnalysis/Emit/MsilEmitter.vb:260
- TodoComment bsharp/CodeAnalysis/Emit/MsilEmitter.vb:263
- TodoComment bsharp/CodeAnalysis/EvaluationResult.vb:14
- TodoComment bsharp/CodeAnalysis/Evaluator.vb:18
- TodoComment bsharp/CodeAnalysis/Evaluator.vb:86
- MethodTooLong: JsEmitter.Emit bsharp/CodeAnalysis/Emit/JsEmitter.vb:30
- MethodTooLong: ConstantFolding.Fold bsharp/CodeAnalysis/Binding/ConstantFolding.vb:25
- MethodTooLong: Evaluator.EvaluateBinaryExpression bsharp/CodeAnalysis/Evaluator.vb:461
- MethodTooLong: Evaluator.EvaluateStatement bsharp/CodeAnalysis/Evaluator.vb:54
- MethodTooLong: BoundBinaryOperator.Initialize bsharp/CodeAnalysis/Binding/BoundBinaryOperator.vb:226
- MethodTooLong: Evaluator.EvaluateCallExpression bsharp/CodeAnalysis/Evaluator.vb:712
- MethodTooLong: SyntaxFacts.GetText bsharp/CodeAnalysis/Syntax/SyntaxFacts.vb:184
- MethodTooLong: Binder.BindGlobalScope bsharp/CodeAnalysis/Binding/Binder.vb:31
- TooManyMethods: Parser bsharp/CodeAnalysis/Syntax/Parser.vb
- TooManyMethods: Binder bsharp/CodeAnalysis/Binding/Binder.vb
- TooManyMethods: DiagnosticBag bsharp/CodeAnalysis/DiagnosticBag.vb
- TooManyMethods: BoundTreeRewriter bsharp/CodeAnalysis/Binding/BoundTreeRewriter.vb
- TooManyMethods: BoundNodePrinter bsharp/CodeAnalysis/Binding/BoundNodePrinter.vb
- TooManyMethods: MsilEmitter bsharp/CodeAnalysis/Emit/MsilEmitter.vb
- FileTooLong: Binding/Binder.vb bsharp/CodeAnalysis/Binding/Binder.vb
- FileTooLong: Syntax/Parser.vb bsharp/CodeAnalysis/Syntax/Parser.vb
- FileTooLong: CodeAnalysis/Evaluator.vb bsharp/CodeAnalysis/Evaluator.vb
- FileTooLong: bsi/Repl.vb bsi/Repl.vb
- FileTooLong: Emit/MsilEmitter.vb bsharp/CodeAnalysis/Emit/MsilEmitter.vb
- FileTooLong: Emit/JsEmitter.vb bsharp/CodeAnalysis/Emit/JsEmitter.vb
- ClassTooLong: Evaluator bsharp/CodeAnalysis/Evaluator.vb
- ClassTooLong: Repl bsi/Repl.vb
- ClassTooLong: JsEmitter bsharp/CodeAnalysis/Emit/JsEmitter.vb
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (15 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:462
- Duplicated block (15 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:505
- Duplicated block (5 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:530
- Duplicated block (5 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:566
- ConstantFolding.Fold (cyclomatic 181) bsharp/CodeAnalysis/Binding/ConstantFolding.vb:25
- Evaluator.EvaluateBinaryExpression (cyclomatic 179) bsharp/CodeAnalysis/Evaluator.vb:461
- Conversion.Classify (cyclomatic 84) bsharp/CodeAnalysis/Binding/Conversion.vb:27
- Evaluator.EvaluateStatement (cyclomatic 75) bsharp/CodeAnalysis/Evaluator.vb:54
- GraphBuilder.Build (cyclomatic 46) bsharp/CodeAnalysis/Binding/ControlFlowGraph.vb:156
- Lexer.ReadToken (cyclomatic 38) bsharp/CodeAnalysis/Syntax/Lexer.vb:185
- Evaluator.EvaluateCallExpression (cyclomatic 34) bsharp/CodeAnalysis/Evaluator.vb:712
- JsEmitter.EmitBinaryExpression (cyclomatic 30) bsharp/CodeAnalysis/Emit/JsEmitter.vb:333
- VbEmitter.EmitBinaryExpression (cyclomatic 30) bsharp/CodeAnalysis/Emit/VbEmitter.vb:234
- MsilEmitter.EmitBinaryExpression (cyclomatic 29) bsharp/CodeAnalysis/Emit/MsilEmitter.vb:215
- Binder.BindGlobalScope (cyclomatic 26) bsharp/CodeAnalysis/Binding/Binder.vb:31
- Lexer.ReadTrivia (cyclomatic 24) bsharp/CodeAnalysis/Syntax/Lexer.vb:85
- Program.Main (cyclomatic 23) bsc/Program.vb:9
- Lexer.ReadIdentifierOrKeyword (cyclomatic 22) bsharp/CodeAnalysis/Syntax/Lexer.vb:342
- SyntaxNode.PrettyPrint (cyclomatic 22) bsharp/CodeAnalysis/Syntax/SyntaxNode.vb:112
- BoundBinaryOperator.Initialize (cyclomatic 21) bsharp/CodeAnalysis/Binding/BoundBinaryOperator.vb:226
- TypeSymbol.TypeSymbolToType (cyclomatic 21) bsharp/CodeAnalysis/Symbols/TypeSymbol.vb:29
- BoundLiteralExpression.New.ctor (cyclomatic 20) bsharp/CodeAnalysis/Binding/BoundLiteralExpression.vb:8
- Repl.Run (cyclomatic 16) bsi/Repl.vb:45
- Solution references a project that does not exist bsharp.sln
- Evaluator.EvaluateStatement (cognitive 141) bsharp/CodeAnalysis/Evaluator.vb:54
- Conversion.Classify (cognitive 85) bsharp/CodeAnalysis/Binding/Conversion.vb:27
- Binder.BindGlobalScope (cognitive 53) bsharp/CodeAnalysis/Binding/Binder.vb:31
- Repl.Run (cognitive 48) bsi/Repl.vb:45
- GraphBuilder.Build (cognitive 47) bsharp/CodeAnalysis/Binding/ControlFlowGraph.vb:156
- BoundBinaryOperator.Initialize (cognitive 45) bsharp/CodeAnalysis/Binding/BoundBinaryOperator.vb:226
- ConstantFolding.Fold (cognitive 43) bsharp/CodeAnalysis/Binding/ConstantFolding.vb:25
- Evaluator.EvaluateCallExpression (cognitive 39) bsharp/CodeAnalysis/Evaluator.vb:712
- SyntaxNode.PrettyPrint (cognitive 34) bsharp/CodeAnalysis/Syntax/SyntaxNode.vb:112
- Evaluator.EvaluateBinaryExpression (cognitive 33) bsharp/CodeAnalysis/Evaluator.vb:461
- SyntaxNode.GetChildren (cognitive 27) bsharp/CodeAnalysis/Syntax/SyntaxNode.vb:49
- BoundLiteralExpression.New.ctor (cognitive 24) bsharp/CodeAnalysis/Binding/BoundLiteralExpression.vb:8
- ControlFlowGraph.AllPathsReturn (cognitive 24) bsharp/CodeAnalysis/Binding/ControlFlowGraph.vb:344
- Binder.BindSingleLineIfStatement (cognitive 21) bsharp/CodeAnalysis/Binding/Binder.vb:1045
- Lexer.ReadTrivia (cognitive 21) bsharp/CodeAnalysis/Syntax/Lexer.vb:85
- Parser.New.ctor (cognitive 21) bsharp/CodeAnalysis/Syntax/Parser.vb:15
- Repl.EvaluateMetaCommand (cognitive 21) bsi/Repl.vb:733
- Binder.BindInputStatement (cognitive 20) bsharp/CodeAnalysis/Binding/Binder.vb:797
- TypeSymbol.TypeSymbolToType (cognitive 20) bsharp/CodeAnalysis/Symbols/TypeSymbol.vb:29
- Binder.BindReturnStatement (cognitive 19) bsharp/CodeAnalysis/Binding/Binder.vb:1008
- JsEmitter.EmitBinaryExpression (cognitive 18) bsharp/CodeAnalysis/Emit/JsEmitter.vb:333
- MsilEmitter.Emit_ResolveMethod (cognitive 18) bsharp/CodeAnalysis/Emit/MsilEmitter.vb:643
- Program.Main (cognitive 18) bsc/Program.vb:9
- MsilEmitter.EmitBinaryExpression (cognitive 17) bsharp/CodeAnalysis/Emit/MsilEmitter.vb:215
- VbEmitter.EmitBinaryExpression (cognitive 17) bsharp/CodeAnalysis/Emit/VbEmitter.vb:234
- Parser.ParsePrintStatement (cognitive 17) bsharp/CodeAnalysis/Syntax/Parser.vb:496
- Compilation.GetSymbols (cognitive 16) bsharp/CodeAnalysis/Compilation.vb:70
- Lexer.ReadIdentifierOrKeyword (cognitive 16) bsharp/CodeAnalysis/Syntax/Lexer.vb:342
- Edited copy of a member (16 corresponding lines) bsharp/CodeAnalysis/Emit/JsEmitter.vb:462
- Duplicated block (32 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:348
- Duplicated block (28 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:692
- Duplicated block (23 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:664
- Duplicated block (22 lines × 2) bsharp/CodeAnalysis/Binding/Binder.vb:322
- Duplicated block (16–17 lines × 2) bsharp/CodeAnalysis/Binding/Binder.vb:526
- Duplicated block (14 lines × 2) bsharp/CodeAnalysis/Lowering/Lowerer.vb:190
- Duplicated block (9 lines × 2) bsharp/CodeAnalysis/Binding/Binder.vb:781
- Duplicated block (9 lines × 3) bsharp/CodeAnalysis/Emit/JsEmitter.vb:361
- Duplicated block (6 lines × 3) bsharp/CodeAnalysis/Binding/Binder.vb:311
- Duplicated block (6 lines × 2) bsharp/CodeAnalysis/Emit/JsEmitter.vb:750
- End-of-life runtime: .NET net7.0 bsi/bsi.vbproj:6
- Low cohesion: BsharpRepl (LCOM4 6) bsi/BsharpRepl.vb:14
- Coverage not measured — test suite did not build
- NuGet dependencies are not locked
Minor — 42 finding(s)
- Orphaned file bsharp/CodeAnalysis/Binding/BoundBinaryOperator.vb:1
- Orphaned file bsharp/CodeAnalysis/Emit/VbEmitter.vb:1
- Orphaned file bsi/Repl.vb:1
- Orphaned file bsharp/CodeAnalysis/Emit/MsilEmitter.vb:1
- Orphaned file bsharp/CodeAnalysis/Emit/JsEmitter.vb:1
- Orphaned file bsharp/CodeAnalysis/Binding/BoundTreeRewriter.vb:1
- Orphaned file bsharp/CodeAnalysis/Binding/ConstantFolding.vb:1
- Orphaned file bsharp/CodeAnalysis/Binding/BoundNodePrinter.vb:1
- Orphaned file bsharp/CodeAnalysis/Syntax/SyntaxFacts.vb:1
- Orphaned file bsharp/CodeAnalysis/Binding/ControlFlowGraph.vb:1
- Orphaned file bsharp/CodeAnalysis/Syntax/Lexer.vb:1
- Orphaned file bsi/BsharpRepl.vb:1
- Orphaned file bsharp/CodeAnalysis/DiagnosticBag.vb:1
- Orphaned file bsharp/CodeAnalysis/Lowering/Lowerer.vb:1
- Orphaned file bsharp/CodeAnalysis/Compilation.vb:1
- Orphaned file bsharp/CodeAnalysis/Syntax/SyntaxNode.vb:1
- Orphaned file bsharp/CodeAnalysis/Symbols/BuiltinFunctions.vb:1
- Orphaned file bsharp/CodeAnalysis/Binding/Conversion.vb:1
- Orphaned file bsharp/CodeAnalysis/IO/TextWriterExtension.vb:1
- Orphaned file bsharp/CodeAnalysis/Syntax/IfStatementSyntax.vb:1
- Orphaned file bsharp/CodeAnalysis/Text/SourceText.vb:1
- Orphaned file bsharp/CodeAnalysis/Syntax/FunctionDeclarationSyntax.vb:1
- Orphaned file bsharp/CodeAnalysis/Binding/BoundNode.vb:1
- Orphaned file bsharp/CodeAnalysis/Syntax/SyntaxTree.vb:1
- Orphaned file bsharp/CodeAnalysis/Binding/BoundUnaryOperator.vb:1
- Most significant orphaned file bsharp/CodeAnalysis/Binding/Binder.vb:1
- Most significant orphaned file bsharp/CodeAnalysis/Syntax/Parser.vb:1
- Most significant orphaned file bsharp/CodeAnalysis/Evaluator.vb:1
- redundant comment bsharp/CodeAnalysis/Evaluator.vb:794
- redundant comment bsi/Repl.vb:444
- Dormant codebase
- REDACTED
- IL efficiency: 17 authored method(s) exceed the IL budget bsharp/CodeAnalysis/Binding/ConstantFolding.vb:27
- No src/ separation
- Inconsistent root namespaces
- No changelog
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-a91b886c7e8547d99f62f221e73badaa/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-a91b886c7e8547d99f62f221e73badaa/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 --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt .github .gitignore LICENSE README.md bsc bsharp bsharp.png bsharp.sln bsharp.tests bsi samples | 9 | 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 | — |