Executive summary
lightbend/paradox scores 43 out of 100 and is rated Weak, while three of its five lenses score higher still: Architecture at 93, Security and Compliance at 80 and Production Readiness at 64, all rated Adequate. The project hasn't declared a stable release yet, so its lenses are rated against a lower bar than a released product's, while the score itself is worked out as for any repository.
The score is lower than those three because the weakest lens counts most, and here that is Maturity, which scores 27 and is rated Weak. Its Architecture documentation dimension scores 0 out of 10, and until that reaches 4, Maturity can't be rated higher than Adequate. The first actions are to resolve the 19 Orphaned file finding(s) in Knowledge Freshness and to record your significant design decisions, and if Maturity rose to 70, the score would rise from 43 to about 56.
15 findings are critical, all in Static Analysis (SAST).
Watchdog couldn't measure 6 dimensions in this code, among them Code Coverage, Dependency Hygiene and Navigability, so they are left out of the score. The product code is 5,775 lines, which would take an estimated 0.1 person-years, around €8,500, to rebuild.
If Maturity rose from 27 to 70, the lowest score rated Strong, the score would rise from 43 to about 56.
New since the last survey: 9 findings
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Large Files · themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js: 664 lines of code themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js
- Large Files · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js: 537 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js
- Large Files · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js: 527 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js
- Large Files · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js: 454 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js
- Large Files · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.sticky.js: 416 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.sticky.js
- Large Files · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js: 411 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js
- Large Files · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js: 402 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js
Fixed since the last survey: 5 findings
- Supply-chain Provenance & Signing REDACTED
- Supply-chain Provenance & Signing REDACTED
- Cyclomatic Complexity · Complex function GetOffsets (cyclomatic 17, cognitive 8) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.util.box.js
- Cyclomatic Complexity · Complex function GetOffsets (cyclomatic 17, cognitive 8) themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.util.box.js
- Large Files · Large Files
Rebuild cost: about €8,500 · Estimate
| Cost to rebuild | €2,800 to €14,000, for 47 to 150 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 43. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 5,775 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 (global) | 2 com.lightbend.paradox.markdown.FiddleDirective | 3 com.lightbend.paradox.markdown.Page | 4 com.lightbend.paradox.markdown.Snippet | 5 com.lightbend.paradox.markdown.Url | 6 com.lightbend.paradox.sbt | 7 com.lightbend.paradox.sbt.ParadoxThemePlugin | 8 org.pegdown | 9 org.pegdown.ast | 10 themes.generic.src.main.assets.js | 11 com.lightbend.paradox.tree | 12 com.lightbend.paradox.tree.Tree | 13 com.lightbend.paradox.markdown.Index | 14 com.lightbend.paradox.markdown.LinkCapturer | 15 com.lightbend.paradox.markdown.Writer | 16 com.lightbend.paradox.markdown | 17 com.lightbend.paradox.template.PageTemplate | 18 com.lightbend.paradox.ParadoxProcessor | 19 com.lightbend.paradox.markdown.MarkdownTestkit | 20 com.lightbend.paradox.markdown.SinglePageSupport | 21 com.lightbend.paradox.template | 22 com.lightbend.paradox | 23 com.lightbend.paradox.sbt.ParadoxPlugin |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 (global) | |||||||||||||||||||||||
| 2 com.lightbend.paradox.markdown.FiddleDirective | |||||||||||||||||||||||
| 3 com.lightbend.paradox.markdown.Page | |||||||||||||||||||||||
| 4 com.lightbend.paradox.markdown.Snippet | |||||||||||||||||||||||
| 5 com.lightbend.paradox.markdown.Url | |||||||||||||||||||||||
| 6 com.lightbend.paradox.sbt | |||||||||||||||||||||||
| 7 com.lightbend.paradox.sbt.ParadoxThemePlugin | |||||||||||||||||||||||
| 8 org.pegdown | |||||||||||||||||||||||
| 9 org.pegdown.ast | |||||||||||||||||||||||
| 10 themes.generic.src.main.assets.js | |||||||||||||||||||||||
| 11 com.lightbend.paradox.tree | 1 | ||||||||||||||||||||||
| 12 com.lightbend.paradox.tree.Tree | 2 | ||||||||||||||||||||||
| 13 com.lightbend.paradox.markdown.Index | 1 | ||||||||||||||||||||||
| 14 com.lightbend.paradox.markdown.LinkCapturer | 1 | 1 | 2 | ||||||||||||||||||||
| 15 com.lightbend.paradox.markdown.Writer | 1 | 1 | 2 | 2 | |||||||||||||||||||
| 16 com.lightbend.paradox.markdown | 1 | 1 | 1 | 20 | 10 | 1 | 14 | ||||||||||||||||
| 17 com.lightbend.paradox.template.PageTemplate | 1 | ||||||||||||||||||||||
| 18 com.lightbend.paradox.ParadoxProcessor | 3 | 3 | 3 | 3 | 5 | 1 | |||||||||||||||||
| 19 com.lightbend.paradox.markdown.MarkdownTestkit | 2 | 1 | |||||||||||||||||||||
| 20 com.lightbend.paradox.markdown.SinglePageSupport | 3 | 1 | 1 | 4 | |||||||||||||||||||
| 21 com.lightbend.paradox.template | 1 | ||||||||||||||||||||||
| 22 com.lightbend.paradox | 1 | 2 | 2 | 1 | |||||||||||||||||||
| 23 com.lightbend.paradox.sbt.ParadoxPlugin | 1 | 1 |
11→12 com.lightbend.paradox.tree uses com.lightbend.paradox.tree.Tree part of a loop✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.tree uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.tree.Tree→com.lightbend.paradox.tree.Tree.Location
- Direction
- com.lightbend.paradox.tree uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox.tree, while a change to com.lightbend.paradox.tree can't break com.lightbend.paradox.tree.Tree.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
12→11 com.lightbend.paradox.tree.Tree uses com.lightbend.paradox.tree✕
- Connections
- 2 pairs of types, where a type in com.lightbend.paradox.tree.Tree uses a type in com.lightbend.paradox.tree.
- The types involved
com.lightbend.paradox.tree.Tree.Location→com.lightbend.paradox.tree.Treecom.lightbend.paradox.tree.Tree.Node→com.lightbend.paradox.tree.Tree
- Direction
- com.lightbend.paradox.tree.Tree uses com.lightbend.paradox.tree, so a change to com.lightbend.paradox.tree can break com.lightbend.paradox.tree.Tree, while a change to com.lightbend.paradox.tree.Tree can't break com.lightbend.paradox.tree.
- Position
- Below the diagonal: com.lightbend.paradox.tree.Tree uses a module listed above it, which is the healthy direction.
13→12 com.lightbend.paradox.markdown.Index uses com.lightbend.paradox.tree.Tree✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.Index uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.markdown.Index.Ref→com.lightbend.paradox.tree.Tree.Node
- Direction
- com.lightbend.paradox.markdown.Index uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox.markdown.Index, while a change to com.lightbend.paradox.markdown.Index can't break com.lightbend.paradox.tree.Tree.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.Index uses a module listed above it, which is the healthy direction.
14→12 com.lightbend.paradox.markdown.LinkCapturer uses com.lightbend.paradox.tree.Tree✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.LinkCapturer uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.markdown.LinkCapturer.Link→com.lightbend.paradox.tree.Tree.Node
- Direction
- com.lightbend.paradox.markdown.LinkCapturer uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox.markdown.LinkCapturer, while a change to com.lightbend.paradox.markdown.LinkCapturer can't break com.lightbend.paradox.tree.Tree.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.LinkCapturer uses a module listed above it, which is the healthy direction.
14→13 com.lightbend.paradox.markdown.LinkCapturer uses com.lightbend.paradox.markdown.Index✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.LinkCapturer uses a type in com.lightbend.paradox.markdown.Index.
- The types involved
com.lightbend.paradox.markdown.LinkCapturer.Link→com.lightbend.paradox.markdown.Index.Page
- Direction
- com.lightbend.paradox.markdown.LinkCapturer uses com.lightbend.paradox.markdown.Index, so a change to com.lightbend.paradox.markdown.Index can break com.lightbend.paradox.markdown.LinkCapturer, while a change to com.lightbend.paradox.markdown.LinkCapturer can't break com.lightbend.paradox.markdown.Index.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.LinkCapturer uses a module listed above it, which is the healthy direction.
14→16 com.lightbend.paradox.markdown.LinkCapturer uses com.lightbend.paradox.markdown part of a loop✕
- Connections
- 2 pairs of types, where a type in com.lightbend.paradox.markdown.LinkCapturer uses a type in com.lightbend.paradox.markdown.
- The types involved
com.lightbend.paradox.markdown.LinkCapturer.NodeOverridingDirective→com.lightbend.paradox.markdown.Directivecom.lightbend.paradox.markdown.LinkCapturer.NonRenderingDirective→com.lightbend.paradox.markdown.Directive
- Direction
- com.lightbend.paradox.markdown.LinkCapturer uses com.lightbend.paradox.markdown, so a change to com.lightbend.paradox.markdown can break com.lightbend.paradox.markdown.LinkCapturer, while a change to com.lightbend.paradox.markdown.LinkCapturer can't break com.lightbend.paradox.markdown.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
15→12 com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox.tree.Tree✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.Writer uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.markdown.Writer.Context→com.lightbend.paradox.tree.Tree.Location
- Direction
- com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox.markdown.Writer, while a change to com.lightbend.paradox.markdown.Writer can't break com.lightbend.paradox.tree.Tree.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.Writer uses a module listed above it, which is the healthy direction.
15→13 com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox.markdown.Index✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.Writer uses a type in com.lightbend.paradox.markdown.Index.
- The types involved
com.lightbend.paradox.markdown.Writer.Context→com.lightbend.paradox.markdown.Index.Page
- Direction
- com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox.markdown.Index, so a change to com.lightbend.paradox.markdown.Index can break com.lightbend.paradox.markdown.Writer, while a change to com.lightbend.paradox.markdown.Writer can't break com.lightbend.paradox.markdown.Index.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.Writer uses a module listed above it, which is the healthy direction.
15→16 com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox.markdown part of a loop✕
- Connections
- 2 pairs of types, where a type in com.lightbend.paradox.markdown.Writer uses a type in com.lightbend.paradox.markdown.
- The types involved
com.lightbend.paradox.markdown.Writer.Context→com.lightbend.paradox.markdown.Readercom.lightbend.paradox.markdown.Writer.Context→com.lightbend.paradox.markdown.Writer
- Direction
- com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox.markdown, so a change to com.lightbend.paradox.markdown can break com.lightbend.paradox.markdown.Writer, while a change to com.lightbend.paradox.markdown.Writer can't break com.lightbend.paradox.markdown.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
15→22 com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox part of a loop✕
- Connections
- 2 pairs of types, where a type in com.lightbend.paradox.markdown.Writer uses a type in com.lightbend.paradox.
- The types involved
com.lightbend.paradox.markdown.Writer.Context→com.lightbend.paradox.ErrorContextcom.lightbend.paradox.markdown.Writer.Context→com.lightbend.paradox.ParadoxLogger
- Direction
- com.lightbend.paradox.markdown.Writer uses com.lightbend.paradox, so a change to com.lightbend.paradox can break com.lightbend.paradox.markdown.Writer, while a change to com.lightbend.paradox.markdown.Writer can't break com.lightbend.paradox.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
16→3 com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Page✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown uses a type in com.lightbend.paradox.markdown.Page.
- The types involved
com.lightbend.paradox.markdown.Page→com.lightbend.paradox.markdown.Page.Properties
- Direction
- com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Page, so a change to com.lightbend.paradox.markdown.Page can break com.lightbend.paradox.markdown, while a change to com.lightbend.paradox.markdown can't break com.lightbend.paradox.markdown.Page.
- Position
- Below the diagonal: com.lightbend.paradox.markdown uses a module listed above it, which is the healthy direction.
16→4 com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Snippet✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown uses a type in com.lightbend.paradox.markdown.Snippet.
- The types involved
com.lightbend.paradox.markdown.Snippet→com.lightbend.paradox.markdown.Snippet.ExtractionState
- Direction
- com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Snippet, so a change to com.lightbend.paradox.markdown.Snippet can break com.lightbend.paradox.markdown, while a change to com.lightbend.paradox.markdown can't break com.lightbend.paradox.markdown.Snippet.
- Position
- Below the diagonal: com.lightbend.paradox.markdown uses a module listed above it, which is the healthy direction.
16→11 com.lightbend.paradox.markdown uses com.lightbend.paradox.tree✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown uses a type in com.lightbend.paradox.tree.
- The types involved
com.lightbend.paradox.markdown.TableOfContents→com.lightbend.paradox.tree.Tree
- Direction
- com.lightbend.paradox.markdown uses com.lightbend.paradox.tree, so a change to com.lightbend.paradox.tree can break com.lightbend.paradox.markdown, while a change to com.lightbend.paradox.markdown can't break com.lightbend.paradox.tree.
- Position
- Below the diagonal: com.lightbend.paradox.markdown uses a module listed above it, which is the healthy direction.
16→12 com.lightbend.paradox.markdown uses com.lightbend.paradox.tree.Tree✕
- Connections
- 20 pairs of types, where a type in com.lightbend.paradox.markdown uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.markdown.AnchorLinkSerializer→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.ApiDocDirective→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.Breadcrumbs→com.lightbend.paradox.tree.Tree.Locationcom.lightbend.paradox.markdown.Breadcrumbs→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.ClassyLinkSerializer→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.DirectiveSerializer→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.ExternalLinkDirective→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.Header→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.IncludeNode→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.IncludeNodeSerializer→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.Index→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.LinkCapturer→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.LinkCapturerRenderer→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.Linkable→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.MarkdownTestkit→com.lightbend.paradox.tree.Tree.Locationcom.lightbend.paradox.markdown.Page→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.TableOfContents→com.lightbend.paradox.tree.Tree.Locationcom.lightbend.paradox.markdown.TableOfContents→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.TocDirective→com.lightbend.paradox.tree.Tree.Locationcom.lightbend.paradox.markdown.Writer→com.lightbend.paradox.tree.Tree.Node
- Direction
- com.lightbend.paradox.markdown uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox.markdown, while a change to com.lightbend.paradox.markdown can't break com.lightbend.paradox.tree.Tree.
- Position
- Below the diagonal: com.lightbend.paradox.markdown uses a module listed above it, which is the healthy direction.
16→13 com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Index✕
- Connections
- 10 pairs of types, where a type in com.lightbend.paradox.markdown uses a type in com.lightbend.paradox.markdown.Index.
- The types involved
com.lightbend.paradox.markdown.ApiDocDirective→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.Breadcrumbs→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.ExternalLinkDirective→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.Index→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.Index→com.lightbend.paradox.markdown.Index.Refcom.lightbend.paradox.markdown.LinkCapturer→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.MarkdownTestkit→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.SourceDirective→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.TableOfContents→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.markdown.TocDirective→com.lightbend.paradox.markdown.Index.Page
- Direction
- com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Index, so a change to com.lightbend.paradox.markdown.Index can break com.lightbend.paradox.markdown, while a change to com.lightbend.paradox.markdown can't break com.lightbend.paradox.markdown.Index.
- Position
- Below the diagonal: com.lightbend.paradox.markdown uses a module listed above it, which is the healthy direction.
16→14 com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.LinkCapturer✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown uses a type in com.lightbend.paradox.markdown.LinkCapturer.
- The types involved
com.lightbend.paradox.markdown.LinkCapturer→com.lightbend.paradox.markdown.LinkCapturer.Link
- Direction
- com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.LinkCapturer, so a change to com.lightbend.paradox.markdown.LinkCapturer can break com.lightbend.paradox.markdown, while a change to com.lightbend.paradox.markdown can't break com.lightbend.paradox.markdown.LinkCapturer.
- Position
- Below the diagonal: com.lightbend.paradox.markdown uses a module listed above it, which is the healthy direction.
16→15 com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Writer✕
- Connections
- 14 pairs of types, where a type in com.lightbend.paradox.markdown uses a type in com.lightbend.paradox.markdown.Writer.
- The types involved
com.lightbend.paradox.markdown.DependencyDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.ExtRefDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.FiddleDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.GitHubDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.IncludeDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.LinkCapturer→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.LinkDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.MarkdownTestkit→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.RefDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.RepositoryDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.SinglePageSupport→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.SnipDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.SourceDirective→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.markdown.Writer→com.lightbend.paradox.markdown.Writer.Context
- Direction
- com.lightbend.paradox.markdown uses com.lightbend.paradox.markdown.Writer, so a change to com.lightbend.paradox.markdown.Writer can break com.lightbend.paradox.markdown, while a change to com.lightbend.paradox.markdown can't break com.lightbend.paradox.markdown.Writer.
- Position
- Below the diagonal: com.lightbend.paradox.markdown uses a module listed above it, which is the healthy direction.
17→14 com.lightbend.paradox.template.PageTemplate uses com.lightbend.paradox.markdown.LinkCapturer✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.template.PageTemplate uses a type in com.lightbend.paradox.markdown.LinkCapturer.
- The types involved
com.lightbend.paradox.template.PageTemplate.Contents→com.lightbend.paradox.markdown.LinkCapturer.Link
- Direction
- com.lightbend.paradox.template.PageTemplate uses com.lightbend.paradox.markdown.LinkCapturer, so a change to com.lightbend.paradox.markdown.LinkCapturer can break com.lightbend.paradox.template.PageTemplate, while a change to com.lightbend.paradox.template.PageTemplate can't break com.lightbend.paradox.markdown.LinkCapturer.
- Position
- Below the diagonal: com.lightbend.paradox.template.PageTemplate uses a module listed above it, which is the healthy direction.
18→12 com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.tree.Tree✕
- Connections
- 3 pairs of types, where a type in com.lightbend.paradox.ParadoxProcessor uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.ParadoxProcessor.GithubLink→com.lightbend.paradox.tree.Tree.Locationcom.lightbend.paradox.ParadoxProcessor.PageContents→com.lightbend.paradox.tree.Tree.Locationcom.lightbend.paradox.ParadoxProcessor.PageLink→com.lightbend.paradox.tree.Tree.Location
- Direction
- com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox.ParadoxProcessor, while a change to com.lightbend.paradox.ParadoxProcessor can't break com.lightbend.paradox.tree.Tree.
- Position
- Below the diagonal: com.lightbend.paradox.ParadoxProcessor uses a module listed above it, which is the healthy direction.
18→13 com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown.Index✕
- Connections
- 3 pairs of types, where a type in com.lightbend.paradox.ParadoxProcessor uses a type in com.lightbend.paradox.markdown.Index.
- The types involved
com.lightbend.paradox.ParadoxProcessor.GithubLink→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.ParadoxProcessor.PageContents→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.ParadoxProcessor.PageLink→com.lightbend.paradox.markdown.Index.Page
- Direction
- com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown.Index, so a change to com.lightbend.paradox.markdown.Index can break com.lightbend.paradox.ParadoxProcessor, while a change to com.lightbend.paradox.ParadoxProcessor can't break com.lightbend.paradox.markdown.Index.
- Position
- Below the diagonal: com.lightbend.paradox.ParadoxProcessor uses a module listed above it, which is the healthy direction.
18→14 com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown.LinkCapturer✕
- Connections
- 3 pairs of types, where a type in com.lightbend.paradox.ParadoxProcessor uses a type in com.lightbend.paradox.markdown.LinkCapturer.
- The types involved
com.lightbend.paradox.ParadoxProcessor.GithubLink→com.lightbend.paradox.markdown.LinkCapturer.Linkcom.lightbend.paradox.ParadoxProcessor.PageContents→com.lightbend.paradox.markdown.LinkCapturer.Linkcom.lightbend.paradox.ParadoxProcessor.PageLink→com.lightbend.paradox.markdown.LinkCapturer.Link
- Direction
- com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown.LinkCapturer, so a change to com.lightbend.paradox.markdown.LinkCapturer can break com.lightbend.paradox.ParadoxProcessor, while a change to com.lightbend.paradox.ParadoxProcessor can't break com.lightbend.paradox.markdown.LinkCapturer.
- Position
- Below the diagonal: com.lightbend.paradox.ParadoxProcessor uses a module listed above it, which is the healthy direction.
18→15 com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown.Writer✕
- Connections
- 3 pairs of types, where a type in com.lightbend.paradox.ParadoxProcessor uses a type in com.lightbend.paradox.markdown.Writer.
- The types involved
com.lightbend.paradox.ParadoxProcessor.GithubLink→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.ParadoxProcessor.PageContents→com.lightbend.paradox.markdown.Writer.Contextcom.lightbend.paradox.ParadoxProcessor.PageLink→com.lightbend.paradox.markdown.Writer.Context
- Direction
- com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown.Writer, so a change to com.lightbend.paradox.markdown.Writer can break com.lightbend.paradox.ParadoxProcessor, while a change to com.lightbend.paradox.ParadoxProcessor can't break com.lightbend.paradox.markdown.Writer.
- Position
- Below the diagonal: com.lightbend.paradox.ParadoxProcessor uses a module listed above it, which is the healthy direction.
18→16 com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown✕
- Connections
- 5 pairs of types, where a type in com.lightbend.paradox.ParadoxProcessor uses a type in com.lightbend.paradox.markdown.
- The types involved
com.lightbend.paradox.ParadoxProcessor.GithubLink→com.lightbend.paradox.markdown.GitHubResolvercom.lightbend.paradox.ParadoxProcessor.GithubLink→com.lightbend.paradox.markdown.Writercom.lightbend.paradox.ParadoxProcessor.PageContents→com.lightbend.paradox.markdown.TableOfContentscom.lightbend.paradox.ParadoxProcessor.PageContents→com.lightbend.paradox.markdown.Writercom.lightbend.paradox.ParadoxProcessor.PageLink→com.lightbend.paradox.markdown.Writer
- Direction
- com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.markdown, so a change to com.lightbend.paradox.markdown can break com.lightbend.paradox.ParadoxProcessor, while a change to com.lightbend.paradox.ParadoxProcessor can't break com.lightbend.paradox.markdown.
- Position
- Below the diagonal: com.lightbend.paradox.ParadoxProcessor uses a module listed above it, which is the healthy direction.
18→17 com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.template.PageTemplate✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.ParadoxProcessor uses a type in com.lightbend.paradox.template.PageTemplate.
- The types involved
com.lightbend.paradox.ParadoxProcessor.PageContents→com.lightbend.paradox.template.PageTemplate.Contents
- Direction
- com.lightbend.paradox.ParadoxProcessor uses com.lightbend.paradox.template.PageTemplate, so a change to com.lightbend.paradox.template.PageTemplate can break com.lightbend.paradox.ParadoxProcessor, while a change to com.lightbend.paradox.ParadoxProcessor can't break com.lightbend.paradox.template.PageTemplate.
- Position
- Below the diagonal: com.lightbend.paradox.ParadoxProcessor uses a module listed above it, which is the healthy direction.
19→14 com.lightbend.paradox.markdown.MarkdownTestkit uses com.lightbend.paradox.markdown.LinkCapturer✕
- Connections
- 2 pairs of types, where a type in com.lightbend.paradox.markdown.MarkdownTestkit uses a type in com.lightbend.paradox.markdown.LinkCapturer.
- The types involved
com.lightbend.paradox.markdown.MarkdownTestkit.EmptyLink→com.lightbend.paradox.markdown.LinkCapturer.Linkcom.lightbend.paradox.markdown.MarkdownTestkit.PartialPageContent→com.lightbend.paradox.markdown.LinkCapturer.Link
- Direction
- com.lightbend.paradox.markdown.MarkdownTestkit uses com.lightbend.paradox.markdown.LinkCapturer, so a change to com.lightbend.paradox.markdown.LinkCapturer can break com.lightbend.paradox.markdown.MarkdownTestkit, while a change to com.lightbend.paradox.markdown.MarkdownTestkit can't break com.lightbend.paradox.markdown.LinkCapturer.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.MarkdownTestkit uses a module listed above it, which is the healthy direction.
19→17 com.lightbend.paradox.markdown.MarkdownTestkit uses com.lightbend.paradox.template.PageTemplate✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.MarkdownTestkit uses a type in com.lightbend.paradox.template.PageTemplate.
- The types involved
com.lightbend.paradox.markdown.MarkdownTestkit.PartialPageContent→com.lightbend.paradox.template.PageTemplate.Contents
- Direction
- com.lightbend.paradox.markdown.MarkdownTestkit uses com.lightbend.paradox.template.PageTemplate, so a change to com.lightbend.paradox.template.PageTemplate can break com.lightbend.paradox.markdown.MarkdownTestkit, while a change to com.lightbend.paradox.markdown.MarkdownTestkit can't break com.lightbend.paradox.template.PageTemplate.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.MarkdownTestkit uses a module listed above it, which is the healthy direction.
20→12 com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.tree.Tree✕
- Connections
- 3 pairs of types, where a type in com.lightbend.paradox.markdown.SinglePageSupport uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.markdown.SinglePageSupport.SinglePageAnchorLinkSerializer→com.lightbend.paradox.tree.Tree.Nodecom.lightbend.paradox.markdown.SinglePageSupport.SinglePageTableOfContents→com.lightbend.paradox.tree.Tree.Locationcom.lightbend.paradox.markdown.SinglePageSupport.SinglePageTableOfContents→com.lightbend.paradox.tree.Tree.Node
- Direction
- com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox.markdown.SinglePageSupport, while a change to com.lightbend.paradox.markdown.SinglePageSupport can't break com.lightbend.paradox.tree.Tree.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.SinglePageSupport uses a module listed above it, which is the healthy direction.
20→13 com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.markdown.Index✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.SinglePageSupport uses a type in com.lightbend.paradox.markdown.Index.
- The types involved
com.lightbend.paradox.markdown.SinglePageSupport.SinglePageTableOfContents→com.lightbend.paradox.markdown.Index.Page
- Direction
- com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.markdown.Index, so a change to com.lightbend.paradox.markdown.Index can break com.lightbend.paradox.markdown.SinglePageSupport, while a change to com.lightbend.paradox.markdown.SinglePageSupport can't break com.lightbend.paradox.markdown.Index.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.SinglePageSupport uses a module listed above it, which is the healthy direction.
20→15 com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.markdown.Writer✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.markdown.SinglePageSupport uses a type in com.lightbend.paradox.markdown.Writer.
- The types involved
com.lightbend.paradox.markdown.SinglePageSupport.SinglePageRefDirective→com.lightbend.paradox.markdown.Writer.Context
- Direction
- com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.markdown.Writer, so a change to com.lightbend.paradox.markdown.Writer can break com.lightbend.paradox.markdown.SinglePageSupport, while a change to com.lightbend.paradox.markdown.SinglePageSupport can't break com.lightbend.paradox.markdown.Writer.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.SinglePageSupport uses a module listed above it, which is the healthy direction.
20→16 com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.markdown✕
- Connections
- 4 pairs of types, where a type in com.lightbend.paradox.markdown.SinglePageSupport uses a type in com.lightbend.paradox.markdown.
- The types involved
com.lightbend.paradox.markdown.SinglePageSupport.SinglePageRefDirective→com.lightbend.paradox.markdown.InlineDirectivecom.lightbend.paradox.markdown.SinglePageSupport.SinglePageRefDirective→com.lightbend.paradox.markdown.SourceDirectivecom.lightbend.paradox.markdown.SinglePageSupport.SinglePageTableOfContents→com.lightbend.paradox.markdown.TableOfContentscom.lightbend.paradox.markdown.SinglePageSupport.SinglePageTocDirective→com.lightbend.paradox.markdown.Directive
- Direction
- com.lightbend.paradox.markdown.SinglePageSupport uses com.lightbend.paradox.markdown, so a change to com.lightbend.paradox.markdown can break com.lightbend.paradox.markdown.SinglePageSupport, while a change to com.lightbend.paradox.markdown.SinglePageSupport can't break com.lightbend.paradox.markdown.
- Position
- Below the diagonal: com.lightbend.paradox.markdown.SinglePageSupport uses a module listed above it, which is the healthy direction.
21→17 com.lightbend.paradox.template uses com.lightbend.paradox.template.PageTemplate✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.template uses a type in com.lightbend.paradox.template.PageTemplate.
- The types involved
com.lightbend.paradox.template.PageTemplate→com.lightbend.paradox.template.PageTemplate.Contents
- Direction
- com.lightbend.paradox.template uses com.lightbend.paradox.template.PageTemplate, so a change to com.lightbend.paradox.template.PageTemplate can break com.lightbend.paradox.template, while a change to com.lightbend.paradox.template can't break com.lightbend.paradox.template.PageTemplate.
- Position
- Below the diagonal: com.lightbend.paradox.template uses a module listed above it, which is the healthy direction.
22→12 com.lightbend.paradox uses com.lightbend.paradox.tree.Tree✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox uses a type in com.lightbend.paradox.tree.Tree.
- The types involved
com.lightbend.paradox.ErrorContext→com.lightbend.paradox.tree.Tree.Node
- Direction
- com.lightbend.paradox uses com.lightbend.paradox.tree.Tree, so a change to com.lightbend.paradox.tree.Tree can break com.lightbend.paradox, while a change to com.lightbend.paradox can't break com.lightbend.paradox.tree.Tree.
- Position
- Below the diagonal: com.lightbend.paradox uses a module listed above it, which is the healthy direction.
22→13 com.lightbend.paradox uses com.lightbend.paradox.markdown.Index✕
- Connections
- 2 pairs of types, where a type in com.lightbend.paradox uses a type in com.lightbend.paradox.markdown.Index.
- The types involved
com.lightbend.paradox.ErrorContext→com.lightbend.paradox.markdown.Index.Pagecom.lightbend.paradox.ParadoxProcessor→com.lightbend.paradox.markdown.Index.Page
- Direction
- com.lightbend.paradox uses com.lightbend.paradox.markdown.Index, so a change to com.lightbend.paradox.markdown.Index can break com.lightbend.paradox, while a change to com.lightbend.paradox can't break com.lightbend.paradox.markdown.Index.
- Position
- Below the diagonal: com.lightbend.paradox uses a module listed above it, which is the healthy direction.
22→16 com.lightbend.paradox uses com.lightbend.paradox.markdown✕
- Connections
- 2 pairs of types, where a type in com.lightbend.paradox uses a type in com.lightbend.paradox.markdown.
- The types involved
com.lightbend.paradox.ParadoxProcessor→com.lightbend.paradox.markdown.CapturedLinkcom.lightbend.paradox.ParadoxProcessor→com.lightbend.paradox.markdown.CapturedLinkFragment
- Direction
- com.lightbend.paradox uses com.lightbend.paradox.markdown, so a change to com.lightbend.paradox.markdown can break com.lightbend.paradox, while a change to com.lightbend.paradox can't break com.lightbend.paradox.markdown.
- Position
- Below the diagonal: com.lightbend.paradox uses a module listed above it, which is the healthy direction.
22→21 com.lightbend.paradox uses com.lightbend.paradox.template✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox uses a type in com.lightbend.paradox.template.
- The types involved
com.lightbend.paradox.ParadoxProcessor→com.lightbend.paradox.template.PageTemplate
- Direction
- com.lightbend.paradox uses com.lightbend.paradox.template, so a change to com.lightbend.paradox.template can break com.lightbend.paradox, while a change to com.lightbend.paradox can't break com.lightbend.paradox.template.
- Position
- Below the diagonal: com.lightbend.paradox uses a module listed above it, which is the healthy direction.
23→6 com.lightbend.paradox.sbt.ParadoxPlugin uses com.lightbend.paradox.sbt✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.sbt.ParadoxPlugin uses a type in com.lightbend.paradox.sbt.
- The types involved
com.lightbend.paradox.sbt.ParadoxPlugin.autoImport→com.lightbend.paradox.sbt.ParadoxKeys
- Direction
- com.lightbend.paradox.sbt.ParadoxPlugin uses com.lightbend.paradox.sbt, so a change to com.lightbend.paradox.sbt can break com.lightbend.paradox.sbt.ParadoxPlugin, while a change to com.lightbend.paradox.sbt.ParadoxPlugin can't break com.lightbend.paradox.sbt.
- Position
- Below the diagonal: com.lightbend.paradox.sbt.ParadoxPlugin uses a module listed above it, which is the healthy direction.
23→22 com.lightbend.paradox.sbt.ParadoxPlugin uses com.lightbend.paradox✕
- Connections
- 1 pair of types, where a type in com.lightbend.paradox.sbt.ParadoxPlugin uses a type in com.lightbend.paradox.
- The types involved
com.lightbend.paradox.sbt.ParadoxPlugin.SbtParadoxLogger→com.lightbend.paradox.ParadoxLogger
- Direction
- com.lightbend.paradox.sbt.ParadoxPlugin uses com.lightbend.paradox, so a change to com.lightbend.paradox can break com.lightbend.paradox.sbt.ParadoxPlugin, while a change to com.lightbend.paradox.sbt.ParadoxPlugin can't break com.lightbend.paradox.
- Position
- Below the diagonal: com.lightbend.paradox.sbt.ParadoxPlugin uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 21 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 6 | Medium |
Roadmap
First, resolve the 19 orphaned files in the knowledge base, prioritizing ParserWithDirectives.java, Page.scala, and Tree.scala. Next, establish architectural clarity by documenting significant design decisions in a dedicated ADR folder and update the README with a getting-started guide, architecture overview, and project map. Simultaneously, fix broken documentation links to ensure accuracy and begin adopting TypeScript by adding a typecheck step to the build process.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 19 Orphaned file finding(s) in Knowledge Freshness — start with ParserWithDirectives.java, Page.scala, Tree.scala. | +9.3 pts | Medium | Knowledge Freshness |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +7.8 pts | Medium | Architecture documentation |
| Reconcile the README with reality: docs/src/main/paradox/directives/linking.md links to `url`, but `docs/src/main/paradox/directives/url` does not exist; docs/src/main/paradox/directives/linking.md links to `akka.http.scaladsl.index`, but `docs/src/main/paradox/directives/akka.http.scaladsl.index` does not exist; docs/src/main/paradox/directives/linking.md links to `akka.kafka.scaladsl.Consumer.Control`, but `docs/src/main/paradox/directives/akka.kafka.scaladsl.Consumer.Control` does not exist; docs/src/main/paradox/directives/linking.md links to `akka.http.javadsl.Http#shutdownAllConnectionPools--`, but `docs/src/main/paradox/directives/akka.http.javadsl.Http` does not exist; docs/src/main/paradox/directives/linking.md links to `java.util.concurrent.Flow.Subscriber`, but `docs/src/main/paradox/directives/java.util.concurrent.Flow.Subscriber` does not exist. | +7.8 pts | Medium | Documentation accuracy |
| Expand the README with getting-started, architecture overview and a project map. | +4.6 pts | Medium | Documentation (README) |
| 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. | +3.9 pts | Medium | Type Safety |
| Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with Directive.scala, ParadoxPlugin.scala, ParadoxProcessor.scala. | +1.9 pts | Low | Knowledge Freshness |
| On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it. | +2.5 pts | Medium | Nullable reference types |
| 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.1 pts | Medium | Security & performance tooling |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Mixed | Static Analysis (SAST): High: REDACTED |
| core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala | 6.0 | Mixed | Explicit Debt: TodoComment |
| core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala | 7.1 | Near-clean | Cyclomatic Complexity: DependencyDirective.renderDependency (cyclomatic 27) |
| REDACTED | 7.2 | Near-clean | Static Analysis (SAST): High: REDACTED |
| core/src/main/scala/com/lightbend/paradox/markdown/Page.scala | 7.3 | Near-clean | Explicit Debt: TodoComment |
| core/src/main/scala/com/lightbend/paradox/markdown/Index.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| core/src/main/scala/com/lightbend/paradox/template/PageTemplate.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxPlugin.scala | 8.5 | Near-clean | Cyclomatic Complexity: ParadoxPlugin.baseParadoxSettings (cyclomatic 17) |
| core/src/main/java/org/pegdown/ParserWithDirectives.java | 8.5 | Near-clean | God Classes: TooManyMethods: ParserWithDirectives |
| testkit/src/main/scala/com/lightbend/paradox/markdown/MarkdownTestkit.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| REDACTED | 9.0 | Near-clean | Static Analysis (SAST): Low: REDACTED |
| REDACTED | 9.0 | Near-clean | Static Analysis (SAST): Low: REDACTED |
| REDACTED | 9.0 | Near-clean | Static Analysis (SAST): Low: REDACTED |
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. 65 of 69 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 1.0 — 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 — 69 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, 136 of 151 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- 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) 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`) 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`) 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.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 2 Maven/Gradle manifest(s) were read, stating a version for 1 dependency(ies) and leaving 0 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
- 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 JVM 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.
- D27 Navigability — 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. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AXB1 Runtime evidence locked — no reproducible boot — 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. Subject: 3 markup document(s) — HTML, Razor, JSX, Vue, Svelte or server templates. The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, a Dockerfile, an npm dev script, a web service's own toolchain entry point (cargo, go, dotnet, Python, Spring Boot), or an Android app's own Gradle wrapper (run on an emulator); an Apple or Flutter app needs a host it lacks. None applied, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. Watchdog then boots it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
- 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.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
2 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was DependencyDirective.renderDependency at 27.
What to do
- Bring the 2 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with DependencyDirective.renderDependency (cyclomatic 27), ParadoxPlugin.baseParadoxSettings (cyclomatic 17). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cyclomatic Complexity from 9.2 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was DependencyDirective.renderDependency at 48.
What to do
- Bring the 1 body over 15 down to 15 or less in Cognitive Complexity — start with DependencyDirective.renderDependency (cognitive 48). — Refactoring it lifts Cognitive Complexity from 8.7 to about 10.0/10.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
2 god class(es) detected.
What to do
- Resolve the 1 TooManyMethods finding(s) in God Classes — start with ParserWithDirectives.java. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 FileTooLong finding(s) in God Classes — start with Directive.scala. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
8 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted.
What to do
- Resolve the 3 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with ParadoxProcessor.scala (2), Directive.scala. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 1 Near-duplicate member pair (33 shared lines) finding(s) in Code Duplication — start with ParadoxProcessor.scala. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (14 lines × 2) finding(s) in Code Duplication — start with Directive.scala. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
9 production modules (Gradle+sbt), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; edges a convention plugin adds from buildSrc or build-logic are not visible there; a dependsOn spread (deps: _*) and a project whose directory a helper computes are not visible there; 1 module(s) off the main sequence, with abstractness counted on 5 of the 9 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 4 classes have LCOM4 above 3.
D9 · Test Distribution
243 test methods: 243 unit, 0 integration, 0 BDD, 0 e2e. The Scala suite contributes 243 test case(s) across 28 file(s) in a test source set declaring at least one — every `test("…")`, `it("…")`, `property("…")` and `"…" in {…}` registration and every JUnit `@Test`, which is how munit, ScalaTest, utest, ZIO Test and specs2 declare a case; a case registered under a computed name is not counted, so this is a floor. Its tier split is INFERRED from paths and file names, except sbt's src/it source set, which the build declares.
D11 · Test Reliability
0 flaky across 1 measured tier(s). Scala (repository root, 34 test files): measured (0 flaky).
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 1 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 2 Maven/Gradle manifest(s) declare with a version resolvable from the manifest itself — the same declaration-site closure this analysis reads for dependency currency. The JVM has no lockfile a checkout is guaranteed to carry, so this is deliberately NOT the transitive closure. ★ COVERAGE OF THIS VERDICT: it grades this repository's JVM 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.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
No source file's living knowledge is concentrated in a single author. Counted over 22 of the 43 production source files in this repository: 19 are under the ~2,400-byte size floor this dimension measures over, and the remaining 2 have no attributable history left to measure.
D17 · Explicit Debt
5 deducted task-comment markers across 5775 LoC (0.1/KLoC) → score 9.9. 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 5 TodoComment finding(s) in Explicit Debt — start with Page.scala (2), ParadoxProcessor.scala, Index.scala. — One of this dimension's main actionable groups (5 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 and the accompanying paradox documentation set form a complete, well-structured guide for an external reader: the README states what the project is (Paradox, a markdown docs tool) with its Scaladex badge, license, and maintenance note; the architecture/Docs directory contains 32 configuration, getting-started, groups, overview, single-page HTML/PDF, validation, variable-substitution, and customization documents. The documentation is well-organized by heading (Configuration, Getting Started, Groups, Overview, Single page HTML/PDF output) with a visible TOC and each document's scope is clearly stated in its own file. The Paradox documentation is comprehensive and well-structured: the README files alone (only one document) cover no overview/installation/usage/contribution guidance but the architecture/design docs are rich. The main documents are a single templating guide plus three theme-and-css-friendliness guides plus directives alphabetically, with each topic fully covered by its own heading and examples; the visible content is clear and complete for its scope.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
0 API inconsistencies across 8 exposed types.
D26 · Project Cohesion
1 of 2 build units (Maven, sbt) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
23 finding(s): 0 critical, 15 high, 0 medium, 8 low. 12 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, 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).
- No action in Static Analysis (SAST) — all 12 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (12 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D34 · Knowledge Freshness
22 of 24 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala. Counted over 24 of the 43 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 19 Orphaned file finding(s) in Knowledge Freshness — start with ParserWithDirectives.java, Page.scala, Tree.scala. — One of this dimension's main actionable groups (19 recommendation-level).
- Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with Directive.scala, ParadoxPlugin.scala, ParadoxProcessor.scala. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Concentrated knowledge decay finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 1 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX6 · Interface segregation
AX8 · Test isolation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
- The root README is 58 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.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 2 of 2 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
- docs/src/main/paradox/directives/linking.md links to `url`, but `docs/src/main/paradox/directives/url` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/src/main/paradox/directives/linking.md:6
- docs/src/main/paradox/directives/linking.md links to `akka.http.scaladsl.index`, but `docs/src/main/paradox/directives/akka.http.scaladsl.index` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/src/main/paradox/directives/linking.md:76
- docs/src/main/paradox/directives/linking.md links to `akka.kafka.scaladsl.Consumer.Control`, but `docs/src/main/paradox/directives/akka.kafka.scaladsl.Consumer.Control` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/src/main/paradox/directives/linking.md:87
- docs/src/main/paradox/directives/linking.md links to `akka.http.javadsl.Http#shutdownAllConnectionPools--`, but `docs/src/main/paradox/directives/akka.http.javadsl.Http` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/src/main/paradox/directives/linking.md:143
- docs/src/main/paradox/directives/linking.md links to `java.util.concurrent.Flow.Subscriber`, but `docs/src/main/paradox/directives/java.util.concurrent.Flow.Subscriber` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/src/main/paradox/directives/linking.md:158
- plugin/src/sbt-test/paradox/github/docs/src/main/paradox/github.md links to `/docs/src/test/scala/GitHub.scala`, but `docs/src/test/scala/GitHub.scala` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — plugin/src/sbt-test/paradox/github/docs/src/main/paradox/github.md:1
- plugin/src/sbt-test/paradox/snippet-absolute/docs/src/main/paradox/absolute.md links to `/docs/src/main/scala/Snippets.scala`, but `docs/src/main/scala/Snippets.scala` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — plugin/src/sbt-test/paradox/snippet-absolute/docs/src/main/paradox/absolute.md:1
What to do
- Reconcile the README with reality: docs/src/main/paradox/directives/linking.md links to `url`, but `docs/src/main/paradox/directives/url` does not exist; docs/src/main/paradox/directives/linking.md links to `akka.http.scaladsl.index`, but `docs/src/main/paradox/directives/akka.http.scaladsl.index` does not exist; docs/src/main/paradox/directives/linking.md links to `akka.kafka.scaladsl.Consumer.Control`, but `docs/src/main/paradox/directives/akka.kafka.scaladsl.Consumer.Control` does not exist; docs/src/main/paradox/directives/linking.md links to `akka.http.javadsl.Http#shutdownAllConnectionPools--`, but `docs/src/main/paradox/directives/akka.http.javadsl.Http` does not exist; docs/src/main/paradox/directives/linking.md links to `java.util.concurrent.Flow.Subscriber`, but `docs/src/main/paradox/directives/java.util.concurrent.Flow.Subscriber` does not exist.
P1 · CI/CD gates
P10 · Library API & versioning
- 12/13 types (92%) declared in the published library are public. For a library, every public type is a stability contract — keep implementation types off the surface and expose only the intended API.
What to do
- Keep implementation types off the public surface (Java: package-private (no modifier), or leave its package out of `module-info` exports) so internals can change without breaking consumers.
P2 · Observability
- Only 1/2 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `docs/src/main/resources`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
- Consider OpenTelemetry tracing/metrics (opentelemetry-java or Micrometer) and a health-check endpoint (Spring Boot Actuator's /actuator/health, or a /health route) for operability.
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 7488 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 `maven`, `gradle` — add those `package-ecosystem` entries 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.
P6 · Release Hygiene
R1 · Type Safety
- 0 typed · 100 plain JS — the untyped files are themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/js/groups.js, themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/js/magellan.js, themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/js/page.js, themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/js/snippets.js, themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/js/warnOldVersion.js, themes/generic/target/web/web-modules/main/webjars/lib/Placeholders.js/placeholders.js (+94 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
- themes/generic/target/web/web-modules/main/webjars/lib/ and themes/generic/target/web/web-modules/test/webjars/lib/ are near-verbatim copies of each other: 144 files are byte-identical under the same relative paths (~30605 lines; the trees hold 144 and 167 files). That is one structural fact, not 144 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — themes/generic/target/web/web-modules/main/webjars/lib/jquery/jquery.js:1
- docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/ and themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/ are near-verbatim copies of each other: 23 files are byte-identical under the same relative paths (~1757 lines; the trees hold 23 and 23 files). That is one structural fact, not 23 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/css/page.css:1
- docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/ and themes/generic/target/web/web-modules/test/webjars/lib/paradox-theme-generic/ are near-verbatim copies of each other: 23 files are byte-identical under the same relative paths (~1757 lines; the trees hold 23 and 23 files). That is one structural fact, not 23 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/css/page.css:1
- themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/ and themes/generic/target/web/web-modules/test/webjars/lib/paradox-theme-generic/ are near-verbatim copies of each other: 23 files are byte-identical under the same relative paths (~1757 lines; the trees hold 23 and 23 files). That is one structural fact, not 23 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/css/page.css:1
- docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/ and themes/generic/src/main/assets/ are near-verbatim copies of each other: 19 files are byte-identical under the same relative paths (~1719 lines; the trees hold 23 and 19 files). That is one structural fact, not 19 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/css/page.css:1
- themes/generic/src/main/assets/ and themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/ are near-verbatim copies of each other: 19 files are byte-identical under the same relative paths (~1719 lines; the trees hold 19 and 23 files). That is one structural fact, not 19 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — themes/generic/src/main/assets/css/page.css:1
- themes/generic/src/main/assets/ and themes/generic/target/web/web-modules/test/webjars/lib/paradox-theme-generic/ are near-verbatim copies of each other: 19 files are byte-identical under the same relative paths (~1719 lines; the trees hold 19 and 23 files). That is one structural fact, not 19 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — themes/generic/src/main/assets/css/page.css:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:76 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js:86 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:76
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.util.triggers.js:104 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.util.triggers.js:126 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.util.triggers.js:104
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordion.js:171 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordionMenu.js:228 — the two spans are one implementation copied and then locally edited — 83 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordion.js:171
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordionMenu.js:96 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.drilldown.js:122 — the two spans are one implementation copied and then locally edited — 105 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordionMenu.js:96
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.toggler.js:1 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js:1 — the two spans are one implementation copied and then locally edited — 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.toggler.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:109 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js:118 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:109
- themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:114 · themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:712 — 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. — themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:114
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordionMenu.js:3 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.drilldown.js:3 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdownMenu.js:3 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordionMenu.js:3
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.interchange.js:1 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.offcanvas.js:1 — the two spans are one implementation copied and then locally edited — 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.interchange.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.interchange.js:1 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.toggler.js:1 — the two spans are one implementation copied and then locally edited — 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.interchange.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:170 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:192 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:217 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:170
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:195 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:220 — 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. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:195
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordion.js:3 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:3 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js:3 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:3 · +2 more site(s) not listed — the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordion.js:3
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.drilldown.js:162 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.drilldown.js:184 — 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. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.drilldown.js:162
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:159 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:298 — 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. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:159
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:18 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.equalizer.js:20 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.magellan.js:18 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.sticky.js:19 — the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:18
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:180 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:191 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:180
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.offcanvas.js:195 · themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.offcanvas.js:204 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.offcanvas.js:195
- themes/generic/target/web/web-modules/main/webjars/lib/Placeholders.js/placeholders.js:388 · themes/generic/target/web/web-modules/main/webjars/lib/Placeholders.js/placeholders.js:407 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — themes/generic/target/web/web-modules/main/webjars/lib/Placeholders.js/placeholders.js:388
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
- _reposition has cyclomatic complexity 22 and cognitive complexity 22; 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. (×4) — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:87, themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js:95, themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.dropdown.js:87, …
- onTouchEnd has cyclomatic complexity 20 and cognitive complexity 24; 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. (×2) — themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:517, themes/generic/target/web/web-modules/test/webjars/lib/fastclick/fastclick.js:517
- _setHandlePos has cyclomatic complexity 18 and cognitive complexity 29; 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. (×2) — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js:108, themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.slider.js:108
- notNeeded has cyclomatic complexity 16 and cognitive complexity 34; 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. (×2) — themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:731, themes/generic/target/web/web-modules/test/webjars/lib/fastclick/fastclick.js:731
- (anonymous) has cyclomatic complexity 16 and cognitive complexity 32; 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. (×2) — themes/generic/target/web/web-modules/main/webjars/lib/Placeholders.js/placeholders.js:406, themes/generic/target/web/web-modules/test/webjars/lib/Placeholders.js/placeholders.js:406
- changeSlide has cyclomatic complexity 16 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. (×2) — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js:249, themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.orbit.js:249
- _handleEvent has cyclomatic complexity 13 and cognitive complexity 24; 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. (×2) — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js:267, themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.slider.js:267
- open has cyclomatic complexity 12 and cognitive complexity 18; 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. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:189
- close has cyclomatic complexity 12 and cognitive complexity 18; 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. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:373
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js has 664 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js has 527 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.sticky.js has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.sticky.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js has 411 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R7 · Dead Code
- 100 file(s) (~19398 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package.
R9 · Circular Imports
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
- `Source.fromFile(…)` opens something that has to be given back — a file descriptor, a socket, a directory handle — and its only use reads `.getLines` through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: `Too many open files` under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with `scala.util.Using.resource(Source.fromFile(…)) { r => … }`, which releases it on every path including a throw, or hold it and call `.close()` in a `finally`. — testkit/src/main/scala/com/lightbend/paradox/markdown/MarkdownTestkit.scala:80
What to do
- Each finding names the value and the span that decides who owns it — the `new` that created it, or the constructor parameter that handed it over. Confirm ownership from that span, then make the disposal match it: release what this type created, leave what it was injected with to whoever created THAT, and drop a finalizer whose type holds nothing unmanaged to release.
X19 · Unrestored process-global state
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- `case _: Url.Error` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:506
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. — plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxPlugin.scala:539
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- No build over this repository's 33 Scala product file(s) passes `-Yexplicit-nulls`, enables WartRemover's `Null` wart or runs Scalafix's `DisableSyntax.noNulls`, so every reference type admits null and nothing reports a `null` written into the code or returned from a Java API — the first one to reach a method call is a `NullPointerException`. `Option` by convention is a habit no tool here holds the code to.
What to do
- On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 40% | Weak — gated by R1, X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 93% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 27% | Weak — gated by D34, M2, M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 64% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 80% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 11 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 2 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 58 check(s) not relevant to this codebase
- AC1 Text alternatives — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC2 Forms & labels — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC3 Page structure — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC4 Keyboard semantics — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC5 ARIA correctness — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC6 Visual & motion safety — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC7 A11y enforcement — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AX1 Captive dependencies — Not applicable: this repository's Java imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's Scala imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — No container singleton was found, so there is no shared instance for concurrent requests to race on. No class in this Java code is a Spring, JSR-330 or CDI singleton bean. No class in this Scala code is a Play controller, a Cask routes object, a Scalatra servlet, a Finatra controller, an Akka/Pekko HTTP routes holder or a JSR-330/Spring singleton, so no instance is shared between request threads. TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- 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
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named column (email, first_name, date_of_birth, phone_number, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, a MongoDB or Cassandra driver, JDBC) imported either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~4075 lines of test source are present (.scala) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D12 Dependency Hygiene — Not scored — 2 Maven/Gradle manifest(s) were read, stating a version for 1 dependency(ies) and leaving 0 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
- 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.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.scala), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — 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.
- 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
- DM1 Domain Modelling — applicable but not scored (1 of 2 signals for this style — below the bar we score at): 48 value object(s)
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- 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'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM, JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- 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 — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Java and Scala code has 6,556 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- PF3 Async & latency hygiene — Not applicable: this repository declares no async functions, so there is no asynchronous code for a blocking call to stall.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- R4 Test Coverage — 50 test file(s) reach none of 50 production file(s) via imports — exercised outside the JS import graph (integration/bundled), not import-reachable
- 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
- 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 — No web surface: 39 Scala file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. This repository serves no HTTP of its own — no HTTP-server artifact (akka-http, pekko-http, http4s, Play, Finagle, zio-http, cask, Scalatra, a tapir server, Jetty, Undertow, …) outside test scope in its build, and no server package imported or server bound in its production source — so HTTPS enforcement, HSTS, cookie flags and input validation are N/A here, as they are for a C# library or worker. If this codebase starts serving HTTP, the dimension reactivates automatically.
- X2 Cancellation propagation — no C# was loaded; this repository's Scala and Java were read, and no request in it can be cancelled by a caller — a Scala request takes no token: a Future cannot be cancelled, and cats-effect, ZIO and Monix interrupt the fiber that made the request from outside the call, not through a parameter; a Java request off Android takes no token: it is cancelled through the handle it returns (Future.cancel, Call.cancel, a Disposable), ambiently (io.grpc.Context) or by interrupting its thread, not through a parameter
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Java was read, and it logs through none that an assembled message defeats: java.util.logging's level methods, log4j 1, commons-logging, JBoss Logging and Flogger take one finished message (as log4net does in C#), or it makes no call through a named logger at all. Calls made through SLF4J or log4j 2 (`org.slf4j.Logger`, `org.apache.logging.log4j.Logger`, Lombok's `@Slf4j`) would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 15 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 79 finding(s)
- TodoComment core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:494
- TodoComment core/src/main/scala/com/lightbend/paradox/markdown/Page.scala:105
- TodoComment core/src/main/scala/com/lightbend/paradox/markdown/Page.scala:149
- TodoComment core/src/main/scala/com/lightbend/paradox/markdown/Index.scala:87
- TodoComment core/src/main/scala/com/lightbend/paradox/template/PageTemplate.scala:45
- Complex function _reposition (cyclomatic 22, cognitive 22) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:87
- Complex function _reposition (cyclomatic 22, cognitive 22) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js:95
- Complex function _reposition (cyclomatic 22, cognitive 22) themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.dropdown.js:87
- Complex function _reposition (cyclomatic 22, cognitive 22) themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.tooltip.js:95
- Duplicated block (11 lines × 2) core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:91
- Duplicated block (11 lines × 2) core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:87
- Duplicated block (11 lines × 2) core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala:793
- Forked directory tree (23 identical files, ~1757 lines × 2 trees) docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/css/page.css:1
- Forked directory tree (23 identical files, ~1757 lines × 2 trees) docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/css/page.css:1
- Forked directory tree (23 identical files, ~1757 lines × 2 trees) themes/generic/target/web/classes/main/META-INF/resources/webjars/paradox-theme-generic/0.11.1/css/page.css:1
- Forked directory tree (19 identical files, ~1719 lines × 2 trees) docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/css/page.css:1
- Forked directory tree (19 identical files, ~1719 lines × 2 trees) themes/generic/src/main/assets/css/page.css:1
- Forked directory tree (19 identical files, ~1719 lines × 2 trees) themes/generic/src/main/assets/css/page.css:1
- Duplicated block (9 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:195
- Duplicated block (9 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.drilldown.js:162
- Duplicated block (9 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:159
- Duplicated block with local edits (12 matched lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordionMenu.js:96
- Duplicated block with local edits (12 matched lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.toggler.js:1
- Duplicated block with local edits (10 matched lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.interchange.js:1
- Duplicated block with local edits (10 matched lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.interchange.js:1
- Duplicated block (7 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:180
- Duplicated block (7 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.offcanvas.js:195
- Complex function onTouchEnd (cyclomatic 20, cognitive 24) themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:517
- Complex function onTouchEnd (cyclomatic 20, cognitive 24) themes/generic/target/web/web-modules/test/webjars/lib/fastclick/fastclick.js:517
- Complex function _setHandlePos (cyclomatic 18, cognitive 29) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js:108
- Complex function _setHandlePos (cyclomatic 18, cognitive 29) themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.slider.js:108
- Complex function notNeeded (cyclomatic 16, cognitive 34) themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:731
- Complex function notNeeded (cyclomatic 16, cognitive 34) themes/generic/target/web/web-modules/test/webjars/lib/fastclick/fastclick.js:731
- Complex function (anonymous) (cyclomatic 16, cognitive 32) themes/generic/target/web/web-modules/main/webjars/lib/Placeholders.js/placeholders.js:406
- Complex function (anonymous) (cyclomatic 16, cognitive 32) themes/generic/target/web/web-modules/test/webjars/lib/Placeholders.js/placeholders.js:406
- Complex function changeSlide (cyclomatic 16, cognitive 26) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js:249
- Complex function changeSlide (cyclomatic 16, cognitive 26) themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.orbit.js:249
- Complex function _handleEvent (cyclomatic 13, cognitive 24) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js:267
- Complex function _handleEvent (cyclomatic 13, cognitive 24) themes/generic/target/web/web-modules/test/webjars/lib/foundation/js/foundation.slider.js:267
- DependencyDirective.renderDependency (cyclomatic 27) core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala:761
- ParadoxPlugin.baseParadoxSettings (cyclomatic 17) plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxPlugin.scala:85
- DependencyDirective.renderDependency (cognitive 48) core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala:761
- TooManyMethods: ParserWithDirectives core/src/main/java/org/pegdown/ParserWithDirectives.java:34
- FileTooLong: markdown/Directive.scala core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Near-duplicate member pair (33 shared lines) core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:63
- Duplicated block (14 lines × 2) core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala:694
- Duplicated block (12 lines × 2) core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:117
- Duplicated block (10 lines × 2) core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:65
- Duplicated block (6 lines × 2) core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala:188
- Duplicated block (5 lines × 2) testkit/src/main/scala/com/lightbend/paradox/markdown/MarkdownTestkit.scala:41
- Off the main sequence: core
- Type Safety
- Forked directory tree (144 identical files, ~30605 lines × 2 trees) themes/generic/target/web/web-modules/main/webjars/lib/jquery/jquery.js:1
- Duplicated block (19 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:76
- Duplicated block (18 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.util.triggers.js:104
- Duplicated block with local edits (13 matched lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordion.js:171
- Duplicated block (11 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:109
- Duplicated block (10 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:114
- Duplicated block (10 lines × 3 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordionMenu.js:3
- Duplicated block (9 lines × 3 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:170
- Duplicated block (9 lines × 6 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.accordion.js:3
- Duplicated block (7 lines × 4 locations) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:18
- Duplicated block (6 lines × 2 locations) themes/generic/target/web/web-modules/main/webjars/lib/Placeholders.js/placeholders.js:388
- Complex function open (cyclomatic 12, cognitive 18) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:189
- Complex function close (cyclomatic 12, cognitive 18) themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:373
- themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js: 664 lines of code themes/generic/target/web/web-modules/main/webjars/lib/fastclick/fastclick.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js: 537 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.slider.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js: 527 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.reveal.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js: 454 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.abide.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.sticky.js: 416 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.sticky.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js: 411 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.orbit.js:1
- themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js: 402 lines of code themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.tooltip.js:1
- Disposable created and abandoned in the function that made it testkit/src/main/scala/com/lightbend/paradox/markdown/MarkdownTestkit.scala:80
- Swallowed exception (caught, then discarded) core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:506
- Swallowed exception (empty catch) plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxPlugin.scala:539
Minor — 57 finding(s)
- Orphaned file core/src/main/java/org/pegdown/ParserWithDirectives.java:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/Page.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/tree/Tree.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/Index.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/SinglePageSupport.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/Writer.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/LinkCapturer.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/TableOfContents.scala:1
- Orphaned file testkit/src/main/scala/com/lightbend/paradox/markdown/MarkdownTestkit.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/Snippet.scala:1
- Orphaned file core/src/main/java/org/pegdown/ast/DirectiveAttributes.java:1
- Orphaned file plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxKeys.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/ErrorContext.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/template/PageTemplate.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/StyledVerbatim.scala:1
- Orphaned file core/src/main/java/org/pegdown/ast/DirectiveNode.java:1
- Orphaned file theme-plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxThemePlugin.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/Url.scala:1
- Orphaned file core/src/main/scala/com/lightbend/paradox/markdown/Breadcrumbs.scala:1
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:90
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:103
- Duplicated predicate docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/js/magellan.js:8
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:94
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:108
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:97
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:110
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:92
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/foundation/js/foundation.dropdown.js:105
- Duplicated predicate docs/target/web/web-modules/main/webjars/lib/paradox-theme-generic/js/groups.js:86
- Duplicated predicate themes/generic/target/web/web-modules/main/webjars/lib/jQuery-Autocomplete/jquery.autocomplete.js:16
- README/code drift docs/src/main/paradox/directives/linking.md:6
- README/code drift docs/src/main/paradox/directives/linking.md:76
- README/code drift docs/src/main/paradox/directives/linking.md:87
- README/code drift docs/src/main/paradox/directives/linking.md:143
- README/code drift docs/src/main/paradox/directives/linking.md:158
- README/code drift plugin/src/sbt-test/paradox/github/docs/src/main/paradox/github.md:1
- README/code drift plugin/src/sbt-test/paradox/snippet-absolute/docs/src/main/paradox/absolute.md:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Most significant orphaned file core/src/main/scala/com/lightbend/paradox/markdown/Directive.scala:1
- Most significant orphaned file plugin/src/main/scala/com/lightbend/paradox/sbt/ParadoxPlugin.scala:1
- Most significant orphaned file core/src/main/scala/com/lightbend/paradox/ParadoxProcessor.scala:1
- Projects may be oversized for their cohesion
- Concentrated knowledge decay
- REDACTED
- REDACTED
- Thin README
- No ADRs
- No architecture diagram/doc
- Large public API surface
- Logging is not universal
- No SAST
- Scala's null is not held to the type system everywhere
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-9c8de704e9f1478a9edaa2f38c986786/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-9c8de704e9f1478a9edaa2f38c986786/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 23 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-2abac635fff54e71b46c21715e0b736f | 0 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-2abac635fff54e71b46c21715e0b736f | 0 | artifacts/raw/osv-scanner.json |