Executive summary
mattlianje/layoutz scores 47 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. 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 weakest lens counts most in the score, and here that is Accessibility, which scores 34 and is rated Weak. Its Text alternatives dimension scores 1 out of 10, and until that reaches 4, Accessibility can't be rated higher than Adequate. The first actions are to add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video and to make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href, and if Accessibility rose to 70, the score would rise from 47 to about 57.
29 findings are critical: 12 in Keyboard semantics, 11 in Dependency Vulnerabilities, four in Text alternatives, one in Page structure and one in Secrets (history).
Watchdog couldn't measure 21 dimensions in this code, among them Cyclomatic Complexity, Cognitive Complexity and Coupling, so they are left out of the score. The product code is 8,373 lines, which would take an estimated 0.1 person-years, around €10,000, to rebuild.
If Accessibility rose from 34 to 70, the lowest score rated Strong, the score would rise from 47 to about 57.
New since the last survey: 3 findings
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
Fixed since the last survey: 1 finding
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
Rebuild cost: about €10,000 · Estimate
| Cost to rebuild | €3,300 to €17,000, for 55 to 175 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 47. 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: 8,373 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 layoutz-ts.layoutz | 2 layoutz.Ask | 3 layoutz.Table | 4 layoutz-ts | 5 layoutz.Border | 6 layoutz.Key | 7 layoutz.Style | 8 InlineDemo | 9 layoutz | 10 RayMarcher | 11 layoutz.Alignment | 12 layoutz.Color | 13 layoutz.LayoutzRuntime | 14 layoutz.SpinnerStyle | 15 layoutz.loader | 16 (global) | 17 RayScene | 18 layoutz.Cmd | 19 layoutz.Sub |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 layoutz-ts.layoutz | |||||||||||||||||||
| 2 layoutz.Ask | |||||||||||||||||||
| 3 layoutz.Table | |||||||||||||||||||
| 4 layoutz-ts | 24 | ||||||||||||||||||
| 5 layoutz.Border | 13 | ||||||||||||||||||
| 6 layoutz.Key | 16 | ||||||||||||||||||
| 7 layoutz.Style | 9 | ||||||||||||||||||
| 8 InlineDemo | 1 | 1 | 2 | ||||||||||||||||
| 9 layoutz | 1 | 10 | 1 | 1 | 1 | 3 | |||||||||||||
| 10 RayMarcher | 1 | 1 | |||||||||||||||||
| 11 layoutz.Alignment | 3 | ||||||||||||||||||
| 12 layoutz.Color | 19 | ||||||||||||||||||
| 13 layoutz.LayoutzRuntime | 3 | ||||||||||||||||||
| 14 layoutz.SpinnerStyle | 8 | ||||||||||||||||||
| 15 layoutz.loader | 1 | 1 | 9 | ||||||||||||||||
| 16 (global) | 9 | 4 | 1 | 75 | 2 | ||||||||||||||
| 17 RayScene | 1 | 1 | |||||||||||||||||
| 18 layoutz.Cmd | 3 | 3 | |||||||||||||||||
| 19 layoutz.Sub | 3 | 3 |
4→1 layoutz-ts uses layoutz-ts.layoutz✕
- Connections
- 24 pairs of types, where a type in layoutz-ts uses a type in layoutz-ts.layoutz.
- The types involved
layoutz-ts.layoutz→layoutz-ts.layoutz.AutoCenteredlayoutz-ts.layoutz→layoutz-ts.layoutz.Bannerlayoutz-ts.layoutz→layoutz-ts.layoutz.BorderStylelayoutz-ts.layoutz→layoutz-ts.layoutz.Chartlayoutz-ts.layoutz→layoutz-ts.layoutz.ColorFulllayoutz-ts.layoutz→layoutz-ts.layoutz.ColorTruelayoutz-ts.layoutz→layoutz-ts.layoutz.ColorTypelayoutz-ts.layoutz→layoutz-ts.layoutz.Columnslayoutz-ts.layoutz→layoutz-ts.layoutz.CombinedStyleslayoutz-ts.layoutz→layoutz-ts.layoutz.Elementlayoutz-ts.layoutz→layoutz-ts.layoutz.Emptylayoutz-ts.layoutz→layoutz-ts.layoutz.HorizontalRulelayoutz-ts.layoutz→layoutz-ts.layoutz.InlineBarlayoutz-ts.layoutz→layoutz-ts.layoutz.KeyValuelayoutz-ts.layoutz→layoutz-ts.layoutz.Layoutlayoutz-ts.layoutz→layoutz-ts.layoutz.OrderedListlayoutz-ts.layoutz→layoutz-ts.layoutz.Rowlayoutz-ts.layoutz→layoutz-ts.layoutz.StatusCardlayoutz-ts.layoutz→layoutz-ts.layoutz.Stylelayoutz-ts.layoutz→layoutz-ts.layoutz.StyleTypelayoutz-ts.layoutz→layoutz-ts.layoutz.Tablelayoutz-ts.layoutz→layoutz-ts.layoutz.Textlayoutz-ts.layoutz→layoutz-ts.layoutz.UnorderedListlayoutz-ts.layoutz→layoutz-ts.layoutz.VerticalRule
- Direction
- layoutz-ts uses layoutz-ts.layoutz, so a change to layoutz-ts.layoutz can break layoutz-ts, while a change to layoutz-ts can't break layoutz-ts.layoutz.
- Position
- Below the diagonal: layoutz-ts uses a module listed above it, which is the healthy direction.
5→9 layoutz.Border uses layoutz part of a loop✕
- Connections
- 13 pairs of types, where a type in layoutz.Border uses a type in layoutz.
- The types involved
layoutz.Border.Ascii→layoutz.Borderlayoutz.Border.Block→layoutz.Borderlayoutz.Border.Custom→layoutz.Borderlayoutz.Border.Dashed→layoutz.Borderlayoutz.Border.Dotted→layoutz.Borderlayoutz.Border.Double→layoutz.Borderlayoutz.Border.InnerHalfBlock→layoutz.Borderlayoutz.Border.Markdown→layoutz.Borderlayoutz.Border.None→layoutz.Borderlayoutz.Border.OuterHalfBlock→layoutz.Borderlayoutz.Border.Round→layoutz.Borderlayoutz.Border.Single→layoutz.Borderlayoutz.Border.Thick→layoutz.Border
- Direction
- layoutz.Border uses layoutz, so a change to layoutz can break layoutz.Border, while a change to layoutz.Border can't break layoutz.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6→9 layoutz.Key uses layoutz part of a loop✕
- Connections
- 16 pairs of types, where a type in layoutz.Key uses a type in layoutz.
- The types involved
layoutz.Key.Backspace→layoutz.Keylayoutz.Key.Char→layoutz.Keylayoutz.Key.Ctrl→layoutz.Keylayoutz.Key.Delete→layoutz.Keylayoutz.Key.Down→layoutz.Keylayoutz.Key.End→layoutz.Keylayoutz.Key.Enter→layoutz.Keylayoutz.Key.Escape→layoutz.Keylayoutz.Key.Home→layoutz.Keylayoutz.Key.Left→layoutz.Keylayoutz.Key.PageDown→layoutz.Keylayoutz.Key.PageUp→layoutz.Keylayoutz.Key.Right→layoutz.Keylayoutz.Key.Tab→layoutz.Keylayoutz.Key.Unknown→layoutz.Keylayoutz.Key.Up→layoutz.Key
- Direction
- layoutz.Key uses layoutz, so a change to layoutz can break layoutz.Key, while a change to layoutz.Key can't break layoutz.
- 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.
7→9 layoutz.Style uses layoutz part of a loop✕
- Connections
- 9 pairs of types, where a type in layoutz.Style uses a type in layoutz.
- The types involved
layoutz.Style.Blink→layoutz.Stylelayoutz.Style.Bold→layoutz.Stylelayoutz.Style.Dim→layoutz.Stylelayoutz.Style.Hidden→layoutz.Stylelayoutz.Style.Italic→layoutz.Stylelayoutz.Style.NoStyle→layoutz.Stylelayoutz.Style.Reverse→layoutz.Stylelayoutz.Style.Strikethrough→layoutz.Stylelayoutz.Style.Underline→layoutz.Style
- Direction
- layoutz.Style uses layoutz, so a change to layoutz can break layoutz.Style, while a change to layoutz.Style can't break layoutz.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
8→5 InlineDemo uses layoutz.Border✕
- Connections
- 1 pair of types, where a type in InlineDemo uses a type in layoutz.Border.
- The types involved
InlineDemo.LoadState→layoutz.Border.Double
- Direction
- InlineDemo uses layoutz.Border, so a change to layoutz.Border can break InlineDemo, while a change to InlineDemo can't break layoutz.Border.
- Position
- Below the diagonal: InlineDemo uses a module listed above it, which is the healthy direction.
8→9 InlineDemo uses layoutz part of a loop✕
- Connections
- 1 pair of types, where a type in InlineDemo uses a type in layoutz.
- The types involved
InlineDemo.Loader→layoutz.LayoutzApp
- Direction
- InlineDemo uses layoutz, so a change to layoutz can break InlineDemo, while a change to InlineDemo can't break layoutz.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
8→16 InlineDemo uses (global) part of a loop✕
- Connections
- 2 pairs of types, where a type in InlineDemo uses a type in (global).
- The types involved
InlineDemo.Loader→MsgInlineDemo.Tick→Msg
- Direction
- InlineDemo uses (global), so a change to (global) can break InlineDemo, while a change to InlineDemo can't break (global).
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
9→2 layoutz uses layoutz.Ask✕
- Connections
- 1 pair of types, where a type in layoutz uses a type in layoutz.Ask.
- The types involved
layoutz.Ask→layoutz.Ask.FileEntry
- Direction
- layoutz uses layoutz.Ask, so a change to layoutz.Ask can break layoutz, while a change to layoutz can't break layoutz.Ask.
- Position
- Below the diagonal: layoutz uses a module listed above it, which is the healthy direction.
9→5 layoutz uses layoutz.Border✕
- Connections
- 10 pairs of types, where a type in layoutz uses a type in layoutz.Border.
- The types involved
layoutz.Bar→layoutz.Border.Doublelayoutz.BoxData→layoutz.Border.Doublelayoutz.Heatmap→layoutz.Border.Doublelayoutz.HeatmapData→layoutz.Border.Doublelayoutz.Histogram→layoutz.Border.Doublelayoutz.InlineBar→layoutz.Border.Doublelayoutz.Plot→layoutz.Border.Doublelayoutz.Slice→layoutz.Border.Doublelayoutz.Sparkline→layoutz.Border.Doublelayoutz.loader→layoutz.Border.Double
- Direction
- layoutz uses layoutz.Border, so a change to layoutz.Border can break layoutz, while a change to layoutz can't break layoutz.Border.
- Position
- Below the diagonal: layoutz uses a module listed above it, which is the healthy direction.
9→6 layoutz uses layoutz.Key✕
- Connections
- 1 pair of types, where a type in layoutz uses a type in layoutz.Key.
- The types involved
layoutz.LoaderStyle→layoutz.Key.Char
- Direction
- layoutz uses layoutz.Key, so a change to layoutz.Key can break layoutz, while a change to layoutz can't break layoutz.Key.
- Position
- Below the diagonal: layoutz uses a module listed above it, which is the healthy direction.
9→7 layoutz uses layoutz.Style✕
- Connections
- 1 pair of types, where a type in layoutz uses a type in layoutz.Style.
- The types involved
layoutz.Element→layoutz.Style.Underline
- Direction
- layoutz uses layoutz.Style, so a change to layoutz.Style can break layoutz, while a change to layoutz can't break layoutz.Style.
- Position
- Below the diagonal: layoutz uses a module listed above it, which is the healthy direction.
9→8 layoutz uses InlineDemo✕
- Connections
- 1 pair of types, where a type in layoutz uses a type in InlineDemo.
- The types involved
layoutz.loader→InlineDemo.Loader
- Direction
- layoutz uses InlineDemo, so a change to InlineDemo can break layoutz, while a change to layoutz can't break InlineDemo.
- Position
- Below the diagonal: layoutz uses a module listed above it, which is the healthy direction.
9→16 layoutz uses (global) part of a loop✕
- Connections
- 3 pairs of types, where a type in layoutz uses a type in (global).
- The types involved
layoutz.CmdAfterMs→Msglayoutz.CmdBatch→Msglayoutz.SubBatch→Msg
- Direction
- layoutz uses (global), so a change to (global) can break layoutz, while a change to layoutz can't break (global).
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
10→9 RayMarcher uses layoutz✕
- Connections
- 1 pair of types, where a type in RayMarcher uses a type in layoutz.
- The types involved
RayMarcher.FrameBuffer→layoutz.Element
- Direction
- RayMarcher uses layoutz, so a change to layoutz can break RayMarcher, while a change to RayMarcher can't break layoutz.
- Position
- Below the diagonal: RayMarcher uses a module listed above it, which is the healthy direction.
10→16 RayMarcher uses (global) part of a loop✕
- Connections
- 1 pair of types, where a type in RayMarcher uses a type in (global).
- The types involved
RayMarcher.FrameBuffer→Pixel
- Direction
- RayMarcher uses (global), so a change to (global) can break RayMarcher, while a change to RayMarcher can't break (global).
- 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.
11→9 layoutz.Alignment uses layoutz✕
- Connections
- 3 pairs of types, where a type in layoutz.Alignment uses a type in layoutz.
- The types involved
layoutz.Alignment.Center→layoutz.Alignmentlayoutz.Alignment.Left→layoutz.Alignmentlayoutz.Alignment.Right→layoutz.Alignment
- Direction
- layoutz.Alignment uses layoutz, so a change to layoutz can break layoutz.Alignment, while a change to layoutz.Alignment can't break layoutz.
- Position
- Below the diagonal: layoutz.Alignment uses a module listed above it, which is the healthy direction.
12→9 layoutz.Color uses layoutz✕
- Connections
- 19 pairs of types, where a type in layoutz.Color uses a type in layoutz.
- The types involved
layoutz.Color.Black→layoutz.Colorlayoutz.Color.Blue→layoutz.Colorlayoutz.Color.BrightBlack→layoutz.Colorlayoutz.Color.BrightBlue→layoutz.Colorlayoutz.Color.BrightCyan→layoutz.Colorlayoutz.Color.BrightGreen→layoutz.Colorlayoutz.Color.BrightMagenta→layoutz.Colorlayoutz.Color.BrightRed→layoutz.Colorlayoutz.Color.BrightWhite→layoutz.Colorlayoutz.Color.BrightYellow→layoutz.Colorlayoutz.Color.Cyan→layoutz.Colorlayoutz.Color.Full→layoutz.Colorlayoutz.Color.Green→layoutz.Colorlayoutz.Color.Magenta→layoutz.Colorlayoutz.Color.NoColor→layoutz.Colorlayoutz.Color.Red→layoutz.Colorlayoutz.Color.True→layoutz.Colorlayoutz.Color.White→layoutz.Colorlayoutz.Color.Yellow→layoutz.Color
- Direction
- layoutz.Color uses layoutz, so a change to layoutz can break layoutz.Color, while a change to layoutz.Color can't break layoutz.
- Position
- Below the diagonal: layoutz.Color uses a module listed above it, which is the healthy direction.
13→9 layoutz.LayoutzRuntime uses layoutz✕
- Connections
- 3 pairs of types, where a type in layoutz.LayoutzRuntime uses a type in layoutz.
- The types involved
layoutz.LayoutzRuntime.RuntimeInstance→layoutz.Cmdlayoutz.LayoutzRuntime.RuntimeInstance→layoutz.Keylayoutz.LayoutzRuntime.RuntimeInstance→layoutz.Sub
- Direction
- layoutz.LayoutzRuntime uses layoutz, so a change to layoutz can break layoutz.LayoutzRuntime, while a change to layoutz.LayoutzRuntime can't break layoutz.
- Position
- Below the diagonal: layoutz.LayoutzRuntime uses a module listed above it, which is the healthy direction.
14→9 layoutz.SpinnerStyle uses layoutz✕
- Connections
- 8 pairs of types, where a type in layoutz.SpinnerStyle uses a type in layoutz.
- The types involved
layoutz.SpinnerStyle.Arrow→layoutz.SpinnerStylelayoutz.SpinnerStyle.Bounce→layoutz.SpinnerStylelayoutz.SpinnerStyle.Clock→layoutz.SpinnerStylelayoutz.SpinnerStyle.Dots→layoutz.SpinnerStylelayoutz.SpinnerStyle.Earth→layoutz.SpinnerStylelayoutz.SpinnerStyle.Grow→layoutz.SpinnerStylelayoutz.SpinnerStyle.Line→layoutz.SpinnerStylelayoutz.SpinnerStyle.Moon→layoutz.SpinnerStyle
- Direction
- layoutz.SpinnerStyle uses layoutz, so a change to layoutz can break layoutz.SpinnerStyle, while a change to layoutz.SpinnerStyle can't break layoutz.
- Position
- Below the diagonal: layoutz.SpinnerStyle uses a module listed above it, which is the healthy direction.
15→6 layoutz.loader uses layoutz.Key✕
- Connections
- 1 pair of types, where a type in layoutz.loader uses a type in layoutz.Key.
- The types involved
layoutz.loader.Loader→layoutz.Key.Char
- Direction
- layoutz.loader uses layoutz.Key, so a change to layoutz.Key can break layoutz.loader, while a change to layoutz.loader can't break layoutz.Key.
- Position
- Below the diagonal: layoutz.loader uses a module listed above it, which is the healthy direction.
15→8 layoutz.loader uses InlineDemo✕
- Connections
- 1 pair of types, where a type in layoutz.loader uses a type in InlineDemo.
- The types involved
layoutz.loader.Loader→InlineDemo.Loader
- Direction
- layoutz.loader uses InlineDemo, so a change to InlineDemo can break layoutz.loader, while a change to layoutz.loader can't break InlineDemo.
- Position
- Below the diagonal: layoutz.loader uses a module listed above it, which is the healthy direction.
15→9 layoutz.loader uses layoutz✕
- Connections
- 9 pairs of types, where a type in layoutz.loader uses a type in layoutz.
- The types involved
layoutz.loader.BoundedLoaderApp→layoutz.Elementlayoutz.loader.BoundedLoaderApp→layoutz.LayoutzApplayoutz.loader.BoundedLoaderApp→layoutz.Sublayoutz.loader.Loader→layoutz.Colorlayoutz.loader.Loader→layoutz.LoaderStylelayoutz.loader.Loader→layoutz.SpinnerStylelayoutz.loader.StreamingLoaderApp→layoutz.Elementlayoutz.loader.StreamingLoaderApp→layoutz.LayoutzApplayoutz.loader.StreamingLoaderApp→layoutz.Sub
- Direction
- layoutz.loader uses layoutz, so a change to layoutz can break layoutz.loader, while a change to layoutz.loader can't break layoutz.
- Position
- Below the diagonal: layoutz.loader uses a module listed above it, which is the healthy direction.
16→5 (global) uses layoutz.Border✕
- Connections
- 9 pairs of types, where a type in (global) uses a type in layoutz.Border.
- The types involved
LoadingState→layoutz.Border.DoubleNavLoadState→layoutz.Border.DoubleRV3→layoutz.Border.DoubleRayMarcher→layoutz.Border.DoubleRayScene→layoutz.Border.DoubleRayState→layoutz.Border.DoubleShowcaseState→layoutz.Border.DoubleV3→layoutz.Border.Doublelayoutz→layoutz.Border.Double
- Direction
- (global) uses layoutz.Border, so a change to layoutz.Border can break (global), while a change to (global) can't break layoutz.Border.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
16→6 (global) uses layoutz.Key✕
- Connections
- 4 pairs of types, where a type in (global) uses a type in layoutz.Key.
- The types involved
HandleChar→layoutz.Key.CharPixel→layoutz.Key.CharRPixel→layoutz.Key.CharTypeChar→layoutz.Key.Char
- Direction
- (global) uses layoutz.Key, so a change to layoutz.Key can break (global), while a change to (global) can't break layoutz.Key.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
16→7 (global) uses layoutz.Style✕
- Connections
- 1 pair of types, where a type in (global) uses a type in layoutz.Style.
- The types involved
layoutz→layoutz.Style.Underline
- Direction
- (global) uses layoutz.Style, so a change to layoutz.Style can break (global), while a change to (global) can't break layoutz.Style.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
16→9 (global) uses layoutz✕
- Connections
- 75 pairs of types, where a type in (global) uses a type in layoutz. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
ApiPoller→layoutz.LayoutzAppClipboardApp→layoutz.LayoutzAppCounterApp→layoutz.LayoutzAppFileViewer→layoutz.LayoutzAppFormExample→layoutz.LayoutzAppHttpFetcher→layoutz.LayoutzAppLoadingApp→layoutz.LayoutzAppMultiMonitor→layoutz.LayoutzAppNavLoadApp→layoutz.ElementNavLoadApp→layoutz.LayoutzAppNavLoadApp→layoutz.SubRayMarcher→layoutz.ElementRayMarcher→layoutz.LayoutzAppRayMarcher→layoutz.SubShowcaseApp→layoutz.ElementShowcaseApp→layoutz.LayoutzAppShowcaseApp→layoutz.SubSideEffectApp→layoutz.LayoutzAppSimpleFormExample→layoutz.LayoutzAppSimpleGame→layoutz.ElementSimpleGame→layoutz.LayoutzAppSimpleGame→layoutz.SubStopwatchApp→layoutz.LayoutzApplayoutz→layoutz.AutoCenteredlayoutz→layoutz.Banner
- Direction
- (global) uses layoutz, so a change to layoutz can break (global), while a change to (global) can't break layoutz.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
16→10 (global) uses RayMarcher✕
- Connections
- 2 pairs of types, where a type in (global) uses a type in RayMarcher.
- The types involved
RayMarcher→RayMarcher.FrameBufferRayScene→RayMarcher.FrameBuffer
- Direction
- (global) uses RayMarcher, so a change to RayMarcher can break (global), while a change to (global) can't break RayMarcher.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
17→9 RayScene uses layoutz✕
- Connections
- 1 pair of types, where a type in RayScene uses a type in layoutz.
- The types involved
RayScene.FrameBuffer→layoutz.Element
- Direction
- RayScene uses layoutz, so a change to layoutz can break RayScene, while a change to RayScene can't break layoutz.
- Position
- Below the diagonal: RayScene uses a module listed above it, which is the healthy direction.
17→16 RayScene uses (global)✕
- Connections
- 1 pair of types, where a type in RayScene uses a type in (global).
- The types involved
RayScene.FrameBuffer→RPixel
- Direction
- RayScene uses (global), so a change to (global) can break RayScene, while a change to RayScene can't break (global).
- Position
- Below the diagonal: RayScene uses a module listed above it, which is the healthy direction.
18→9 layoutz.Cmd uses layoutz✕
- Connections
- 3 pairs of types, where a type in layoutz.Cmd uses a type in layoutz.
- The types involved
layoutz.Cmd.clipboard→layoutz.Cmdlayoutz.Cmd.file→layoutz.Cmdlayoutz.Cmd.http→layoutz.Cmd
- Direction
- layoutz.Cmd uses layoutz, so a change to layoutz can break layoutz.Cmd, while a change to layoutz.Cmd can't break layoutz.
- Position
- Below the diagonal: layoutz.Cmd uses a module listed above it, which is the healthy direction.
18→16 layoutz.Cmd uses (global)✕
- Connections
- 3 pairs of types, where a type in layoutz.Cmd uses a type in (global).
- The types involved
layoutz.Cmd.clipboard→Msglayoutz.Cmd.file→Msglayoutz.Cmd.http→Msg
- Direction
- layoutz.Cmd uses (global), so a change to (global) can break layoutz.Cmd, while a change to layoutz.Cmd can't break (global).
- Position
- Below the diagonal: layoutz.Cmd uses a module listed above it, which is the healthy direction.
19→9 layoutz.Sub uses layoutz✕
- Connections
- 3 pairs of types, where a type in layoutz.Sub uses a type in layoutz.
- The types involved
layoutz.Sub.file→layoutz.Sublayoutz.Sub.http→layoutz.Sublayoutz.Sub.time→layoutz.Sub
- Direction
- layoutz.Sub uses layoutz, so a change to layoutz can break layoutz.Sub, while a change to layoutz.Sub can't break layoutz.
- Position
- Below the diagonal: layoutz.Sub uses a module listed above it, which is the healthy direction.
19→16 layoutz.Sub uses (global)✕
- Connections
- 3 pairs of types, where a type in layoutz.Sub uses a type in (global).
- The types involved
layoutz.Sub.file→Msglayoutz.Sub.http→Msglayoutz.Sub.time→Msg
- Direction
- layoutz.Sub uses (global), so a change to (global) can break layoutz.Sub, while a change to layoutz.Sub can't break (global).
- Position
- Below the diagonal: layoutz.Sub 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
At a glance — Accessibility
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 13 | High / Critical |
| A07:2025 — Authentication Failures | 2 | High / Critical |
Roadmap
First, ensure all media elements have appropriate text alternatives and that custom controls are fully keyboard-operable with proper semantics. Next, establish a CI workflow to build and test the code on every push, integrating accessibility checks to fail the build on new violations. Finally, correct page structure by defining language, titles, and landmarks while maintaining standard navigation behaviors.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video. | +6.3 pts | Medium | Text alternatives |
| Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. | +6.3 pts | Medium | Keyboard semantics |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +4.2 pts | Medium | CI/CD gates |
| Enforce accessibility over your pages: run an accessibility checker (axe-core, pa11y or Lighthouse) against your HTML in CI and fail the build on new violations — these run as standalone tools without adding a package manifest. | +3.6 pts | Medium | A11y enforcement |
| Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh. | +3.5 pts | Medium | Page structure |
| 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. | +1.8 pts | Medium | Nullable reference types |
| 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. | +1.6 pts | Medium | Architecture documentation |
| Swallowed exception (caught, then discarded) | +1.4 pts | Medium | Exception handling |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.1 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 7.2 | Near-clean | Secrets (history): REDACTED: REDACTED |
| layoutz/src/Layoutz.scala | 7.8 | Near-clean | Code Duplication: Duplicated block (7 lines × 2) |
| examples/RayMarcher.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
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. 49 of 52 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.7 — 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 — 52 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, 49 of 58 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D1 Cyclomatic Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.clj, .hs, .ml) had no cyclomatic complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D2 Cognitive Complexity — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Most of this repository's production source (.clj, .hs, .ml) had no cognitive complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D4 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 3 duplicated block group(s) on this row were found in the languages this pass could tokenize, and they do NOT cover all of this repository's production source: .hs (4,235 lines, 23% of production source), .ml (3,507 lines, 19% of production source) went unread, because no language model this pass could load exposed a clone-unit token stream for those file kinds. Duplication in that source is UNMEASURED — its absence from the count above is a gap in this analyzer's language coverage, not a finding that the code is free of duplication.
- D5 Coupling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D6 Cohesion (LCOM4) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D10 Test Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 83 test(s) behind this row are the ones the JavaScript/TypeScript census could read, and this repository also carries at least 2 test source file(s) (.scala) that it cannot: it reads JavaScript/TypeScript test declarations off disk, so a JUnit/pytest-style suite is invisible to it. Skipped tests, zero-assertion tests and the other quality signals on this row are UNMEASURED in that suite — their absence from the counts above is a gap in this analyzer's language coverage, not a finding that those tests are sound.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT SCORED: this repository's production source includes .scala, and the built-in reliability runner cannot re-run the .scala test suite(s) — so reliability was not measured for the repository as a whole. The JavaScript/TypeScript (vitest via `npm ci --ignore-scripts` in layoutz-ts/ (83 tests)): measured (0 flaky) suite(s) did re-run, and came back with 0 flaky across 1 measured tier(s) — but that is a figure for one half of the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — test reliability is excluded from the score rather than counted.
- D12 Dependency Hygiene — 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. This repository's 1 package.json manifest(s) and its 1 committed lockfile(s) WERE read; what went unanswered is the currency half, because it grades the production `dependencies` a lockfile resolves and these manifests declare none — only 6 devDependencies, which D12 does not grade. So registry.npmjs.org was never asked, and there was nothing here for it to grade. This is a true statement about the repository and NOT a gap on our side: the lockfile was resolved, and no reader we could write would find a production dependency in it.
- D14 License Compliance — 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 — this repository's committed lockfile was read and it resolves no production dependency: everything it installs is declared under `devDependencies`, or is a workspace-internal package with no registry release behind it. Licences are resolved from registry.npmjs.org, because an npm checkout does not contain its dependencies' licences. NOT a finding that this repository's licences are compliant: this dimension asserts nothing about its licensing in either direction.
- D15 Churn × Complexity Hotspots — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. A hotspot is churn × complexity. Churn was measured (9738 line(s) across the 90-day window), but no complexity could be computed for .clj, .hs, .ml, which is most of this repository's production code — so every churned file would score as complexity 0 and the hotspot list would be empty no matter how tangled the code is. Not scored — this is a gap in the analysis run, not a finding about this repository.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (6 contributor(s) across 508 commit(s) sampled, automation and bot accounts excluded). One of them holds 98% of the history; the other 5 hold 0.4% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (build.mill), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D26 Project Cohesion — 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. Project size and spread are measured over build units (a .NET project, a Maven or Gradle module, an npm, Deno or JSR package, a Go module, a Cargo crate, a Python, Composer, Bundler, RubyGems, Mix, rebar3, sbt, SwiftPM or pub package, an OTP application, an Xcode project or XcodeGen spec, or a checkout that declares no build at all) whose source a code model reads. This repository's production source is in a language no model reads, or in units whose build tool D26 does not recognise. That is a gap in this analyzer's language reach — not a finding that the repository's projects are cohesive.
- 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. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D35 Change Coupling — 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. Change coupling is mined from the co-change history of production source files, but this repository's production source is .clj, .hs, .ml, which this pass does not recognise as source — only 7 file(s) could be paired, so no coupling could be found no matter how tangled the history is. Not scored — this is a gap in the analysis run, not a finding about this repository.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- AXR1 Runtime accessibility — 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. Render strategy: boot via DevServer (dev). the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and this repository's clojure, haskell, ocaml is most of its product and is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and this repository's clojure, haskell, ocaml is most of its product and is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- Production source was not modelled — run is Degraded — No code model read .clj, .hs, .ml, so the complexity, duplication and architecture dimensions were scored over a minority of this repository rather than its product, and dimensions that abstained did so for want of a model rather than for want of findings. The grade is NOT representative of this repository; diagnostics.md records the exact cause.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- 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.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- 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.
- 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.
- 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.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- 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
D4 · Code Duplication
3 duplicated block group(s) detected. 1 of the 3 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population. Measured on part of this repository only: .hs, .ml (42% of production source) was not exposed to the token comparison, so duplication there is unmeasured and is not in this count.
What to do
- Resolve the 1 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with Layoutz.scala. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with Layoutz.scala. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with RayMarcher.scala. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
248 test methods: 248 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 83 `it`/`test` case(s) across 1 test file(s) declaring at least one; its tier split is read from package names and paths only. The Scala suite contributes 165 test case(s) across 2 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.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 83 tests. Measured on the JavaScript/TypeScript suite only — at least 2 test source file(s) (.scala) went unread, so its test quality is unmeasured and is not in these counts.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D17 · Explicit Debt
0 deducted task-comment markers across 8373 LoC (0.0/KLoC) → score 10.0. 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.
D19 · Documentation Quality
A single repository with five READMEs for layoutz projects (Scala, Clojure, Haskell, OCaml, and TypeScript), each documenting its own directory. The root README is a comprehensive overview of the project's purpose, features, and an inline demo, plus a table of contents that lists all eight sections present in every document. Each sub-README also has a strong feature list, installation block (for Node/npm and browser/CNDS), quickstart code example, and a table of contents matching its own outline.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D28 · Secrets (history)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 1 REDACTED finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
13 finding(s): 2 critical, 9 high, 1 medium, 1 low.
What to do
- Resolve the 9 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (9). — One of this dimension's main actionable groups (9 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Medium vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 3 of the 5 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
- An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×4) — index.html:167, index.html:206, index.html:218, …
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels
AC3 · Page structure
- The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). — index.html:2
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — index.html:2
- A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope). — index.html:36
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. (×12) — index.html:50, index.html:51, index.html:52, …
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC6 · Visual & motion safety
AC7 · A11y enforcement
- No accessibility enforcement found — no automated accessibility check runs over your pages. Add an accessibility checker (axe-core, pa11y or Lighthouse) over your HTML in CI and fail the build on new violations. What was searched, so you can tell an absence from a miss: the 1 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility over your pages: run an accessibility checker (axe-core, pa11y or Lighthouse) against your HTML in CI and fail the build on new violations — these run as standalone tools without adding a package manifest.
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
M1 · Documentation (README)
What to do
- 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.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record 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.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P10 · Library API & versioning
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) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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
- Run what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
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 `.mkString` 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`. (×2) — layoutz/src-jvm-native/Runtime.scala:563, layoutz/src-jvm-native/Runtime.scala:802
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 _: Exception` 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. (×4) — layoutz/src-jvm-native/Runtime.scala:271, layoutz/src-jvm-native/Runtime.scala:309, layoutz/src-jvm-native/Runtime.scala:362, …
- 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. (×3) — layoutz/src-jvm-native/Runtime.scala:515, layoutz/src-jvm-native/Runtime.scala:536, layoutz/src-jvm-native/Runtime.scala:888
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 2 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.
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 59% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 100% | Exemplary | Strongest area. |
| Maturity | 64% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 47% | Adequate — gated by P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 77% | Adequate — gated by D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 34% | Weak — gated by AC1, AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 2 check(s) recorded observations but carry no score
- D12 Dependency Hygiene — 1 observation(s) recorded · Dependency currency not established — this repository declares no production dependency to grade
- X7 Silent fallback defaults — 3 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 62 check(s) not relevant to this codebase
- AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
- AX1 Captive dependencies — Not applicable: 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; this repository's TypeScript 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 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
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D1 Cyclomatic Complexity — cyclomatic complexity not measured — .clj, .hs, .ml exposed no member bodies
- D11 Test Reliability — Test reliability not scored — polyglot repository, one half has no runner
- D14 License Compliance — npm licences not graded — this repository's lockfile resolves no production dependency
- D15 Churn × Complexity Hotspots — complexity unreadable for .clj, .hs, .ml — churn × complexity hotspots could not be measured
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D2 Cognitive Complexity — cognitive complexity not measured — .clj, .hs, .ml exposed no member bodies
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- 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
- D26 Project Cohesion — D26 measured no build unit over this repository's .clj, .hs, .ml, .scala source. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D27 Navigability — D27 reads resolved call sites in the languages it reads only — this repository's production source is .clj, .hs, .ml, .ts, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D3 God Classes — Most of this repository's production source (.clj, .hs, .ml) was not read by god-class detection, so class size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's class size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
- 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.
- D35 Change Coupling — change coupling unreadable for .clj, .hs, .ml — no production change history could be paired for this repository's own source
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- 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.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D5 Coupling — D5 reads a .NET project-reference graph only — this repository's production source is .hs, .ml, .scala, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D6 Cohesion (LCOM4) — D6 reads a CS/VB/GO/SCALA/SWIFT/DART/JAVA/PY/KT/TS/TSX/MTS/CTS/JS/JSX/MJS/CJS/PHP/RB/RS/ERL/EX/EXS/FS class graph only — this repository's production source is .clj, .hs, .ml, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- 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 MEASURED: the JavaScript/TypeScript half could not be measured — layoutz-ts/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov — add `@vitest/coverage-v8` (or `@vitest/coverage-istanbul`) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM1 Domain Modelling — applicable but not scored (1 of 2 signals for this style — below the bar we score at): 225 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
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — no CI workflow found
- P2 Observability — This repository's JVM, JavaScript/TypeScript source (2 module(s), 5 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- 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 `@Benchmark` in a Java, Kotlin or Scala file importing JMH or kotlinx-benchmark, Jetpack Benchmark's `measureRepeated` in a file importing androidx.benchmark, or JMH/kotlinx-benchmark/androidx.benchmark in a pom.xml, Gradle or sbt build, 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 Scala code has 4,626 production line(s), 1 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.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no C# was loaded; this repository's Scala was 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
- 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 Scala was read, and it logs through none that an interpolated message defeats: scala-logging takes an `s"…"` message apart into SLF4J's pattern and arguments at compile time, and log4s, grizzled-slf4j, Play's Logger, Akka's LoggingAdapter, sbt's Logger and Spark's Logging take one finished message (as log4net does in C#). Calls made straight through SLF4J (`org.slf4j.Logger`) 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.
- 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 — 29 finding(s)
- Click handler on a non-interactive <span> index.html:50
- Click handler on a non-interactive <span> index.html:51
- Click handler on a non-interactive <span> index.html:52
- Click handler on a non-interactive <span> index.html:53
- Click handler on a non-interactive <span> index.html:222
- Click handler on a non-interactive <span> index.html:223
- Click handler on a non-interactive <span> index.html:224
- Click handler on a non-interactive <span> index.html:225
- Click handler on a non-interactive <span> index.html:381
- Click handler on a non-interactive <span> index.html:382
- Click handler on a non-interactive <span> index.html:383
- Click handler on a non-interactive <span> index.html:384
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <img> without a text alternative index.html:167
- <img> without a text alternative index.html:206
- <img> without a text alternative index.html:218
- <img> without a text alternative index.html:377
- REDACTED
- REDACTED
- <html> without a lang index.html:2
- REDACTED
Serious — 18 finding(s)
- Swallowed exception (caught, then discarded) layoutz/src-jvm-native/Runtime.scala:271
- Swallowed exception (caught, then discarded) layoutz/src-jvm-native/Runtime.scala:309
- Swallowed exception (caught, then discarded) layoutz/src-jvm-native/Runtime.scala:362
- Swallowed exception (caught, then discarded) layoutz/src-jvm-native/Runtime.scala:1728
- Swallowed exception (empty catch) layoutz/src-jvm-native/Runtime.scala:515
- Swallowed exception (empty catch) layoutz/src-jvm-native/Runtime.scala:536
- Swallowed exception (empty catch) layoutz/src-jvm-native/Runtime.scala:888
- Disposable created and abandoned in the function that made it layoutz/src-jvm-native/Runtime.scala:563
- Disposable created and abandoned in the function that made it layoutz/src-jvm-native/Runtime.scala:802
- Page without a main landmark index.html:2
- Data table has no header cells index.html:36
- Accessibility enforcement below the top rung
- REDACTED
- Duplicated block (7 lines × 2) layoutz/src/Layoutz.scala:1724
- Duplicated block (6 lines × 2) layoutz/src/Layoutz.scala:1709
- Duplicated block (5 lines × 2) examples/RayMarcher.scala:121
- Coverage not measured — JavaScript/TypeScript suite
- No CI pipeline
Minor — 10 finding(s)
- Silent fallback default in catch layoutz/src-jvm-native/Runtime.scala:294
- Silent fallback default in catch layoutz/src-jvm-native/Runtime.scala:309
- Silent fallback default in catch layoutz/src-jvm-native/Runtime.scala:1728
- Deprecated: source-map REDACTED:1979
- REDACTED
- REDACTED
- No ADRs
- No src/ separation
- No SAST
- Scala's null is not held to the type system everywhere
Minor — 1 finding(s)
- Dependency hygiene PARTLY measured — npm pinning read, dependency currency not (the committed lockfile resolved no direct production dependency)
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-b2495cacceb64c0bb2c26f0ac50bffea/history.json --exit-code 0 --source . | 1 | 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-b2495cacceb64c0bb2c26f0ac50bffea/tree.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 13 | artifacts/raw/trivy-fs.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 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 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 | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |