Executive summary
The system holds an adequate overall standing of 67%, reflecting a large, valuable asset that is currently carrying significant operational risk. With a rebuild effort estimated at 6.5 person-years and a cost near €940,000, the business has substantial capital tied up in this codebase. While the architecture is robust and the documentation is sufficient for new teams to navigate, the underlying code quality is weak. This gap creates a fragile foundation where maintaining and extending the system is slower, more expensive, and prone to defects than it should be.
The primary risk stems from poor code health within a massive codebase. Although the architectural design is sound, the implementation lacks the structural integrity needed for efficient maintenance. This weakness means that every change carries a higher risk of unintended side effects, increasing the cost of delivery and slowing down feature development. The lack of strong typing in the frontend exacerbates this, as errors are caught late in the cycle rather than during development, leading to higher defect rates and longer testing phases.
A secondary concern is the opacity of the frontend layer. With no files currently typed, the JavaScript codebase is difficult to navigate and refactor safely. This lack of structure makes it hard for engineers to understand the impact of changes, increasing the likelihood of regressions. While the backend is well-documented and mature, the frontend’s ambiguity creates a bottleneck for any team trying to improve user-facing features quickly and reliably.
The system’s strengths lie in its solid architecture and clear documentation, which provide a stable base for future work. To maximize leverage, the immediate focus should be on adopting TypeScript for the frontend. Adding a type-checking step to the build process will catch errors early, improve code clarity, and reduce the cost of future changes. This single action offers the highest return on effort by stabilizing the most volatile part of the system without requiring a full rewrite. Other improvements, such as splitting large files, can follow once the type safety foundation is in place. Note that domain modeling and event-driven patterns were not measured, so the full picture of the system’s capabilities remains partially unknown.
Raise Code Health 61 → 70 (the Healthy floor) ⇒ headline 67 → ~71.
New since the last scan (100+)
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) library/src/scala/runtime/BoxesRunTime.java
- D4 · Duplicated block (8 lines × 3) library/src/scala/runtime/BoxesRunTime.java
- D4 · Duplicated block (6 lines × 4) library/src/scala/runtime/BoxesRunTime.java
- D17 · TodoComment bench-run/src/main/scala/dotty/tools/benchmarks/tuples/TupleOps.scala
- D17 · TodoComment community-build/src/scala/dotty/communitybuild/projects.scala
- D17 · TodoComment community-build/src/scala/dotty/communitybuild/projects.scala
- D17 · TodoComment community-build/src/scala/dotty/communitybuild/projects.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BTypeLoader.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BTypeLoader.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeSyncAndTry.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeIdiomatic.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeIdiomatic.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala
- D17 · HackComment compiler/src/dotty/tools/backend/jvm/analysis/AliasingAnalyzer.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerWarning.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerCallGraph.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerCallGraph.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerCallGraph.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/LocalOpt.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/LocalOpt.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/LocalOpt.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/Inliner.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/Inliner.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/Inliner.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/Inliner.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/Inliner.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/FifoCache.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/CopyProp.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/ClosureOptimizer.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/BoxUnbox.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/BCodeRepository.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/BCodeRepository.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/jvm/opt/BCodeRepository.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/sjs/JSExportsGen.scala
- D17 · TodoComment compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala
- D17 · TodoComment compiler/src/dotty/tools/debug/InsertExpression.scala
- D17 · TodoComment compiler/src/dotty/tools/debug/ExpressionReporter.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/Run.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/Compiler.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/ast/untpd.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/ast/tpd.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/ast/TreeTypeMap.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/ast/TreeInfo.scala
- D17 · FixmeComment compiler/src/dotty/tools/dotc/ast/Positioned.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/ast/NavigateAST.scala
- D17 · FixmeComment compiler/src/dotty/tools/dotc/ast/NavigateAST.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/ast/Desugar.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/ast/Desugar.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/SepCheck.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/SepCheck.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/SepCheck.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/SepCheck.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/SafeRefs.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CapturingType.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CaptureSet.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CaptureSet.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CaptureSet.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CaptureSet.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/CaptureOps.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/cc/Capability.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/classpath/ZipAndJarFileLookupFactory.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
- D17 · XxxComment compiler/src/dotty/tools/dotc/config/PathResolver.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Types.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Types.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Types.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/TypeOps.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/TypeErasure.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/TypeComparer.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/TypeComparer.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Symbols.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/SymUtils.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Scopes.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Phases.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/OrderingConstraint.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/OrderingConstraint.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Names.scala
- D17 · HackComment compiler/src/dotty/tools/dotc/core/NameKinds.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/NameKinds.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Definitions.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Contexts.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Comments.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/Comments.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
- D17 · FixmeComment compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/tasty/TreePickler.scala
- D17 · TodoComment compiler/src/dotty/tools/dotc/core/tasty/TastyPrinter.scala
Rebuild cost & value ~ Modeled — €310,000–€1,600,000
| Cost to rebuild | €310,000–€1,600,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.9× (at 67% quality) |
| Size & shape | Large · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~6.5 person-years of build effort (about ~€940,000 to rebuild). Its weakest lens is Code Health at 61% — 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 (global) | 2 a | 3 b | 4 docs._spec.public.scripts | 5 dotty.tools.backend.jvm | 6 dotty.tools.dotc.interfaces | 7 dotty.tools.dotc.profile | 8 dotty.tools.dotc.sbt.interfaces | 9 dotty.tools.scaladoc.util | 10 scala.annotation.internal | 11 scala.collection.concurrent | 12 scala.math | 13 scala.reflect | 14 scala.runtime | 15 scaladoc.resources.dotty_res.hljs.highlight_pack | 16 scaladoc.resources.dotty_res.scripts | 17 scaladoc.resources.dotty_res.scripts.common | 18 scaladoc.resources.dotty_res.scripts.common.component | 19 scaladoc.resources.dotty_res.scripts.components.Filter | 20 xsbt | 21 dotty.tools.xsbt | 22 scala.runtime.function | 23 scaladoc.resources.dotty_res.scripts.components.DocumentableList | 24 scaladoc.resources.dotty_res.scripts.components.FilterBar | 25 scaladoc.resources.dotty_res.scripts.components.FilterGroup | 26 scaladoc.resources.dotty_res.scripts.components.Input |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 (global) | ||||||||||||||||||||||||||
| 2 a | ||||||||||||||||||||||||||
| 3 b | ||||||||||||||||||||||||||
| 4 docs._spec.public.scripts | ||||||||||||||||||||||||||
| 5 dotty.tools.backend.jvm | ||||||||||||||||||||||||||
| 6 dotty.tools.dotc.interfaces | ||||||||||||||||||||||||||
| 7 dotty.tools.dotc.profile | ||||||||||||||||||||||||||
| 8 dotty.tools.dotc.sbt.interfaces | ||||||||||||||||||||||||||
| 9 dotty.tools.scaladoc.util | ||||||||||||||||||||||||||
| 10 scala.annotation.internal | ||||||||||||||||||||||||||
| 11 scala.collection.concurrent | ||||||||||||||||||||||||||
| 12 scala.math | ||||||||||||||||||||||||||
| 13 scala.reflect | ||||||||||||||||||||||||||
| 14 scala.runtime | ||||||||||||||||||||||||||
| 15 scaladoc.resources.dotty_res.hljs.highlight_pack | ||||||||||||||||||||||||||
| 16 scaladoc.resources.dotty_res.scripts | ||||||||||||||||||||||||||
| 17 scaladoc.resources.dotty_res.scripts.common | ||||||||||||||||||||||||||
| 18 scaladoc.resources.dotty_res.scripts.common.component | ||||||||||||||||||||||||||
| 19 scaladoc.resources.dotty_res.scripts.components.Filter | ||||||||||||||||||||||||||
| 20 xsbt | ||||||||||||||||||||||||||
| 21 dotty.tools.xsbt | 3 | |||||||||||||||||||||||||
| 22 scala.runtime.function | 23 | |||||||||||||||||||||||||
| 23 scaladoc.resources.dotty_res.scripts.components.DocumentableList | 1 | |||||||||||||||||||||||||
| 24 scaladoc.resources.dotty_res.scripts.components.FilterBar | 1 | |||||||||||||||||||||||||
| 25 scaladoc.resources.dotty_res.scripts.components.FilterGroup | 1 | |||||||||||||||||||||||||
| 26 scaladoc.resources.dotty_res.scripts.components.Input | 1 |
21→8 dotty.tools.xsbt depends on dotty.tools.dotc.sbt.interfaces✕
- Type pairs
- 3 distinct (type in dotty.tools.xsbt → type in dotty.tools.dotc.sbt.interfaces) references.
- Which types
dotty.tools.xsbt.IncrementalCallback→dotty.tools.dotc.sbt.interfaces.IncrementalCallbackdotty.tools.xsbt.OldIncrementalCallback→dotty.tools.dotc.sbt.interfaces.IncrementalCallbackdotty.tools.xsbt.ProgressCallbackImpl→dotty.tools.dotc.sbt.interfaces.ProgressCallback
- Direction
- dotty.tools.xsbt uses dotty.tools.dotc.sbt.interfaces. Changing dotty.tools.dotc.sbt.interfaces can break dotty.tools.xsbt, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→14 scala.runtime.function depends on scala.runtime✕
- Type pairs
- 23 distinct (type in scala.runtime.function → type in scala.runtime) references.
- Which types
scala.runtime.function.JProcedure0→scala.runtime.BoxedUnitscala.runtime.function.JProcedure1→scala.runtime.BoxedUnitscala.runtime.function.JProcedure10→scala.runtime.BoxedUnitscala.runtime.function.JProcedure11→scala.runtime.BoxedUnitscala.runtime.function.JProcedure12→scala.runtime.BoxedUnitscala.runtime.function.JProcedure13→scala.runtime.BoxedUnitscala.runtime.function.JProcedure14→scala.runtime.BoxedUnitscala.runtime.function.JProcedure15→scala.runtime.BoxedUnitscala.runtime.function.JProcedure16→scala.runtime.BoxedUnitscala.runtime.function.JProcedure17→scala.runtime.BoxedUnitscala.runtime.function.JProcedure18→scala.runtime.BoxedUnitscala.runtime.function.JProcedure19→scala.runtime.BoxedUnitscala.runtime.function.JProcedure2→scala.runtime.BoxedUnitscala.runtime.function.JProcedure20→scala.runtime.BoxedUnitscala.runtime.function.JProcedure21→scala.runtime.BoxedUnitscala.runtime.function.JProcedure22→scala.runtime.BoxedUnitscala.runtime.function.JProcedure3→scala.runtime.BoxedUnitscala.runtime.function.JProcedure4→scala.runtime.BoxedUnitscala.runtime.function.JProcedure5→scala.runtime.BoxedUnitscala.runtime.function.JProcedure6→scala.runtime.BoxedUnitscala.runtime.function.JProcedure7→scala.runtime.BoxedUnitscala.runtime.function.JProcedure8→scala.runtime.BoxedUnitscala.runtime.function.JProcedure9→scala.runtime.BoxedUnit
- Direction
- scala.runtime.function uses scala.runtime. Changing scala.runtime can break scala.runtime.function, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→18 scaladoc.resources.dotty_res.scripts.components.DocumentableList depends on scaladoc.resources.dotty_res.scripts.common.component✕
- Type pairs
- 1 distinct (type in scaladoc.resources.dotty_res.scripts.components.DocumentableList → type in scaladoc.resources.dotty_res.scripts.common.component) reference.
- Which types
scaladoc.resources.dotty_res.scripts.components.DocumentableList.DocumentableList→scaladoc.resources.dotty_res.scripts.common.component.Component
- Direction
- scaladoc.resources.dotty_res.scripts.components.DocumentableList uses scaladoc.resources.dotty_res.scripts.common.component. Changing scaladoc.resources.dotty_res.scripts.common.component can break scaladoc.resources.dotty_res.scripts.components.DocumentableList, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→18 scaladoc.resources.dotty_res.scripts.components.FilterBar depends on scaladoc.resources.dotty_res.scripts.common.component✕
- Type pairs
- 1 distinct (type in scaladoc.resources.dotty_res.scripts.components.FilterBar → type in scaladoc.resources.dotty_res.scripts.common.component) reference.
- Which types
scaladoc.resources.dotty_res.scripts.components.FilterBar.FilterBar→scaladoc.resources.dotty_res.scripts.common.component.Component
- Direction
- scaladoc.resources.dotty_res.scripts.components.FilterBar uses scaladoc.resources.dotty_res.scripts.common.component. Changing scaladoc.resources.dotty_res.scripts.common.component can break scaladoc.resources.dotty_res.scripts.components.FilterBar, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→18 scaladoc.resources.dotty_res.scripts.components.FilterGroup depends on scaladoc.resources.dotty_res.scripts.common.component✕
- Type pairs
- 1 distinct (type in scaladoc.resources.dotty_res.scripts.components.FilterGroup → type in scaladoc.resources.dotty_res.scripts.common.component) reference.
- Which types
scaladoc.resources.dotty_res.scripts.components.FilterGroup.FilterGroup→scaladoc.resources.dotty_res.scripts.common.component.Component
- Direction
- scaladoc.resources.dotty_res.scripts.components.FilterGroup uses scaladoc.resources.dotty_res.scripts.common.component. Changing scaladoc.resources.dotty_res.scripts.common.component can break scaladoc.resources.dotty_res.scripts.components.FilterGroup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→18 scaladoc.resources.dotty_res.scripts.components.Input depends on scaladoc.resources.dotty_res.scripts.common.component✕
- Type pairs
- 1 distinct (type in scaladoc.resources.dotty_res.scripts.components.Input → type in scaladoc.resources.dotty_res.scripts.common.component) reference.
- Which types
scaladoc.resources.dotty_res.scripts.components.Input.Input→scaladoc.resources.dotty_res.scripts.common.component.Component
- Direction
- scaladoc.resources.dotty_res.scripts.components.Input uses scaladoc.resources.dotty_res.scripts.common.component. Changing scaladoc.resources.dotty_res.scripts.common.component can break scaladoc.resources.dotty_res.scripts.components.Input, 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 | 22 | High / Critical |
| A02:2021 — Cryptographic Failures | 2 | High / Critical |
Roadmap
Begin by introducing type safety to the frontend through a build-time check or incremental conversion of high-traffic modules, while simultaneously splitting the largest source file into smaller, focused components. Next, significantly expand the README to include getting-started instructions, an architecture overview, and a project map. Finally, establish a structured repository for architecture decision records to document key design choices and their consequences, ensuring all significant decisions are formally recorded and discoverable.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.3 pts | Low | ADR Quality |
| Adopt TypeScript for the frontend: add a typecheck step to the build, then either type-check the existing JavaScript in place (`checkJs`/JSDoc types) or convert the highest-traffic modules first — no file is typed today, so this is an adoption, not a clean-up. | +7.1 pts | Medium | Type Safety |
| Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package. | +6.6 pts | Medium | Large Files |
| Resolve the 2 Orphaned knowledge finding(s) in Knowledge Freshness — start with Manifest.scala, Parser.scala. | +2.4 pts | Low | Knowledge Freshness |
| Expand the README with getting-started, architecture overview and a project map. | +4.3 pts | Medium | Documentation (README) |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +4.3 pts | Medium | Architecture documentation |
| Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +2.2 pts | Medium | Security & performance tooling |
| Resolve the 6 Off-boarding risk finding(s) in Bus Factor. | +0.9 pts | Low | Bus Factor |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.5 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 6.1 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| compiler/src/dotty/tools/dotc/typer/Typer.scala | 6.4 | Mixed | Explicit Debt: FixmeComment |
| compiler/src/scala/quoted/runtime/impl/QuotesImpl.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| library/test/scala/collection/immutable/HashSetTest.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| presentation-compiler/test/dotty/tools/pc/tests/completion/CompletionExtraConstructorSuite.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| scaladoc/src/dotty/tools/scaladoc/tasty/InkuireSupport.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| tests/disabled/reflect/run/t8549.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| compiler/src/dotty/tools/dotc/transform/init/Objects.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| library/src/scala/Predef.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| compiler/src/dotty/tools/dotc/parsing/Tokens.scala | 6.4 | Mixed | Explicit Debt: TodoComment |
| compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| compiler/src/dotty/tools/dotc/transform/YCheckPositions.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| scaladoc/src/dotty/tools/scaladoc/tasty/comments/wiki/Parser.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| compiler/src/dotty/tools/backend/jvm/opt/Inliner.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| compiler/src/scala/quoted/runtime/impl/QuoteMatcher.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| project/Build.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| scaladoc/src/dotty/tools/scaladoc/tasty/SymOps.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala | 6.6 | Mixed | Explicit Debt: TodoComment |
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. 29 of 32 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 32 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 722 of 742 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D1 Cyclomatic Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.scala) had no cyclomatic complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D2 Cognitive Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.scala) had no cognitive complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D4 Code Duplication — 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 2 duplicated block group(s) on this row were found in the languages this pass could tokenize, and they do NOT cover all of this repository's production source: .scala (334,186 lines, 99% of production source) went unread, because no language model this pass could load exposed a clone-unit token stream for those file kinds. Duplication in that source is UNMEASURED — its absence from the count above is a gap in this analyzer's language coverage, not a finding that the code is free of duplication.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.scala, .java) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`, or JaCoCo XML — `mvn jacoco:report` or the Gradle `jacocoTestReport` task) 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. You can widen what we reach: optional: produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`, or JaCoCo XML — `mvn jacoco:report` or the Gradle `jacocoTestReport` task) 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 — then the real number is read on the next scan.
- 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 source is present (.scala, .java) and this repository declares an sbt build (repository root, 29 test files), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D14 License Compliance — 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. This repository declares an sbt build (build.sbt), but the licence verdict published here was taken over its gem dependencies. Nothing was read about its sbt dependencies' licensing in either direction, and a clean score on this card must not be read as covering them.
- D15 Churn × Complexity Hotspots — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. A hotspot is churn × complexity. Churn was measured (67849 line(s) across the 90-day window), but no complexity could be computed for .scala, which is most of this repository's production code — so every churned file would score as complexity 0 and the hotspot list would be empty no matter how tangled the code is. Not scored — this is a gap in the analysis run, not a finding about this repository.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. A language sidecar this run needed FAILED, so the code model the non-MSBuild public-API collector reads was never built — this is a DEGRADED run, not a settled gap, and the surface may well be collectable on a re-run: The Scala sidecar EXITED with code 1 after 14.8s, so the Scala code model degraded to null. This is the sidecar's own failure, not a budget of ours.
- D44 Platform End-of-Life — 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 dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (go.mod, a Gemfile's ruby directive, a Dockerfile) is simply not read here yet.
- AX3 Project dependency cycles — 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 which project references which. That is a language-neutral question, but the project-reference graph is collected from MSBuild .csproj, Gradle and Maven builds only, and this repository commits none — so there was no graph to read, and re-running the same commit reads the same nothing. Its modules are declared as: sbt subprojects (build.sbt); Ruby gems (gemspec, Gemfile). A reader for that graph is the collector this check is missing. That is a COLLECTOR gap in this analyzer — no change to the scan image closes it — and not a finding that the repository is free of what this check looks for.
- AX4 Dependency direction — 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 direction each project reference points. That is a language-neutral question, but the project-reference graph is collected from MSBuild .csproj, Gradle and Maven builds only, and this repository commits none — so there was no graph to read, and re-running the same commit reads the same nothing. Its modules are declared as: sbt subprojects (build.sbt); Ruby gems (gemspec, Gemfile). A reader for that graph is the collector this check is missing. That is a COLLECTOR gap in this analyzer — no change to the scan image closes it — and not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX8 Test isolation — 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 which projects are test projects, and what they reference. That is a language-neutral question, but the project-reference graph is collected from MSBuild .csproj, Gradle and Maven builds only, and this repository commits none — so there was no graph to read, and re-running the same commit reads the same nothing. Its modules are declared as: sbt subprojects (build.sbt); Ruby gems (gemspec, Gemfile). A reader for that graph is the collector this check is missing. That is a COLLECTOR gap in this analyzer — no change to the scan image closes it — and 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.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- 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.
- Production source was not modelled — run is Degraded — No code model read .scala, so the complexity, duplication and architecture dimensions were scored over a minority of this repository rather than its product, and dimensions that abstained did so for want of a model rather than for want of findings. The grade is NOT representative of this repository; diagnostics.md records the exact cause. The Scala sidecar EXITED with code 1 after 14.8s, so the Scala code model degraded to null. This is the sidecar's own failure, not a budget of ours.
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
- 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.
- 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.
- 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.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- 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.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- 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.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D4 · Code Duplication
2 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. Measured on part of this repository only: .scala (99% of production source) was not exposed to the token comparison, so duplication there is unmeasured and is not in this count.
What to do
- Resolve the 1 Members sharing a duplicated core (4 members, 50+ identical tokens) finding(s) in Code Duplication — start with BoxesRunTime.java. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (8 lines × 3) finding(s) in Code Duplication — start with BoxesRunTime.java. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (6 lines × 4) finding(s) in Code Duplication — start with BoxesRunTime.java. — 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.
D12 · Dependency Hygiene
3 outdated direct gem(s), 0 pinning defect(s). 4 declaration(s) graded against rubygems.org, 4 of them against a version resolved in a committed Gemfile.lock. Whether any of these gems is DEPRECATED or YANKED is not graded — rubygems.org publishes no deprecation marker, and a yank removes a version rather than flagging it. Whether any is UNMAINTAINED is not graded either: no registry publishes a maintenance status, and release age does not stand in for one. Whether any is UNUSED is a source question, not a registry one. Known CVEs in this dependency graph are D30's question, read from the manifest there.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 31 shipped gem(s) use a banned license. Licences were resolved from rubygems.org over the 31 gem(s) a consumer installs — this repository's runtime declarations closed transitively over its committed Gemfile.lock. Development-group and `add_development_dependency` gems are excluded: they are not distributed with this repository. ★ COVERAGE OF THIS VERDICT: it grades this repository's gem dependencies and nothing else. The repository also declares an sbt build (build.sbt), and the licences of those dependencies were NOT read by this pass — a gap in this engine's coverage, not a statement about them. So this result says the graded closure carries no banned licence; it does NOT say this repository's licensing is clear.
D16 · Bus Factor
71 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is compiler/src/dotty/tools/backend/jvm/opt/Inliner.scala. Counted over 868 of the 1635 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
736 deducted task-comment markers across 339568 LoC (0.2/KLoC) → score 9.6. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 601 TodoComment finding(s) in Explicit Debt — start with QuotesImpl.scala (15), t8549.scala (15), CompletionExtraConstructorSuite.scala (12). — One of this dimension's main actionable groups (601 warning-level).
- Resolve the 63 FixmeComment finding(s) in Explicit Debt — start with SourceTree.scala (4), sep-paths-derivedcaps-consume.scala (3), YCheckPositions.scala (2). — One of this dimension's main actionable groups (63 warning-level).
- Resolve the 16 HackComment finding(s) in Explicit Debt — start with ClasspathFromClassloader.scala (2), tcpoly_seq_typealias.scala (2), tcpoly_seq.scala (2). — One of this dimension's main actionable groups (16 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README is a strong overview (Scala 3 home, CI, Code of Conduct, contributing guide, license) and the docs/_spec/README is a well-structured work-in-progress language specification with editing/building advice plus general editor conventions. The READMEs for each subdirectory document only their own directory (bench/, community-build/, scaladoc/, chocolatey/, msi/, etc.) rather than the repository as a whole, so the absence of an overview/installation/usage/contributing section is not flagged against the root. All visible documents are clear and complete within their scope.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D28 · Secrets (history)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 1 REDACTED 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)
23 finding(s): 0 critical, 16 high, 7 medium, 0 low. semgrep hit a parse error in 478 file(s) — `bench-micro/src/main/scala/dotty/tools/benchmarks/specializedtraits/MatrixMultiplication.scala`, `bench-micro/src/main/scala/dotty/tools/benchmarks/specializedtraits/MatrixMultiplicationPoly.scala`, `bench-micro/src/main/scala/dotty/tools/benchmarks/specializedtraits/PairHashing.scala`, `bench-micro/src/main/scala/dotty/tools/benchmarks/specializedtraits/PairHashingPoly.scala`, `bench-micro/src/main/scala/dotty/tools/benchmarks/specializedtraits/VectorDotProduct.scala`, … (+473 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 6 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 11 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (6), REDACTED (5). — One of this dimension's main actionable groups (11 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D31 · IaC & Container Security
trivy and checkov found no infrastructure-as-code or container misconfigurations.
D34 · Knowledge Freshness
66 of 868 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is library-js/src/scala/reflect/Manifest.scala. Counted over 868 of the 1635 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 Manifest.scala, Parser.scala. — 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
2/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 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
M1 · Documentation (README)
- The root README is 108 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers.
What to do
- Expand the README with getting-started, architecture overview and a project map.
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 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
M4 · Documentation accuracy
P1 · CI/CD gates
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add scalafix or scapegoat (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 113938 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: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
- Dependabot is configured but does not watch `gitsubmodule` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P6 · Release Hygiene
R1 · Type Safety
- 0 typed · 12 plain JS — the untyped files are REDACTED, scaladoc/resources/dotty_res/scripts/common/component.js, scaladoc/resources/dotty_res/scripts/common/utils.js, scaladoc/resources/dotty_res/scripts/components/DocumentableList.js, scaladoc/resources/dotty_res/scripts/components/Filter.js, scaladoc/resources/dotty_res/scripts/components/FilterBar.js (+6 more).
What to do
- Adopt TypeScript for the frontend: add a typecheck step to the build, then either type-check the existing JavaScript in place (`checkJs`/JSDoc types) or convert the highest-traffic modules first — no file is typed today, so this is an adoption, not a clean-up.
R10 · Code Duplication
- REDACTED:310 · REDACTED:451 — all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — REDACTED:310
- scaladoc/resources/dotty_res/scripts/ux.js:639 · scaladoc/resources/dotty_res/scripts/ux.js:651 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — scaladoc/resources/dotty_res/scripts/ux.js:639
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R2 · Cyclomatic Complexity
- t has cyclomatic complexity 24 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:116
- x has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:193
- attachAllListeners has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — scaladoc/resources/dotty_res/scripts/ux.js:52
- b has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:187
- (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:198
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- 1 file(s) over 400 lines (counted as significant lines — blank lines excluded — over production source only, tests excluded), largest first: REDACTED (1064).
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R9 · Circular Imports
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 61% | Adequate — gated by R1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 100% | Exemplary | Strongest area. |
| Maturity | 67% | Adequate | Acceptable, with room to improve. |
| Readiness | 75% | Strong | Solid. |
| Security | 78% | Adequate — gated by D29 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 91 check(s) not relevant to this codebase
- AC1 Text alternatives — Frontend below the scale floor (8 DOM element(s) < 25) — too little surface to assess accessibility.
- AC2 Forms & labels — Frontend below the scale floor (8 DOM element(s) < 25) — too little surface to assess accessibility.
- AC3 Page structure — Frontend below the scale floor (8 DOM element(s) < 25) — too little surface to assess accessibility.
- AC4 Keyboard semantics — Frontend below the scale floor (8 DOM element(s) < 25) — too little surface to assess accessibility.
- AC5 ARIA correctness — Frontend below the scale floor (8 DOM element(s) < 25) — too little surface to assess accessibility.
- AC6 Visual & motion safety — Frontend below the scale floor (8 DOM element(s) < 25) — too little surface to assess accessibility.
- AC7 A11y enforcement — Frontend below the scale floor (8 DOM element(s) < 25) — too little surface to assess accessibility.
- AX1 Captive dependencies — no DI registrations detected
- AX2 Stateful singletons — no singleton implementations detected
- AX3 Project dependency cycles — not assessed — project cycles and dependency direction are computed over a project-reference graph that was not loaded for this repository, because the repository commits no project file of a kind this check models. This is a gap in the analyzer, not a finding about this repository
- AX4 Dependency direction — not assessed — project cycles and dependency direction are computed over a project-reference graph that was not loaded for this repository, because the repository commits no project file of a kind this check models. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — not assessed — test isolation is computed from a project graph (which projects are test projects, and what they reference) that was not loaded for this repository, because the repository commits no project file of a kind this check models. This is a gap in the analyzer, not a finding about this repository
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 17 — an image could not be built) — time="2026-09-27T12:48:39Z" level=warning msg="The \"UID\" variable is not set. Defaulting to a blank string." failed to solve: ruby:2.7: failed to resolve source metadata for docker.io/library/ruby:2.7: failed to do request: Head "https://registry-1.docker.io/v2/library/ruby/manifests/2.7": Forbidden; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D1 Cyclomatic Complexity — cyclomatic complexity not measured — .scala exposed no member bodies
- D10 Test Quality — ~422790 lines of test source are present (.scala, .java) 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 included — the .scala suite was found but not re-run
- D15 Churn × Complexity Hotspots — complexity unreadable for .scala — churn × complexity hotspots could not be measured
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D2 Cognitive Complexity — cognitive complexity not measured — .scala exposed no member bodies
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — Production source is present (.java, .scala) but bounded contexts are resolved over the C#/VB project set, which exposed none, so context scope could not be assessed. Not scored — this is a gap in the analyzer, not a verdict about this repository. Declaring the codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed — see the recommendation on this dimension for where. 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
- D26 Project Cohesion — Project cohesion is assessed over the .NET project set; this target exposed no projects, so project size and spread could not be assessed. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D27 Navigability — Most of this repository's production source (.scala) was not read by navigability analysis, so tracing effort was not assessed — whatever else resolved (another language's projects) is not this repository's navigability. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D3 God Classes — Most of this repository's production source (.scala) was not read by god-class detection, so class size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's class size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
- 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.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- 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.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D5 Coupling — Inter-project coupling could not be assessed — no analyzable project graph was found for this repository. Not scored: a gap in the analyzer's reach, not a verdict about this repository. (Coupling here is Martin afferent/efferent/instability plus reference cycles across a project-reference graph, read today from .NET project files; other ecosystems' module graphs are not read yet.)
- D6 Cohesion (LCOM4) — No production classes were analyzable, so cohesion (LCOM4) was not measured (the solution likely failed to load or has no production code).
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- D9 Test Distribution — Test source is present (.scala, .java) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (13 value object(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 — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- 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 — not assessed — schema-migration practice is read from 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
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- R4 Test Coverage — the JS/TS workspace (12 production file(s)) has no JavaScript/TypeScript test, but it is 0.92% of this repository's production source and the other 99.08% carries 422,790 line(s) of test code this pass cannot read — an incidental frontend's reachability is not the repository's test posture, so it is not scored as one
- R5 Dependency Freshness — no package-lock.json — dependency freshness not measured (would require an npm lockfile); JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- R6 Tooling — no package.json in the repository — test/lint/typecheck wiring is read from package.json scripts (corroborated against CI), so this project's own toolchain isn't measured here
- R7 Dead Code — Not measured — no application, tooling or test entry point was detected, so no file can be shown to be reachable or unreachable. Declare an entry (package.json main/module/exports, src/index.*, or an index.html script) to enable reachability.
- R8 Dependency Hygiene — Not measured — no package.json declares any dependency, so there is nothing to check imports against (imports may resolve through a host runtime rather than node).
- 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 — 19 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Orphaned knowledge library-js/src/scala/reflect/Manifest.scala
- Orphaned knowledge scaladoc/src/dotty/tools/scaladoc/tasty/comments/wiki/Parser.scala
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 705 finding(s)
- TodoComment bench-run/src/main/scala/dotty/tools/benchmarks/tuples/TupleOps.scala:53
- TodoComment community-build/src/scala/dotty/communitybuild/projects.scala:221
- TodoComment community-build/src/scala/dotty/communitybuild/projects.scala:354
- TodoComment community-build/src/scala/dotty/communitybuild/projects.scala:469
- TodoComment compiler/src/dotty/tools/backend/jvm/BTypeLoader.scala:246
- TodoComment compiler/src/dotty/tools/backend/jvm/BTypeLoader.scala:347
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeSyncAndTry.scala:462
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala:193
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala:923
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeIdiomatic.scala:144
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeIdiomatic.scala:488
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala:307
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala:314
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeHelpers.scala:340
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala:373
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala:713
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala:1687
- TodoComment compiler/src/dotty/tools/backend/jvm/BCodeBodyBuilder.scala:1803
- TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerWarning.scala:172
- TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerCallGraph.scala:271
- TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerCallGraph.scala:422
- TodoComment compiler/src/dotty/tools/backend/jvm/opt/OptimizerCallGraph.scala:433
- TodoComment compiler/src/dotty/tools/backend/jvm/opt/LocalOpt.scala:545
- TodoComment compiler/src/dotty/tools/backend/jvm/opt/LocalOpt.scala:571
- TodoComment compiler/src/dotty/tools/backend/jvm/opt/LocalOpt.scala:749
- FixmeComment compiler/src/dotty/tools/dotc/ast/Positioned.scala:188
- FixmeComment compiler/src/dotty/tools/dotc/ast/NavigateAST.scala:133
- FixmeComment compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala:1078
- FixmeComment compiler/src/dotty/tools/dotc/interactive/SourceTree.scala:24
- FixmeComment compiler/src/dotty/tools/dotc/interactive/SourceTree.scala:35
- FixmeComment compiler/src/dotty/tools/dotc/interactive/SourceTree.scala:59
- FixmeComment compiler/src/dotty/tools/dotc/interactive/SourceTree.scala:60
- FixmeComment compiler/src/dotty/tools/dotc/parsing/Parsers.scala:5241
- FixmeComment compiler/src/dotty/tools/dotc/profile/Profiler.scala:186
- FixmeComment compiler/src/dotty/tools/dotc/reporting/messages.scala:3255
- FixmeComment compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala:830
- FixmeComment compiler/src/dotty/tools/dotc/transform/YCheckPositions.scala:50
- FixmeComment compiler/src/dotty/tools/dotc/transform/YCheckPositions.scala:51
- FixmeComment compiler/src/dotty/tools/dotc/transform/TailRec.scala:120
- FixmeComment compiler/src/dotty/tools/dotc/transform/ExtensionMethods.scala:189
- FixmeComment compiler/src/dotty/tools/dotc/typer/Typer.scala:1365
- FixmeComment library/src/scala/quoted/ExprMap.scala:102
- FixmeComment tests/link/strawman/nil.scala:3
- FixmeComment tests/pos-macros/quote-this.scala:19
- FixmeComment repl/src/sourcecode/Macros.scala:236
- FixmeComment repl/src/sourcecode/Macros.scala:241
- FixmeComment scaladoc/src/dotty/tools/scaladoc/cc/CaptureOps.scala:80
- FixmeComment scaladoc/src/scala/tasty/inspector/TastyInspector.scala:2
- FixmeComment scaladoc/src/scala/tasty/inspector/Tasty.scala:2
- FixmeComment scaladoc/src/scala/tasty/inspector/Inspector.scala:2
- HackComment compiler/src/dotty/tools/backend/jvm/analysis/AliasingAnalyzer.scala:604
- HackComment compiler/src/dotty/tools/dotc/core/NameKinds.scala:270
- HackComment compiler/src/dotty/tools/dotc/sbt/ExtractAPI.scala:518
- HackComment compiler/src/dotty/tools/dotc/semanticdb/ExtractSemanticDB.scala:291
- HackComment compiler/src/dotty/tools/dotc/util/ClasspathFromClassloader.scala:31
- HackComment compiler/src/dotty/tools/dotc/util/ClasspathFromClassloader.scala:42
- HackComment library/src/scala/collection/immutable/TreeSeqMap.scala:643
- HackComment library/src/scala/collection/immutable/LongMap.scala:387
- HackComment library/src/scala/collection/immutable/IntMap.scala:405
- HackComment presentation-compiler/test/dotty/tools/pc/tests/info/InfoSuite.scala:167
- HackComment tests/pos-macros/i10151/Macro_1.scala:59
- HackComment tests/pos/tcpoly_seq_typealias.scala:72
- HackComment tests/pos/tcpoly_seq.scala:70
- HackComment tests/pos/tcpoly_seq_typealias.scala:132
- HackComment tests/pos/tcpoly_seq.scala:128
- HackComment tests/run/tcpoly_parseridioms.scala:64
- XxxComment compiler/src/dotty/tools/dotc/config/PathResolver.scala:98
- XxxComment compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala:229
- XxxComment compiler/src/dotty/tools/dotc/plugins/Plugin.scala:142
- XxxComment tests/pos/t2795-old.scala:9
- XxxComment tests/pos/t2795-new.scala:11
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment repeated across 16 files tests/disabled/reflect/run/t6259.scala:32
- TodoComment repeated across 16 files tests/old-tasty-interpreter-prototype/Test.scala:18
- REDACTED
- REDACTED
- Duplicated block (11 lines × 2 locations) REDACTED:310
- Duplicated block (11 lines × 2 locations) scaladoc/resources/dotty_res/scripts/ux.js:639
- Members sharing a duplicated core (4 members, 50+ identical tokens) library/src/scala/runtime/BoxesRunTime.java:553
- Duplicated block (8 lines × 3) library/src/scala/runtime/BoxesRunTime.java:454
- Duplicated block (6 lines × 4) library/src/scala/runtime/BoxesRunTime.java:554
- Type Safety
- Complex function t (cyclomatic 24, cognitive 19) REDACTED:116
- Complex function x (cyclomatic 18, cognitive 17) REDACTED:193
- Complex function attachAllListeners (cyclomatic 17, cognitive 26) scaladoc/resources/dotty_res/scripts/ux.js:52
- Complex function b (cyclomatic 14, cognitive 10) REDACTED:187
- Complex function (anonymous) (cyclomatic 11, cognitive 9) REDACTED:198
- Large Files
Minor — 15 finding(s)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Off-boarding risk: anonymized user #3
- Off-boarding risk: anonymized user #4
- Off-boarding risk: anonymized user #5
- Off-boarding risk: anonymized user #6
- Further sole-owners (lower concentration)
- No ADRs found
- REDACTED
- Further orphaned files (smaller)
- REDACTED
- REDACTED
- Thin README
- No ADRs
- No SAST
Minor — 3 finding(s)
- Outdated: jekyll
- Outdated: jekyll-sass-converter
- Outdated: rouge
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-eb08b1adf9324f55ad909079347f66b7/history.json --exit-code 0 --source . | 2 | 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-eb08b1adf9324f55ad909079347f66b7/tree.json --exit-code 0 --source . | 1 | 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 . | 23 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 0 | artifacts/raw/trivy-config.json |
| 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 | — |
| 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 | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |