Executive summary
The system holds an adequate overall standing of 57%, indicating a workable asset that carries real risk in its structural foundations. While the code itself is clean and maintainable, the architecture lacks the resilience needed for confident, long-term evolution. This score reflects a system that functions well today but may struggle to adapt quickly to changing business needs without significant effort.
The value tied up in this system is modest, comprising roughly 5,500 lines of production code. Rebuilding it from scratch would require minimal resources—approximately one engineer-month at a cost of around €8,900. This low rebuild cost suggests that while the current logic is simple, the lack of architectural documentation and decision records means that knowledge is fragile. If key personnel leave, the institutional understanding of why the system is built this way could vanish, creating hidden costs in future maintenance and onboarding.
The primary risk lies in architectural drift. With an architecture score of 53%, the system lacks clear boundaries and documented design decisions. This ambiguity means that changes in one area could unexpectedly ripple through others, increasing the likelihood of defects and delaying feature delivery. Without a clear map of how components interact, new team members will face a steep learning curve, and existing engineers may spend more time debugging than building new value. This uncertainty directly impacts delivery speed and increases the cost of change.
A secondary concern is operational visibility. The readiness score of 55% highlights gaps in testing and observability. Although the code is healthy, the absence of measured test coverage and reliable test runs means we cannot be certain the system behaves as expected under load or after updates. This lack of confidence exposes the business to potential outages and reliability issues, particularly as the system scales or integrates with other services. Security is currently manageable, but the single vulnerable dependency must be addressed immediately to prevent exposure.
The system’s greatest strength is its code health, which scores 90%. The logic is clean, consistent, and easy to understand, providing a solid foundation for future improvements. This high quality reduces the immediate risk of bugs in the core logic and makes the system easier to maintain.
To maximize leverage, focus first on resolving the single vulnerable dependency. This is a quick win that significantly reduces security exposure. Following that, document key architectural decisions and add a high-level overview to the README. These steps will stabilize the system’s knowledge base and improve long-term maintainability without requiring major code changes.
No single dominant problem — the weakest areas are close, so progress on any of them moves the score.
New since the last scan (43+)
- D1 · Impl.execTestAsync (cyclomatic 18) Expecto/Expecto.Impl.fs
- D1 · LiterateFormatting.tokeniserForOutputTemplate (cyclomatic 18) Expecto/Logging.fs
- D1 · Performance.findFastest (cyclomatic 17) Expecto/Performance.fs
- D1 · Impl.runStressWithCancel (cyclomatic 16) Expecto/Expecto.Impl.fs
- D1 · ExpectoFsCheckModule.propertyTest (cyclomatic 16) Expecto.FsCheck/FsCheck.fs
- D1 · ExpectoFsCheckModule.propertyTest (cyclomatic 16) Expecto.FsCheck3/FsCheck3.fs
- D2 · Performance.findFastest (cognitive 35) Expecto/Performance.fs
- D2 · ProgressIndicator.start (cognitive 33) Expecto/Progress.fs
- D2 · Expect.equalWithDiffPrinter (cognitive 26) Expecto/Expect.fs
- D2 · LiterateFormatting.tokeniserForOutputTemplate (cognitive 23) Expecto/Logging.fs
- D2 · Impl.runStressWithCancel (cognitive 18) Expecto/Expecto.Impl.fs
- D2 · ParserBits.findNextNonPropText (cognitive 18) Expecto/Logging.fs
- D2 · Impl.execTestAsync (cognitive 17) Expecto/Expecto.Impl.fs
- D2 · Tests.runTestsWithCLIArgsAndCancel (cognitive 16) Expecto/Expecto.fs
- D3 · TooManyFunctions: Expect Expecto/Flip.Expect.fs
- D3 · TooManyFunctions: Tests Expecto/Expecto.fs
- D3 · FileTooLong: Expecto/Logging.fs Expecto/Logging.fs
- D3 · FileTooLong: Expecto/Expecto.Impl.fs Expecto/Expecto.Impl.fs
- D3 · FileTooLong: Expecto/Expect.fs Expecto/Expect.fs
- D3 · TooManyFunctions: Runner Expecto/CSharp.fs
- D4 · Near-duplicate member pair (162 shared lines) Expecto.FsCheck/FsCheck.fs
- D4 · Duplicated block (87 lines × 2) Expecto.FsCheck/FsCheck.fs
- D4 · Duplicated block (31 lines × 2) Expecto.FsCheck/FsCheck.fs
- D4 · Duplicated block (29–30 lines × 2) Expecto.Sample/Expecto.Sample.fs
- D4 · Duplicated block (23 lines × 2) Expecto.FsCheck/FsCheck.fs
- D4 · Duplicated block (21–22 lines × 2) Expecto.FsCheck/FsCheck.fs
- D4 · Duplicated block (14 lines × 2) Expecto/Logging.fs
- D4 · Duplicated block (10 lines × 2) Expecto/Logging.fs
- D4 · Duplicated block (9 lines × 2) Expecto/Expecto.Impl.fs
- D4 · Duplicated block (5–6 lines × 2) Expecto/CSharp.fs
- D4 · Duplicated block (5 lines × 2) Expecto/Expect.fs
- D4 · Duplicated block (5 lines × 2) Expecto/TestResults.fs
- D28 · REDACTED
- D28 · REDACTED
- D28 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D29 · REDACTED
- D30 · REDACTED CVE: REDACTED
Rebuild cost & value ~ Modeled — €2,900–€15,000
| Cost to rebuild | €2,900–€15,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.8× (at 57% quality) |
| Size & shape | Small · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.1 person-years of build effort (about ~€8,900 to rebuild). Its weakest lens is Architecture at 53% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency matrix
| depends on → | 1 BenchmarkDotNetTests | 2 Expecto | 3 Expecto.Async | 4 Expecto.BenchmarkDotNetModule | 5 Expecto.Bug341Test | 6 Expecto.CodeLocationTests | 7 Expecto.CodeLocationTests.CodeLocationSamples | 8 Expecto.Logging.FsMtParser | 9 Expecto.Logging.Literate | 10 Expecto.Accuracy32Module | 11 Expecto.AccuracyModule | 12 Expecto.Expect | 13 Expecto.ExpectoFsCheckModule | 14 Expecto.Flip.Expect | 15 Expecto.Helpers | 16 Expecto.Impl.CodeLocation | 17 Expecto.Impl.TestDiscovery | 18 Expecto.Logging | 19 Expecto.Logging.FsMtParser.ParserBits | 20 Expecto.Performance | 21 Expecto.Statistics | 22 Expecto.TestModule | 23 Expecto.Impl | 24 Expecto.Logging.ANSIOutputWriter | 25 Expecto.Logging.DVar | 26 Expecto.Logging.Formatting | 27 Expecto.Logging.Global | 28 Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers | 29 Expecto.Logging.LiterateTokenisation | 30 Expecto.Logging.Log | 31 Expecto.Logging.LoggerEx | 32 Expecto.Logging.MessageModule | 33 Expecto.Logging.Targets | 34 Expecto.CSharp | 35 Expecto.CSharp.ConfigExt | 36 Expecto.ProgressIndicator | 37 Expecto.TestResults | 38 Expecto.Tests | 39 Expecto.CSharp.Runner | 40 Expecto.Tests.ExpectoConfigModule |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 BenchmarkDotNetTests | ||||||||||||||||||||||||||||||||||||||||
| 2 Expecto | ||||||||||||||||||||||||||||||||||||||||
| 3 Expecto.Async | ||||||||||||||||||||||||||||||||||||||||
| 4 Expecto.BenchmarkDotNetModule | ||||||||||||||||||||||||||||||||||||||||
| 5 Expecto.Bug341Test | ||||||||||||||||||||||||||||||||||||||||
| 6 Expecto.CodeLocationTests | ||||||||||||||||||||||||||||||||||||||||
| 7 Expecto.CodeLocationTests.CodeLocationSamples | ||||||||||||||||||||||||||||||||||||||||
| 8 Expecto.Logging.FsMtParser | ||||||||||||||||||||||||||||||||||||||||
| 9 Expecto.Logging.Literate | ||||||||||||||||||||||||||||||||||||||||
| 10 Expecto.Accuracy32Module | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 Expecto.AccuracyModule | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 Expecto.Expect | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 Expecto.ExpectoFsCheckModule | 3 | |||||||||||||||||||||||||||||||||||||||
| 14 Expecto.Flip.Expect | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 Expecto.Helpers | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Expecto.Impl.CodeLocation | 2 | |||||||||||||||||||||||||||||||||||||||
| 17 Expecto.Impl.TestDiscovery | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Expecto.Logging | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 Expecto.Logging.FsMtParser.ParserBits | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Expecto.Performance | 2 | |||||||||||||||||||||||||||||||||||||||
| 21 Expecto.Statistics | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 Expecto.TestModule | 4 | |||||||||||||||||||||||||||||||||||||||
| 23 Expecto.Impl | 7 | 3 | ||||||||||||||||||||||||||||||||||||||
| 24 Expecto.Logging.ANSIOutputWriter | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 Expecto.Logging.DVar | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 Expecto.Logging.Formatting | 2 | |||||||||||||||||||||||||||||||||||||||
| 27 Expecto.Logging.Global | 6 | |||||||||||||||||||||||||||||||||||||||
| 28 Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 Expecto.Logging.LiterateTokenisation | 2 | 3 | ||||||||||||||||||||||||||||||||||||||
| 30 Expecto.Logging.Log | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 Expecto.Logging.LoggerEx | 3 | |||||||||||||||||||||||||||||||||||||||
| 32 Expecto.Logging.MessageModule | 2 | |||||||||||||||||||||||||||||||||||||||
| 33 Expecto.Logging.Targets | 2 | |||||||||||||||||||||||||||||||||||||||
| 34 Expecto.CSharp | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 35 Expecto.CSharp.ConfigExt | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 Expecto.ProgressIndicator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 37 Expecto.TestResults | 1 | |||||||||||||||||||||||||||||||||||||||
| 38 Expecto.Tests | 10 | 1 | 4 | |||||||||||||||||||||||||||||||||||||
| 39 Expecto.CSharp.Runner | 1 | 1 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 40 Expecto.Tests.ExpectoConfigModule | 1 | 1 |
10→2 Expecto.Accuracy32Module depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.Accuracy32Module → type in Expecto) reference.
- Which types
Expecto.Accuracy32Module.Accuracy32Module→Expecto.Accuracy`2
- Direction
- Expecto.Accuracy32Module uses Expecto. Changing Expecto can break Expecto.Accuracy32Module, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→2 Expecto.AccuracyModule depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.AccuracyModule → type in Expecto) reference.
- Which types
Expecto.AccuracyModule.AccuracyModule→Expecto.Accuracy`2
- Direction
- Expecto.AccuracyModule uses Expecto. Changing Expecto can break Expecto.AccuracyModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→2 Expecto.Expect depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.Expect → type in Expecto) reference.
- Which types
Expecto.Expect.Expect→Expecto.Accuracy`2
- Direction
- Expecto.Expect uses Expecto. Changing Expecto can break Expecto.Expect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→2 Expecto.ExpectoFsCheckModule depends on Expecto✕
- Type pairs
- 3 distinct (type in Expecto.ExpectoFsCheckModule → type in Expecto) references.
- Which types
Expecto.ExpectoFsCheckModule.ExpectoFsCheckModule→Expecto.FocusStateExpecto.ExpectoFsCheckModule.ExpectoFsCheckModule→Expecto.FsCheckConfigExpecto.ExpectoFsCheckModule.ExpectoFsCheckModule→Expecto.Test
- Direction
- Expecto.ExpectoFsCheckModule uses Expecto. Changing Expecto can break Expecto.ExpectoFsCheckModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→2 Expecto.Flip.Expect depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.Flip.Expect → type in Expecto) reference.
- Which types
Expecto.Flip.Expect.Expect→Expecto.Accuracy`2
- Direction
- Expecto.Flip.Expect uses Expecto. Changing Expecto can break Expecto.Flip.Expect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→2 Expecto.Helpers depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.Helpers → type in Expecto) reference.
- Which types
Expecto.Helpers.Helpers→Expecto.FocusState
- Direction
- Expecto.Helpers uses Expecto. Changing Expecto can break Expecto.Helpers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→2 Expecto.Impl.CodeLocation depends on Expecto✕
- Type pairs
- 2 distinct (type in Expecto.Impl.CodeLocation → type in Expecto) references.
- Which types
Expecto.Impl.CodeLocation.CodeLocation→Expecto.SourceLocationExpecto.Impl.CodeLocation.CodeLocation→Expecto.TestCode
- Direction
- Expecto.Impl.CodeLocation uses Expecto. Changing Expecto can break Expecto.Impl.CodeLocation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→2 Expecto.Impl.TestDiscovery depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.Impl.TestDiscovery → type in Expecto) reference.
- Which types
Expecto.Impl.TestDiscovery.TestDiscovery→Expecto.Test
- Direction
- Expecto.Impl.TestDiscovery uses Expecto. Changing Expecto can break Expecto.Impl.TestDiscovery, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→9 Expecto.Logging depends on Expecto.Logging.Literate✕
- Type pairs
- 1 distinct (type in Expecto.Logging → type in Expecto.Logging.Literate) reference.
- Which types
Expecto.Logging.LiterateConsoleTarget→Expecto.Logging.Literate.LiterateOptions
- Direction
- Expecto.Logging uses Expecto.Logging.Literate. Changing Expecto.Logging.Literate can break Expecto.Logging, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→8 Expecto.Logging.FsMtParser.ParserBits depends on Expecto.Logging.FsMtParser✕
- Type pairs
- 1 distinct (type in Expecto.Logging.FsMtParser.ParserBits → type in Expecto.Logging.FsMtParser) reference.
- Which types
Expecto.Logging.FsMtParser.ParserBits.ParserBits→Expecto.Logging.FsMtParser.Property
- Direction
- Expecto.Logging.FsMtParser.ParserBits uses Expecto.Logging.FsMtParser. Changing Expecto.Logging.FsMtParser can break Expecto.Logging.FsMtParser.ParserBits, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→2 Expecto.Performance depends on Expecto✕
- Type pairs
- 2 distinct (type in Expecto.Performance → type in Expecto) references.
- Which types
Expecto.Performance.CompareResult`1→Expecto.SampleStatisticsExpecto.Performance.Performance→Expecto.SampleStatistics
- Direction
- Expecto.Performance uses Expecto. Changing Expecto can break Expecto.Performance, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→2 Expecto.Statistics depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.Statistics → type in Expecto) reference.
- Which types
Expecto.Statistics.Statistics→Expecto.SampleStatistics
- Direction
- Expecto.Statistics uses Expecto. Changing Expecto can break Expecto.Statistics, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→2 Expecto.TestModule depends on Expecto✕
- Type pairs
- 4 distinct (type in Expecto.TestModule → type in Expecto) references.
- Which types
Expecto.TestModule.TestModule→Expecto.FlatTestExpecto.TestModule.TestModule→Expecto.FocusStateExpecto.TestModule.TestModule→Expecto.TestExpecto.TestModule.TestModule→Expecto.TestCode
- Direction
- Expecto.TestModule uses Expecto. Changing Expecto can break Expecto.TestModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→2 Expecto.Impl depends on Expecto✕
- Type pairs
- 7 distinct (type in Expecto.Impl → type in Expecto) references.
- Which types
Expecto.Impl.ExpectoConfig→Expecto.FocusStateExpecto.Impl.Impl→Expecto.FlatTestExpecto.Impl.Impl→Expecto.SourceLocationExpecto.Impl.Impl→Expecto.TestExpecto.Impl.Impl→Expecto.TestCodeExpecto.Impl.TestPrinters→Expecto.FlatTestExpecto.Impl.TestRunSummary→Expecto.FlatTest
- Direction
- Expecto.Impl uses Expecto. Changing Expecto can break Expecto.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→18 Expecto.Impl depends on Expecto.Logging✕
- Type pairs
- 3 distinct (type in Expecto.Impl → type in Expecto.Logging) references.
- Which types
Expecto.Impl.ExpectoConfig→Expecto.Logging.ColourLevelExpecto.Impl.ExpectoConfig→Expecto.Logging.LogLevelExpecto.Impl.Impl→Expecto.Logging.Logger
- Direction
- Expecto.Impl uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Impl, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→18 Expecto.Logging.ANSIOutputWriter depends on Expecto.Logging✕
- Type pairs
- 1 distinct (type in Expecto.Logging.ANSIOutputWriter → type in Expecto.Logging) reference.
- Which types
Expecto.Logging.ANSIOutputWriter.ANSIOutputWriter→Expecto.Logging.ColourLevel
- Direction
- Expecto.Logging.ANSIOutputWriter uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.ANSIOutputWriter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→18 Expecto.Logging.DVar depends on Expecto.Logging✕
- Type pairs
- 1 distinct (type in Expecto.Logging.DVar → type in Expecto.Logging) reference.
- Which types
Expecto.Logging.DVar.DVar→Expecto.Logging.DVar`1
- Direction
- Expecto.Logging.DVar uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.DVar, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→18 Expecto.Logging.Formatting depends on Expecto.Logging✕
- Type pairs
- 2 distinct (type in Expecto.Logging.Formatting → type in Expecto.Logging) references.
- Which types
Expecto.Logging.Formatting.Formatting→Expecto.Logging.MessageExpecto.Logging.Formatting.Formatting→Expecto.Logging.PointValue
- Direction
- Expecto.Logging.Formatting uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.Formatting, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→18 Expecto.Logging.Global depends on Expecto.Logging✕
- Type pairs
- 6 distinct (type in Expecto.Logging.Global → type in Expecto.Logging) references.
- Which types
Expecto.Logging.Global.Flyweight→Expecto.Logging.LogLevelExpecto.Logging.Global.Flyweight→Expecto.Logging.LoggerExpecto.Logging.Global.Global→Expecto.Logging.DVar`1Expecto.Logging.Global.Global→Expecto.Logging.LogLevelExpecto.Logging.Global.Global→Expecto.Logging.LoggerExpecto.Logging.Global.Global→Expecto.Logging.LoggingConfig
- Direction
- Expecto.Logging.Global uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.Global, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→9 Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers depends on Expecto.Logging.Literate✕
- Type pairs
- 1 distinct (type in Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers → type in Expecto.Logging.Literate) reference.
- Which types
Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers.OutputTemplateTokenisers→Expecto.Logging.Literate.LiterateOptions
- Direction
- Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers uses Expecto.Logging.Literate. Changing Expecto.Logging.Literate can break Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→18 Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers depends on Expecto.Logging✕
- Type pairs
- 1 distinct (type in Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers → type in Expecto.Logging) reference.
- Which types
Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers.OutputTemplateTokenisers→Expecto.Logging.Message
- Direction
- Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.LiterateFormatting.OutputTemplateTokenisers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→9 Expecto.Logging.LiterateTokenisation depends on Expecto.Logging.Literate✕
- Type pairs
- 2 distinct (type in Expecto.Logging.LiterateTokenisation → type in Expecto.Logging.Literate) references.
- Which types
Expecto.Logging.LiterateTokenisation.LiterateTokenisation→Expecto.Logging.Literate.LiterateOptionsExpecto.Logging.LiterateTokenisation.LiterateTokenisation→Expecto.Logging.Literate.LiterateToken
- Direction
- Expecto.Logging.LiterateTokenisation uses Expecto.Logging.Literate. Changing Expecto.Logging.Literate can break Expecto.Logging.LiterateTokenisation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→18 Expecto.Logging.LiterateTokenisation depends on Expecto.Logging✕
- Type pairs
- 3 distinct (type in Expecto.Logging.LiterateTokenisation → type in Expecto.Logging) references.
- Which types
Expecto.Logging.LiterateTokenisation.LiterateTokenisation→Expecto.Logging.LogLevelExpecto.Logging.LiterateTokenisation.LiterateTokenisation→Expecto.Logging.MessageExpecto.Logging.LiterateTokenisation.LiterateTokenisation→Expecto.Logging.PointValue
- Direction
- Expecto.Logging.LiterateTokenisation uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.LiterateTokenisation, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→18 Expecto.Logging.Log depends on Expecto.Logging✕
- Type pairs
- 1 distinct (type in Expecto.Logging.Log → type in Expecto.Logging) reference.
- Which types
Expecto.Logging.Log.Log→Expecto.Logging.Logger
- Direction
- Expecto.Logging.Log uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.Log, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→18 Expecto.Logging.LoggerEx depends on Expecto.Logging✕
- Type pairs
- 3 distinct (type in Expecto.Logging.LoggerEx → type in Expecto.Logging) references.
- Which types
Expecto.Logging.LoggerEx.LoggerEx→Expecto.Logging.LogLevelExpecto.Logging.LoggerEx.LoggerEx→Expecto.Logging.LoggerExpecto.Logging.LoggerEx.LoggerEx→Expecto.Logging.Message
- Direction
- Expecto.Logging.LoggerEx uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.LoggerEx, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→18 Expecto.Logging.MessageModule depends on Expecto.Logging✕
- Type pairs
- 2 distinct (type in Expecto.Logging.MessageModule → type in Expecto.Logging) references.
- Which types
Expecto.Logging.MessageModule.MessageModule→Expecto.Logging.LogLevelExpecto.Logging.MessageModule.MessageModule→Expecto.Logging.Message
- Direction
- Expecto.Logging.MessageModule uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.MessageModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→18 Expecto.Logging.Targets depends on Expecto.Logging✕
- Type pairs
- 2 distinct (type in Expecto.Logging.Targets → type in Expecto.Logging) references.
- Which types
Expecto.Logging.Targets.Targets→Expecto.Logging.LogLevelExpecto.Logging.Targets.Targets→Expecto.Logging.Logger
- Direction
- Expecto.Logging.Targets uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Logging.Targets, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→2 Expecto.CSharp depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.CSharp → type in Expecto) reference.
- Which types
Expecto.CSharp.ITestPrinter→Expecto.Test
- Direction
- Expecto.CSharp uses Expecto. Changing Expecto can break Expecto.CSharp, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→23 Expecto.CSharp depends on Expecto.Impl✕
- Type pairs
- 2 distinct (type in Expecto.CSharp → type in Expecto.Impl) references.
- Which types
Expecto.CSharp.ITestPrinter→Expecto.Impl.ExpectoConfigExpecto.CSharp.ITestPrinter→Expecto.Impl.TestRunSummary
- Direction
- Expecto.CSharp uses Expecto.Impl. Changing Expecto.Impl can break Expecto.CSharp, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→23 Expecto.CSharp.ConfigExt depends on Expecto.Impl✕
- Type pairs
- 1 distinct (type in Expecto.CSharp.ConfigExt → type in Expecto.Impl) reference.
- Which types
Expecto.CSharp.ConfigExt.ConfigExt→Expecto.Impl.ExpectoConfig
- Direction
- Expecto.CSharp.ConfigExt uses Expecto.Impl. Changing Expecto.Impl can break Expecto.CSharp.ConfigExt, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→2 Expecto.ProgressIndicator depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.ProgressIndicator → type in Expecto) reference.
- Which types
Expecto.ProgressIndicator.ProgressIndicator→Expecto.Progress
- Direction
- Expecto.ProgressIndicator uses Expecto. Changing Expecto can break Expecto.ProgressIndicator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→24 Expecto.ProgressIndicator depends on Expecto.Logging.ANSIOutputWriter✕
- Type pairs
- 1 distinct (type in Expecto.ProgressIndicator → type in Expecto.Logging.ANSIOutputWriter) reference.
- Which types
Expecto.ProgressIndicator.ProgressIndicator→Expecto.Logging.ANSIOutputWriter.T
- Direction
- Expecto.ProgressIndicator uses Expecto.Logging.ANSIOutputWriter. Changing Expecto.Logging.ANSIOutputWriter can break Expecto.ProgressIndicator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→23 Expecto.TestResults depends on Expecto.Impl✕
- Type pairs
- 1 distinct (type in Expecto.TestResults → type in Expecto.Impl) reference.
- Which types
Expecto.TestResults.TestResults→Expecto.Impl.TestRunSummary
- Direction
- Expecto.TestResults uses Expecto.Impl. Changing Expecto.Impl can break Expecto.TestResults, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→2 Expecto.Tests depends on Expecto✕
- Type pairs
- 10 distinct (type in Expecto.Tests → type in Expecto) references.
- Which types
Expecto.Tests.CLIArguments→Expecto.FocusStateExpecto.Tests.TestAsyncBuilder→Expecto.FocusStateExpecto.Tests.TestAsyncBuilder→Expecto.TestExpecto.Tests.TestCaseBuilder→Expecto.FocusStateExpecto.Tests.TestCaseBuilder→Expecto.TestExpecto.Tests.TestJobBuilder→Expecto.FocusStateExpecto.Tests.TestJobBuilder→Expecto.TestExpecto.Tests.TestTaskBuilder→Expecto.FocusStateExpecto.Tests.TestTaskBuilder→Expecto.TestExpecto.Tests.Tests→Expecto.Test
- Direction
- Expecto.Tests uses Expecto. Changing Expecto can break Expecto.Tests, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→18 Expecto.Tests depends on Expecto.Logging✕
- Type pairs
- 1 distinct (type in Expecto.Tests → type in Expecto.Logging) reference.
- Which types
Expecto.Tests.CLIArguments→Expecto.Logging.LogLevel
- Direction
- Expecto.Tests uses Expecto.Logging. Changing Expecto.Logging can break Expecto.Tests, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→23 Expecto.Tests depends on Expecto.Impl✕
- Type pairs
- 4 distinct (type in Expecto.Tests → type in Expecto.Impl) references.
- Which types
Expecto.Tests.CLIArguments→Expecto.Impl.TestPrintersExpecto.Tests.FillFromArgsResult→Expecto.Impl.ExpectoConfigExpecto.Tests.Tests→Expecto.Impl.ExpectoConfigExpecto.Tests.Tests→Expecto.Impl.JoinWith
- Direction
- Expecto.Tests uses Expecto.Impl. Changing Expecto.Impl can break Expecto.Tests, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→2 Expecto.CSharp.Runner depends on Expecto✕
- Type pairs
- 1 distinct (type in Expecto.CSharp.Runner → type in Expecto) reference.
- Which types
Expecto.CSharp.Runner.Runner→Expecto.Test
- Direction
- Expecto.CSharp.Runner uses Expecto. Changing Expecto can break Expecto.CSharp.Runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→18 Expecto.CSharp.Runner depends on Expecto.Logging✕
- Type pairs
- 1 distinct (type in Expecto.CSharp.Runner → type in Expecto.Logging) reference.
- Which types
Expecto.CSharp.Runner.Runner→Expecto.Logging.LogLevel
- Direction
- Expecto.CSharp.Runner uses Expecto.Logging. Changing Expecto.Logging can break Expecto.CSharp.Runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→23 Expecto.CSharp.Runner depends on Expecto.Impl✕
- Type pairs
- 2 distinct (type in Expecto.CSharp.Runner → type in Expecto.Impl) references.
- Which types
Expecto.CSharp.Runner.Runner→Expecto.Impl.ExpectoConfigExpecto.CSharp.Runner.Runner→Expecto.Impl.TestPrinters
- Direction
- Expecto.CSharp.Runner uses Expecto.Impl. Changing Expecto.Impl can break Expecto.CSharp.Runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→34 Expecto.CSharp.Runner depends on Expecto.CSharp✕
- Type pairs
- 1 distinct (type in Expecto.CSharp.Runner → type in Expecto.CSharp) reference.
- Which types
Expecto.CSharp.Runner.Runner→Expecto.CSharp.ITestPrinter
- Direction
- Expecto.CSharp.Runner uses Expecto.CSharp. Changing Expecto.CSharp can break Expecto.CSharp.Runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→38 Expecto.CSharp.Runner depends on Expecto.Tests✕
- Type pairs
- 1 distinct (type in Expecto.CSharp.Runner → type in Expecto.Tests) reference.
- Which types
Expecto.CSharp.Runner.Runner→Expecto.Tests.CLIArguments
- Direction
- Expecto.CSharp.Runner uses Expecto.Tests. Changing Expecto.Tests can break Expecto.CSharp.Runner, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→23 Expecto.Tests.ExpectoConfigModule depends on Expecto.Impl✕
- Type pairs
- 1 distinct (type in Expecto.Tests.ExpectoConfigModule → type in Expecto.Impl) reference.
- Which types
Expecto.Tests.ExpectoConfigModule.ExpectoConfigModule→Expecto.Impl.ExpectoConfig
- Direction
- Expecto.Tests.ExpectoConfigModule uses Expecto.Impl. Changing Expecto.Impl can break Expecto.Tests.ExpectoConfigModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→38 Expecto.Tests.ExpectoConfigModule depends on Expecto.Tests✕
- Type pairs
- 1 distinct (type in Expecto.Tests.ExpectoConfigModule → type in Expecto.Tests) reference.
- Which types
Expecto.Tests.ExpectoConfigModule.ExpectoConfigModule→Expecto.Tests.FillFromArgsResult
- Direction
- Expecto.Tests.ExpectoConfigModule uses Expecto.Tests. Changing Expecto.Tests can break Expecto.Tests.ExpectoConfigModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 7 | REDACTED / Critical |
| A02:2021 — Cryptographic Failures | 4 | REDACTED / Critical |
| A06:2021 — Vulnerable & Outdated Components | 1 | REDACTED / Critical |
Roadmap
First, resolve the single vulnerable dependency to secure the codebase. Next, establish clear architectural governance by documenting key decisions in a dedicated directory and ensuring the root README accurately reflects the current system capabilities. Finally, reorganize the project structure to separate production code from tooling and align the documentation with the actual implementation.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. | +4.6 pts | Low | Dependency Hygiene |
| Resolve the 2 Orphaned knowledge finding(s) in Knowledge Freshness — start with Logging.fs, Expecto.fs. | +2.2 pts | Low | Knowledge Freshness |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +4.3 pts | Medium | Architecture documentation |
| Resolve the 1 Scattered collaborators finding(s) in Navigability. | +1.7 pts | Low | Navigability |
| Add an 'Architecture' / 'How it works' section to the root README — the high-level shape. | +3.3 pts | Medium | Documentation (README) |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. | +1.4 pts | Low | Documentation Quality |
| Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root. | +2.8 pts | Medium | Folder & project structure |
| Reconcile the README with reality: README advertises a RAG / ML engine, but no ML/RAG code or dependency exists. | +2.8 pts | Medium | Documentation accuracy |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): REDACTED: REDACTED |
| REDACTED | 5.8 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): REDACTED: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): REDACTED: REDACTED |
| Expecto/Expecto.Impl.fs | 7.1 | Mixed | Cyclomatic Complexity: Impl.execTestAsync (cyclomatic 18) |
| Expecto/Logging.fs | 7.1 | Mixed | Cyclomatic Complexity: LiterateFormatting.tokeniserForOutputTemplate (cyclomatic 18) |
| Expecto.FsCheck/FsCheck.fs | 7.1 | Mixed | Cyclomatic Complexity: ExpectoFsCheckModule.propertyTest (cyclomatic 16) |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED secret: REDACTED |
| Expecto/Expect.fs | 7.4 | Mixed | Cognitive Complexity: Expect.equalWithDiffPrinter (cognitive 26) |
| Expecto/Performance.fs | 7.8 | Mixed | Cyclomatic Complexity: Performance.findFastest (cyclomatic 17) |
| Expecto/Expecto.fs | 7.8 | Mixed | Cognitive Complexity: Tests.runTestsWithCLIArgsAndCancel (cognitive 16) |
| Expecto/CSharp.fs | 7.8 | Mixed | God Classes: TooManyFunctions: Runner |
| Expecto.FsCheck3/FsCheck3.fs | 8.5 | Near-clean | Cyclomatic Complexity: ExpectoFsCheckModule.propertyTest (cyclomatic 16) |
| Expecto/Progress.fs | 8.5 | Near-clean | Cognitive Complexity: ProgressIndicator.start (cognitive 33) |
| Expecto/Flip.Expect.fs | 8.5 | Near-clean | God Classes: TooManyFunctions: Expect |
| Expecto.Sample/Expecto.Sample.fs | 8.5 | Near-clean | Code Duplication: Duplicated block (29–30 lines × 2) |
| Expecto/TestResults.fs | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| README.md | 9.5 | Near-clean | Documentation Quality: Documentation: no usage examples |
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. 30 of 33 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 33 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, 45 of 112 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests.
- 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 0 deducted marker(s) and the 0.0/KLoC density on this row were taken over this repository's .NET projects ALONE: .fs (5,523 lines, 100% of production source) went unread, because every marker collector on this path is reached through a C# workspace. D17's marker collectors need a compiler we do not have for that language, so none of its nine marker kinds were read there. The debt in that source is UNMEASURED — its absence from the score above is a gap in this analyzer's language coverage, not a finding that the code carries none.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- D39 IL Efficiency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `dotnet build` exited 0, so the repository built; our search of the build output found no first-party assembly to read. That is a gap in how we locate build output, not a property of this repository.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- ED5 Idempotency — 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 finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P1 CI/CD gates — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. A CI pipeline exists and the word "test" appears, but no explicit test-runner invocation (your stack's test command, or a test job) was matched — so either the gate runs tests through a step this pass could not recognise, or "test" is incidental here (a path, "latest", a reporter). Which of the two it is cannot be settled from this dimension's evidence; the coverage dimensions report whether a suite exists at all. You can widen what we reach: name the test runner explicitly in the pipeline step (your stack's test command, or a job named for the suite) so the gate is unambiguous to a reader and to this pass.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
6 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Impl.execTestAsync at 18. A further 4 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being Tests.foldCLIArgumentToConfig at 34 — they are counted neither in the figure above nor in this dimension's score. 1 file carries no cyclomatic complexity row at all for this reason — every one of its over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: Expecto/Expecto.fs (Tests.foldCLIArgumentToConfig at 34). 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
- Resolve the 2 ExpectoFsCheckModule.propertyTest (cyclomatic 16) finding(s) in Cyclomatic Complexity — start with FsCheck.fs, FsCheck3.fs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Impl.execTestAsync (cyclomatic 18) finding(s) in Cyclomatic Complexity — start with Expecto.Impl.fs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 LiterateFormatting.tokeniserForOutputTemplate (cyclomatic 18) finding(s) in Cyclomatic Complexity — start with Logging.fs. — One of this dimension's main actionable groups (1 warning-level).
- 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
8 method(s) exceeded the cognitive complexity threshold of 15; the worst was Performance.findFastest at 35.
What to do
- Resolve the 1 Performance.findFastest (cognitive 35) finding(s) in Cognitive Complexity — start with Performance.fs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 ProgressIndicator.start (cognitive 33) finding(s) in Cognitive Complexity — start with Progress.fs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Expect.equalWithDiffPrinter (cognitive 26) finding(s) in Cognitive Complexity — start with Expect.fs. — One of this dimension's main actionable groups (1 warning-level).
- 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
6 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 3 TooManyFunctions finding(s) in God Classes — start with Flip.Expect.fs, Expecto.fs, CSharp.fs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 FileTooLong finding(s) in God Classes — start with Logging.fs, Expecto.Impl.fs, Expect.fs. — One of this dimension's main actionable groups (3 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
11 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. 1 of the 12 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 2 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with Expect.fs, TestResults.fs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Near-duplicate member pair (162 shared lines) finding(s) in Code Duplication — start with FsCheck.fs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (87 lines × 2) finding(s) in Code Duplication — start with FsCheck.fs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
2 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
What to do
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D12 · Dependency Hygiene
48 outdated, 1 vulnerable, 0 deprecated packages.
What to do
- Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 98 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 6 direct `PackageReference`(s), and 92 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.
D16 · Bus Factor
3 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is Expecto/Expect.fs. Counted over 11 of the 21 production source files in this repository: 5 are under the ~2,400-byte size floor this dimension measures over, and the remaining 5 have no attributable history left to measure.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
0 deducted debt markers + 0 dead symbols across 0 LoC in the .NET projects (0.0/KLoC) → score 10.0. Measured on the .NET source only: .fs (100% of production source) was not read, and carries at least 0 uncounted task marker(s) in 0 file(s).
D19 · Documentation Quality
A single README (Expecto.md) gives a strong overview of the project and its value proposition plus an excellent Quickstart section. The accompanying Expecto.Template/README.md is a focused template-installation guide with install steps for both NuGet and local setup, plus a working example showing how to run tests from the CLI and a quick image of dotnet run/dotnet test. Both documents are well written and clearly structured; however there is no architecture or design documentation (missing-architecture-docs) and only one document exists rather than the two expected.
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 23 sampled symbols.
D26 · Project Cohesion
0 of 1 projects flagged as possibly oversized/incoherent.
D27 · Navigability
90 % of calls cross a namespace and 1 % go through an interface, but 55 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
What to do
- Resolve the 1 Scattered collaborators finding(s) in Navigability. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
3 finding(s): 0 critical, 3 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 2 REDACTED finding(s) in Secrets (history) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 REDACTED secret finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
7 finding(s): 0 critical, 7 high, 0 medium, 0 low. 6 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 1 REDACTED finding(s) charged to Static Analysis (SAST) — the other 6 are reported here at file:line but scored by D36 (supply-chain provenance), which charges them once. — One of this dimension's main actionable groups (7 issue-level, 1 of them charged here).
D30 · Dependency Vulnerabilities
1 finding(s): 0 critical, 1 high, 0 medium, 0 low.
What to do
- Resolve the 1 REDACTED CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (1 issue-level).
D34 · Knowledge Freshness
11 of 16 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is Expecto/Logging.fs. Counted over 16 of the 21 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 2 Orphaned knowledge finding(s) in Knowledge Freshness — start with Logging.fs, Expecto.fs. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 16 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 framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
M1 · Documentation (README)
What to do
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 1 of 1 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
- README advertises a RAG / ML engine, but no ML/RAG code or dependency exists — searched for: `rag`, `langchain`, `llamaindex`, `pinecone`, `weaviate`, `qdrant`, `embeddings`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
What to do
- Reconcile the README with reality: README advertises a RAG / ML engine, but no ML/RAG code or dependency exists.
P1 · CI/CD gates
What to do
- Run the test suite in CI via an explicit runner step (`dotnet test` for the toolchain this pipeline already uses) and gate merges on it.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) as a CI step. What was searched, so you can tell an absence from a miss: the 1943 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 90% | Exemplary | Strongest area. |
| Architecture | 53% | Adequate — gated by AX10 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 56% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 55% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 75% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 2 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- 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 — 75 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 — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- 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 — ~3112 lines of test source are present (.fs) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not measured — no test run produced results
- D18 Solution Shape — D18 scores the shape of a C#/VB .NET solution, but this repository's production source is mostly .fs, which the C#/VB workspace does not load — the projects that loaded are an immaterial minority, so solution shape was not assessed for this repository. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — At only 5523 LoC across 2 projects the codebase is small and single-purpose despite the name, so explicit boundaries are not needed. No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — IL not measured — no first-party assembly was located after a successful build
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D6 Cohesion (LCOM4) — Cohesion (LCOM4) is measured over a CS/VB/GO/SCALA/SWIFT/DART class graph, and this repository's production source is .fs, which this pass does not read — so no class could be assessed. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: `--collect:"XPlat Code Coverage"` names a data collector that ships in the `coverlet.collector` package, and this repository wires up none — no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, `--collect` produces nothing even from a suite that builds and passes. Add a `coverlet.collector` PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect.
- D9 Test Distribution — Test source is present (.fs) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- DM1 Domain Modelling — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 25 value object(s); 1 domain event(s)
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — reported, not scored — this repository's C# declares no analysable method bodies (a constants, record or DTO assembly), and this score is a density of unfinished work per method, which has no denominator here. The file-level signals below were still collected and are shown in full
- P2 Observability — Observability was not assessed: this check reads a source model that does not carry this repository's product — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of a logging idiom this check recognises is NOT evidence that this repo lacks structured logging (it may log through its own ecosystem's logger). This is a gap in the analyzer, not a finding about this repository.
- P7 Outbound HTTP resilience — not measured — the application kind could not be determined for this repo
- P8 Schema migrations — no EF Core usage detected
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — 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.
- PF2 Allocation 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.
- 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
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 14 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Orphaned knowledge Expecto/Logging.fs
- Orphaned knowledge Expecto/Expecto.fs
- Vulnerable: System.Security.Cryptography.Xml
- REDACTED
- REDACTED
Serious — 36 finding(s)
- TooManyFunctions: Expect Expecto/Flip.Expect.fs:1
- TooManyFunctions: Tests Expecto/Expecto.fs:9
- TooManyFunctions: Runner Expecto/CSharp.fs:26
- FileTooLong: Expecto/Logging.fs Expecto/Logging.fs
- FileTooLong: Expecto/Expecto.Impl.fs Expecto/Expecto.Impl.fs
- FileTooLong: Expecto/Expect.fs Expecto/Expect.fs
- ExpectoFsCheckModule.propertyTest (cyclomatic 16) Expecto.FsCheck/FsCheck.fs:10
- ExpectoFsCheckModule.propertyTest (cyclomatic 16) Expecto.FsCheck3/FsCheck3.fs:10
- Duplicated block (5 lines × 2) Expecto/Expect.fs:42
- Duplicated block (5 lines × 2) Expecto/TestResults.fs:26
- Impl.execTestAsync (cyclomatic 18) Expecto/Expecto.Impl.fs:575
- LiterateFormatting.tokeniserForOutputTemplate (cyclomatic 18) Expecto/Logging.fs:817
- Performance.findFastest (cyclomatic 17) Expecto/Performance.fs:123
- Impl.runStressWithCancel (cyclomatic 16) Expecto/Expecto.Impl.fs:776
- Performance.findFastest (cognitive 35) Expecto/Performance.fs:123
- ProgressIndicator.start (cognitive 33) Expecto/Progress.fs:44
- Expect.equalWithDiffPrinter (cognitive 26) Expecto/Expect.fs:486
- LiterateFormatting.tokeniserForOutputTemplate (cognitive 23) Expecto/Logging.fs:817
- Impl.runStressWithCancel (cognitive 18) Expecto/Expecto.Impl.fs:776
- ParserBits.findNextNonPropText (cognitive 18) Expecto/Logging.fs:470
- Impl.execTestAsync (cognitive 17) Expecto/Expecto.Impl.fs:575
- Tests.runTestsWithCLIArgsAndCancel (cognitive 16) Expecto/Expecto.fs:616
- REDACTED
- REDACTED
- Near-duplicate member pair (162 shared lines) Expecto.FsCheck/FsCheck.fs:1
- Duplicated block (87 lines × 2) Expecto.FsCheck/FsCheck.fs:118
- Duplicated block (31 lines × 2) Expecto.FsCheck/FsCheck.fs:1
- Duplicated block (29–30 lines × 2) Expecto.Sample/Expecto.Sample.fs:115
- Duplicated block (23 lines × 2) Expecto.FsCheck/FsCheck.fs:64
- Duplicated block (21–22 lines × 2) Expecto.FsCheck/FsCheck.fs:36
- Duplicated block (14 lines × 2) Expecto/Logging.fs:889
- Duplicated block (10 lines × 2) Expecto/Logging.fs:1222
- Duplicated block (9 lines × 2) Expecto/Expecto.Impl.fs:139
- Duplicated block (5–6 lines × 2) Expecto/CSharp.fs:142
- Coverage not measured — no coverage collector is wired up
- NuGet dependencies are not locked
Minor — 14 finding(s)
- Off-boarding risk: anonymized user #1
- Documentation: no usage examples README.md
- Scattered collaborators
- REDACTED
- Further orphaned files (smaller)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No src/ separation
- README/code drift
- Sleep-based test synchronization
- No SAST
Minor — 48 finding(s)
- Outdated: FSharp.Core
- Outdated: Microsoft.NETFramework.ReferenceAssemblies
- Outdated: Microsoft.SourceLink.GitHub
- Outdated: System.Threading.Tasks.Extensions
- Outdated: BenchmarkDotNet
- Outdated: Microsoft.Bcl.AsyncInterfaces
- Outdated: Microsoft.CodeAnalysis.Analyzers
- Outdated: Microsoft.CodeAnalysis.Common
- Outdated: Microsoft.CodeAnalysis.CSharp
- Outdated: Microsoft.Diagnostics.NETCore.Client
- Outdated: Microsoft.Diagnostics.Runtime
- Outdated: Microsoft.Diagnostics.Tracing.TraceEvent
- Outdated: Microsoft.Extensions.DependencyInjection.Abstractions
- Outdated: Microsoft.Extensions.Logging.Abstractions
- Outdated: Perfolizer
- Outdated: System.CodeDom
- Outdated: System.Collections.Immutable
- Outdated: System.Diagnostics.DiagnosticSource
- Outdated: System.IO.Pipelines
- Outdated: System.Management
- Outdated: System.Reflection.Metadata
- Outdated: System.Text.Encoding.CodePages
- Outdated: System.Text.Encodings.Web
- Outdated: System.Text.Json
- Outdated: FsCheck
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-630e8d220b7842f0a6ccc4ead505774d/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-630e8d220b7842f0a6ccc4ead505774d/tree.json --exit-code 0 --source . | 3 | 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 . | 7 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list Expecto.sln package --vulnerable --include-transitive --format json | 1 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | dotnet | — | dotnet list Expecto.sln package --vulnerable --include-transitive --format json | 0 | artifacts/raw/dotnet-vulnerable.json |