Executive summary
typelevel/natchez scores 58 out of 100 and is rated Adequate, while five of its six lenses score higher still: Performance at 100 and Architecture at 99, both rated Exemplary, and Security and Compliance at 81, Production Readiness at 60 and Code Health at 59, all rated Adequate. The project hasn't declared a stable release yet, so its lenses are rated against a lower bar than a released product's, while the score itself is worked out as for any repository.
The score is lower than those five because the weakest lens counts most, and here that is Maturity, which scores 46 and is rated Adequate. Its Architecture documentation dimension scores 0 out of 10, and until that reaches 4, Maturity can't be rated higher than Adequate. The first actions are to record your significant design decisions and to expand the README with getting-started, architecture overview and a project map, and if Maturity rose to 70, the score would rise from 58 to about 65.
23 findings are critical, all in Static Analysis (SAST).
Watchdog couldn't measure 9 dimensions in this code, among them Code Coverage, Test Reliability and Documentation Quality, so they are left out of the score. The product code is 4,573 lines, which would take an estimated 0.1 person-years, around €5,500, to rebuild.
If Maturity rose from 46 to 70, the lowest score rated Strong, the score would rise from 58 to about 65.
New since the last survey: 2 findings
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €5,500 · Estimate
| Cost to rebuild | €1,800 to €9,200, for 31 to 97 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.8 at a score of 58. 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: 4,573 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 modules.docs.src.main.paradox._template.js | 2 natchez.Tags | 3 natchez.honeycomb.HoneycombSpan | 4 natchez.log.LogSpan | 5 natchez.logodin.LogSpan | 6 natchez.newrelic.NewrelicSpan | 7 natchez.opentelemetry.Utils | 8 natchez.opentracing | 9 natchez.InMemory.Lineage | 10 natchez.Span.Options | 11 natchez.Span | 12 natchez.Span.Options.SpanCreationPolicy | 13 natchez | 14 natchez.Span.SpanKind | 15 (global) | 16 example | 17 natchez.EntryPoint | 18 natchez.InMemory | 19 natchez.Trace | 20 natchez.TraceValue | 21 natchez.datadog | 22 natchez.honeycomb | 23 natchez.jaeger | 24 natchez.lightstep | 25 natchez.logodin | 26 natchez.mock | 27 natchez.mtl | 28 natchez.newrelic | 29 natchez.noop | 30 natchez.opencensus | 31 natchez.opentelemetry | 32 natchez.xray | 33 natchez.xray.XRaySpan | 34 natchez.InMemory.NatchezCommand | 35 natchez.log |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 modules.docs.src.main.paradox._template.js | |||||||||||||||||||||||||||||||||||
| 2 natchez.Tags | |||||||||||||||||||||||||||||||||||
| 3 natchez.honeycomb.HoneycombSpan | |||||||||||||||||||||||||||||||||||
| 4 natchez.log.LogSpan | |||||||||||||||||||||||||||||||||||
| 5 natchez.logodin.LogSpan | |||||||||||||||||||||||||||||||||||
| 6 natchez.newrelic.NewrelicSpan | |||||||||||||||||||||||||||||||||||
| 7 natchez.opentelemetry.Utils | |||||||||||||||||||||||||||||||||||
| 8 natchez.opentracing | |||||||||||||||||||||||||||||||||||
| 9 natchez.InMemory.Lineage | 2 | ||||||||||||||||||||||||||||||||||
| 10 natchez.Span.Options | 2 | 1 | |||||||||||||||||||||||||||||||||
| 11 natchez.Span | 2 | 6 | |||||||||||||||||||||||||||||||||
| 12 natchez.Span.Options.SpanCreationPolicy | 3 | ||||||||||||||||||||||||||||||||||
| 13 natchez | 1 | 5 | |||||||||||||||||||||||||||||||||
| 14 natchez.Span.SpanKind | 5 | ||||||||||||||||||||||||||||||||||
| 15 (global) | 2 | 1 | |||||||||||||||||||||||||||||||||
| 16 example | 2 | ||||||||||||||||||||||||||||||||||
| 17 natchez.EntryPoint | 1 | 3 | |||||||||||||||||||||||||||||||||
| 18 natchez.InMemory | 1 | 1 | 3 | 5 | |||||||||||||||||||||||||||||||
| 19 natchez.Trace | 1 | 4 | |||||||||||||||||||||||||||||||||
| 20 natchez.TraceValue | 3 | ||||||||||||||||||||||||||||||||||
| 21 natchez.datadog | 1 | 4 | 7 | ||||||||||||||||||||||||||||||||
| 22 natchez.honeycomb | 1 | 3 | 4 | ||||||||||||||||||||||||||||||||
| 23 natchez.jaeger | 1 | 4 | 6 | ||||||||||||||||||||||||||||||||
| 24 natchez.lightstep | 1 | 4 | 7 | ||||||||||||||||||||||||||||||||
| 25 natchez.logodin | 1 | 2 | 3 | ||||||||||||||||||||||||||||||||
| 26 natchez.mock | 1 | 4 | 5 | ||||||||||||||||||||||||||||||||
| 27 natchez.mtl | 1 | 2 | |||||||||||||||||||||||||||||||||
| 28 natchez.newrelic | 1 | 2 | 3 | ||||||||||||||||||||||||||||||||
| 29 natchez.noop | 3 | 7 | |||||||||||||||||||||||||||||||||
| 30 natchez.opencensus | 1 | 2 | 4 | ||||||||||||||||||||||||||||||||
| 31 natchez.opentelemetry | 1 | 3 | 6 | ||||||||||||||||||||||||||||||||
| 32 natchez.xray | 1 | 3 | 7 | ||||||||||||||||||||||||||||||||
| 33 natchez.xray.XRaySpan | 1 | ||||||||||||||||||||||||||||||||||
| 34 natchez.InMemory.NatchezCommand | 2 | 3 | 12 | ||||||||||||||||||||||||||||||||
| 35 natchez.log | 1 | 2 | 3 | 1 |
9→18 natchez.InMemory.Lineage uses natchez.InMemory part of a loop✕
- Connections
- 2 pairs of types, where a type in natchez.InMemory.Lineage uses a type in natchez.InMemory.
- The types involved
natchez.InMemory.Lineage.Child→natchez.InMemory.Lineagenatchez.InMemory.Lineage.Root→natchez.InMemory.Lineage
- Direction
- natchez.InMemory.Lineage uses natchez.InMemory, so a change to natchez.InMemory can break natchez.InMemory.Lineage, while a change to natchez.InMemory.Lineage can't break natchez.InMemory.
- 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→11 natchez.Span.Options uses natchez.Span part of a loop✕
- Connections
- 2 pairs of types, where a type in natchez.Span.Options uses a type in natchez.Span.
- The types involved
natchez.Span.Options.OptionsImpl→natchez.Span.Optionsnatchez.Span.Options.OptionsImpl→natchez.Span.SpanKind
- Direction
- natchez.Span.Options uses natchez.Span, so a change to natchez.Span can break natchez.Span.Options, while a change to natchez.Span.Options can't break natchez.Span.
- 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→13 natchez.Span.Options uses natchez part of a loop✕
- Connections
- 1 pair of types, where a type in natchez.Span.Options uses a type in natchez.
- The types involved
natchez.Span.Options.OptionsImpl→natchez.Kernel
- Direction
- natchez.Span.Options uses natchez, so a change to natchez can break natchez.Span.Options, while a change to natchez.Span.Options can't break natchez.
- 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→10 natchez.Span uses natchez.Span.Options✕
- Connections
- 2 pairs of types, where a type in natchez.Span uses a type in natchez.Span.Options.
- The types involved
natchez.Span.Default→natchez.Span.Options.SpanCreationPolicynatchez.Span.Options→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.Span uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.Span, while a change to natchez.Span can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.Span uses a module listed above it, which is the healthy direction.
11→13 natchez.Span uses natchez part of a loop✕
- Connections
- 6 pairs of types, where a type in natchez.Span uses a type in natchez.
- The types involved
natchez.Span.Default→natchez.Spannatchez.Span.EphemeralSpan→natchez.Kernelnatchez.Span.EphemeralSpan→natchez.Spannatchez.Span.NoopSpan→natchez.Spannatchez.Span.Options→natchez.Kernelnatchez.Span.RootsSpan→natchez.Span
- Direction
- natchez.Span uses natchez, so a change to natchez can break natchez.Span, while a change to natchez.Span can't break natchez.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
12→10 natchez.Span.Options.SpanCreationPolicy uses natchez.Span.Options✕
- Connections
- 3 pairs of types, where a type in natchez.Span.Options.SpanCreationPolicy uses a type in natchez.Span.Options.
- The types involved
natchez.Span.Options.SpanCreationPolicy.Coalesce→natchez.Span.Options.SpanCreationPolicynatchez.Span.Options.SpanCreationPolicy.Default→natchez.Span.Options.SpanCreationPolicynatchez.Span.Options.SpanCreationPolicy.Suppress→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.Span.Options.SpanCreationPolicy uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.Span.Options.SpanCreationPolicy, while a change to natchez.Span.Options.SpanCreationPolicy can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.Span.Options.SpanCreationPolicy uses a module listed above it, which is the healthy direction.
13→10 natchez uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez uses a type in natchez.Span.Options.
- The types involved
natchez.Arbitraries→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez, while a change to natchez can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez uses a module listed above it, which is the healthy direction.
13→11 natchez uses natchez.Span✕
- Connections
- 5 pairs of types, where a type in natchez uses a type in natchez.Span.
- The types involved
natchez.Arbitraries→natchez.Span.Optionsnatchez.Arbitraries→natchez.Span.SpanKindnatchez.EntryPoint→natchez.Span.Optionsnatchez.Span→natchez.Span.Optionsnatchez.Trace→natchez.Span.Options
- Direction
- natchez uses natchez.Span, so a change to natchez.Span can break natchez, while a change to natchez can't break natchez.Span.
- Position
- Below the diagonal: natchez uses a module listed above it, which is the healthy direction.
14→11 natchez.Span.SpanKind uses natchez.Span✕
- Connections
- 5 pairs of types, where a type in natchez.Span.SpanKind uses a type in natchez.Span.
- The types involved
natchez.Span.SpanKind.Client→natchez.Span.SpanKindnatchez.Span.SpanKind.Consumer→natchez.Span.SpanKindnatchez.Span.SpanKind.Internal→natchez.Span.SpanKindnatchez.Span.SpanKind.Producer→natchez.Span.SpanKindnatchez.Span.SpanKind.Server→natchez.Span.SpanKind
- Direction
- natchez.Span.SpanKind uses natchez.Span, so a change to natchez.Span can break natchez.Span.SpanKind, while a change to natchez.Span.SpanKind can't break natchez.Span.
- Position
- Below the diagonal: natchez.Span.SpanKind uses a module listed above it, which is the healthy direction.
15→13 (global) uses natchez✕
- Connections
- 2 pairs of types, where a type in (global) uses a type in natchez.
- The types involved
OpenTelemetryExample→natchez.EntryPointX→natchez.Span
- Direction
- (global) uses natchez, so a change to natchez can break (global), while a change to (global) can't break natchez.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
15→14 (global) uses natchez.Span.SpanKind✕
- Connections
- 1 pair of types, where a type in (global) uses a type in natchez.Span.SpanKind.
- The types involved
X→natchez.Span.SpanKind.Client
- Direction
- (global) uses natchez.Span.SpanKind, so a change to natchez.Span.SpanKind can break (global), while a change to (global) can't break natchez.Span.SpanKind.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
16→13 example uses natchez✕
- Connections
- 2 pairs of types, where a type in example uses a type in natchez.
- The types involved
example.GlobalTracerMain→natchez.EntryPointexample.Main→natchez.EntryPoint
- Direction
- example uses natchez, so a change to natchez can break example, while a change to example can't break natchez.
- Position
- Below the diagonal: example uses a module listed above it, which is the healthy direction.
17→11 natchez.EntryPoint uses natchez.Span✕
- Connections
- 1 pair of types, where a type in natchez.EntryPoint uses a type in natchez.Span.
- The types involved
natchez.EntryPoint.NoopEntryPoint→natchez.Span.Options
- Direction
- natchez.EntryPoint uses natchez.Span, so a change to natchez.Span can break natchez.EntryPoint, while a change to natchez.EntryPoint can't break natchez.Span.
- Position
- Below the diagonal: natchez.EntryPoint uses a module listed above it, which is the healthy direction.
17→13 natchez.EntryPoint uses natchez✕
- Connections
- 3 pairs of types, where a type in natchez.EntryPoint uses a type in natchez.
- The types involved
natchez.EntryPoint.NoopEntryPoint→natchez.EntryPointnatchez.EntryPoint.NoopEntryPoint→natchez.Kernelnatchez.EntryPoint.NoopEntryPoint→natchez.Span
- Direction
- natchez.EntryPoint uses natchez, so a change to natchez can break natchez.EntryPoint, while a change to natchez.EntryPoint can't break natchez.
- Position
- Below the diagonal: natchez.EntryPoint uses a module listed above it, which is the healthy direction.
18→9 natchez.InMemory uses natchez.InMemory.Lineage✕
- Connections
- 1 pair of types, where a type in natchez.InMemory uses a type in natchez.InMemory.Lineage.
- The types involved
natchez.InMemory.Lineage→natchez.InMemory.Lineage.Child
- Direction
- natchez.InMemory uses natchez.InMemory.Lineage, so a change to natchez.InMemory.Lineage can break natchez.InMemory, while a change to natchez.InMemory can't break natchez.InMemory.Lineage.
- Position
- Below the diagonal: natchez.InMemory uses a module listed above it, which is the healthy direction.
18→10 natchez.InMemory uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.InMemory uses a type in natchez.Span.Options.
- The types involved
natchez.InMemory.Span→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.InMemory uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.InMemory, while a change to natchez.InMemory can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.InMemory uses a module listed above it, which is the healthy direction.
18→11 natchez.InMemory uses natchez.Span✕
- Connections
- 3 pairs of types, where a type in natchez.InMemory uses a type in natchez.Span.
- The types involved
natchez.InMemory.EntryPoint→natchez.Span.Optionsnatchez.InMemory.Span→natchez.Span.Defaultnatchez.InMemory.Span→natchez.Span.Options
- Direction
- natchez.InMemory uses natchez.Span, so a change to natchez.Span can break natchez.InMemory, while a change to natchez.InMemory can't break natchez.Span.
- Position
- Below the diagonal: natchez.InMemory uses a module listed above it, which is the healthy direction.
18→13 natchez.InMemory uses natchez✕
- Connections
- 5 pairs of types, where a type in natchez.InMemory uses a type in natchez.
- The types involved
natchez.InMemory.EntryPoint→natchez.EntryPointnatchez.InMemory.EntryPoint→natchez.Kernelnatchez.InMemory.EntryPoint→natchez.Spannatchez.InMemory.Span→natchez.Kernelnatchez.InMemory.Span→natchez.Span
- Direction
- natchez.InMemory uses natchez, so a change to natchez can break natchez.InMemory, while a change to natchez.InMemory can't break natchez.
- Position
- Below the diagonal: natchez.InMemory uses a module listed above it, which is the healthy direction.
19→11 natchez.Trace uses natchez.Span✕
- Connections
- 1 pair of types, where a type in natchez.Trace uses a type in natchez.Span.
- The types involved
natchez.Trace.KleisliTrace→natchez.Span.Options
- Direction
- natchez.Trace uses natchez.Span, so a change to natchez.Span can break natchez.Trace, while a change to natchez.Trace can't break natchez.Span.
- Position
- Below the diagonal: natchez.Trace uses a module listed above it, which is the healthy direction.
19→13 natchez.Trace uses natchez✕
- Connections
- 4 pairs of types, where a type in natchez.Trace uses a type in natchez.
- The types involved
natchez.Trace.Implicits→natchez.Tracenatchez.Trace.KleisliTrace→natchez.Kernelnatchez.Trace.KleisliTrace→natchez.Spannatchez.Trace.KleisliTrace→natchez.Trace
- Direction
- natchez.Trace uses natchez, so a change to natchez can break natchez.Trace, while a change to natchez.Trace can't break natchez.
- Position
- Below the diagonal: natchez.Trace uses a module listed above it, which is the healthy direction.
20→13 natchez.TraceValue uses natchez✕
- Connections
- 3 pairs of types, where a type in natchez.TraceValue uses a type in natchez.
- The types involved
natchez.TraceValue.BooleanValue→natchez.TraceValuenatchez.TraceValue.NumberValue→natchez.TraceValuenatchez.TraceValue.StringValue→natchez.TraceValue
- Direction
- natchez.TraceValue uses natchez, so a change to natchez can break natchez.TraceValue, while a change to natchez.TraceValue can't break natchez.
- Position
- Below the diagonal: natchez.TraceValue uses a module listed above it, which is the healthy direction.
21→10 natchez.datadog uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.datadog uses a type in natchez.Span.Options.
- The types involved
natchez.datadog.DDSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.datadog uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.datadog, while a change to natchez.datadog can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.datadog uses a module listed above it, which is the healthy direction.
21→11 natchez.datadog uses natchez.Span✕
- Connections
- 4 pairs of types, where a type in natchez.datadog uses a type in natchez.Span.
- The types involved
natchez.datadog.DDEntryPoint→natchez.Span.Optionsnatchez.datadog.DDSpan→natchez.Span.Defaultnatchez.datadog.DDSpan→natchez.Span.Optionsnatchez.datadog.DDTracer→natchez.Span.SpanKind
- Direction
- natchez.datadog uses natchez.Span, so a change to natchez.Span can break natchez.datadog, while a change to natchez.datadog can't break natchez.Span.
- Position
- Below the diagonal: natchez.datadog uses a module listed above it, which is the healthy direction.
21→13 natchez.datadog uses natchez✕
- Connections
- 7 pairs of types, where a type in natchez.datadog uses a type in natchez.
- The types involved
natchez.datadog.DDEntryPoint→natchez.EntryPointnatchez.datadog.DDEntryPoint→natchez.Kernelnatchez.datadog.DDEntryPoint→natchez.Spannatchez.datadog.DDSpan→natchez.Kernelnatchez.datadog.DDSpan→natchez.Spannatchez.datadog.DDTracer→natchez.EntryPointnatchez.datadog.DDTracer→natchez.Kernel
- Direction
- natchez.datadog uses natchez, so a change to natchez can break natchez.datadog, while a change to natchez.datadog can't break natchez.
- Position
- Below the diagonal: natchez.datadog uses a module listed above it, which is the healthy direction.
22→10 natchez.honeycomb uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.honeycomb uses a type in natchez.Span.Options.
- The types involved
natchez.honeycomb.HoneycombSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.honeycomb uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.honeycomb, while a change to natchez.honeycomb can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.honeycomb uses a module listed above it, which is the healthy direction.
22→11 natchez.honeycomb uses natchez.Span✕
- Connections
- 3 pairs of types, where a type in natchez.honeycomb uses a type in natchez.Span.
- The types involved
natchez.honeycomb.Honeycomb→natchez.Span.Optionsnatchez.honeycomb.HoneycombSpan→natchez.Span.Defaultnatchez.honeycomb.HoneycombSpan→natchez.Span.Options
- Direction
- natchez.honeycomb uses natchez.Span, so a change to natchez.Span can break natchez.honeycomb, while a change to natchez.honeycomb can't break natchez.Span.
- Position
- Below the diagonal: natchez.honeycomb uses a module listed above it, which is the healthy direction.
22→13 natchez.honeycomb uses natchez✕
- Connections
- 4 pairs of types, where a type in natchez.honeycomb uses a type in natchez.
- The types involved
natchez.honeycomb.Honeycomb→natchez.EntryPointnatchez.honeycomb.HoneycombSpan→natchez.Kernelnatchez.honeycomb.HoneycombSpan→natchez.Spannatchez.honeycomb.HoneycombSpan→natchez.TraceValue
- Direction
- natchez.honeycomb uses natchez, so a change to natchez can break natchez.honeycomb, while a change to natchez.honeycomb can't break natchez.
- Position
- Below the diagonal: natchez.honeycomb uses a module listed above it, which is the healthy direction.
23→10 natchez.jaeger uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.jaeger uses a type in natchez.Span.Options.
- The types involved
natchez.jaeger.JaegerSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.jaeger uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.jaeger, while a change to natchez.jaeger can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.jaeger uses a module listed above it, which is the healthy direction.
23→11 natchez.jaeger uses natchez.Span✕
- Connections
- 4 pairs of types, where a type in natchez.jaeger uses a type in natchez.Span.
- The types involved
natchez.jaeger.JaegerEntryPoint→natchez.Span.Optionsnatchez.jaeger.JaegerEntryPoint→natchez.Span.SpanKindnatchez.jaeger.JaegerSpan→natchez.Span.Defaultnatchez.jaeger.JaegerSpan→natchez.Span.Options
- Direction
- natchez.jaeger uses natchez.Span, so a change to natchez.Span can break natchez.jaeger, while a change to natchez.jaeger can't break natchez.Span.
- Position
- Below the diagonal: natchez.jaeger uses a module listed above it, which is the healthy direction.
23→13 natchez.jaeger uses natchez✕
- Connections
- 6 pairs of types, where a type in natchez.jaeger uses a type in natchez.
- The types involved
natchez.jaeger.Jaeger→natchez.EntryPointnatchez.jaeger.JaegerEntryPoint→natchez.EntryPointnatchez.jaeger.JaegerEntryPoint→natchez.Kernelnatchez.jaeger.JaegerEntryPoint→natchez.Spannatchez.jaeger.JaegerSpan→natchez.Kernelnatchez.jaeger.JaegerSpan→natchez.Span
- Direction
- natchez.jaeger uses natchez, so a change to natchez can break natchez.jaeger, while a change to natchez.jaeger can't break natchez.
- Position
- Below the diagonal: natchez.jaeger uses a module listed above it, which is the healthy direction.
24→10 natchez.lightstep uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.lightstep uses a type in natchez.Span.Options.
- The types involved
natchez.lightstep.LightstepSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.lightstep uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.lightstep, while a change to natchez.lightstep can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.lightstep uses a module listed above it, which is the healthy direction.
24→11 natchez.lightstep uses natchez.Span✕
- Connections
- 4 pairs of types, where a type in natchez.lightstep uses a type in natchez.Span.
- The types involved
natchez.lightstep.Lightstep→natchez.Span.SpanKindnatchez.lightstep.LightstepEntryPoint→natchez.Span.Optionsnatchez.lightstep.LightstepSpan→natchez.Span.Defaultnatchez.lightstep.LightstepSpan→natchez.Span.Options
- Direction
- natchez.lightstep uses natchez.Span, so a change to natchez.Span can break natchez.lightstep, while a change to natchez.lightstep can't break natchez.Span.
- Position
- Below the diagonal: natchez.lightstep uses a module listed above it, which is the healthy direction.
24→13 natchez.lightstep uses natchez✕
- Connections
- 7 pairs of types, where a type in natchez.lightstep uses a type in natchez.
- The types involved
natchez.lightstep.Lightstep→natchez.EntryPointnatchez.lightstep.Lightstep→natchez.Kernelnatchez.lightstep.LightstepEntryPoint→natchez.EntryPointnatchez.lightstep.LightstepEntryPoint→natchez.Kernelnatchez.lightstep.LightstepEntryPoint→natchez.Spannatchez.lightstep.LightstepSpan→natchez.Kernelnatchez.lightstep.LightstepSpan→natchez.Span
- Direction
- natchez.lightstep uses natchez, so a change to natchez can break natchez.lightstep, while a change to natchez.lightstep can't break natchez.
- Position
- Below the diagonal: natchez.lightstep uses a module listed above it, which is the healthy direction.
25→10 natchez.logodin uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.logodin uses a type in natchez.Span.Options.
- The types involved
natchez.logodin.LogSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.logodin uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.logodin, while a change to natchez.logodin can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.logodin uses a module listed above it, which is the healthy direction.
25→11 natchez.logodin uses natchez.Span✕
- Connections
- 2 pairs of types, where a type in natchez.logodin uses a type in natchez.Span.
- The types involved
natchez.logodin.LogSpan→natchez.Span.Defaultnatchez.logodin.LogSpan→natchez.Span.Options
- Direction
- natchez.logodin uses natchez.Span, so a change to natchez.Span can break natchez.logodin, while a change to natchez.logodin can't break natchez.Span.
- Position
- Below the diagonal: natchez.logodin uses a module listed above it, which is the healthy direction.
25→13 natchez.logodin uses natchez✕
- Connections
- 3 pairs of types, where a type in natchez.logodin uses a type in natchez.
- The types involved
natchez.logodin.Log→natchez.EntryPointnatchez.logodin.LogSpan→natchez.Kernelnatchez.logodin.LogSpan→natchez.Span
- Direction
- natchez.logodin uses natchez, so a change to natchez can break natchez.logodin, while a change to natchez.logodin can't break natchez.
- Position
- Below the diagonal: natchez.logodin uses a module listed above it, which is the healthy direction.
26→10 natchez.mock uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.mock uses a type in natchez.Span.Options.
- The types involved
natchez.mock.MockSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.mock uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.mock, while a change to natchez.mock can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.mock uses a module listed above it, which is the healthy direction.
26→11 natchez.mock uses natchez.Span✕
- Connections
- 4 pairs of types, where a type in natchez.mock uses a type in natchez.Span.
- The types involved
natchez.mock.MockEntrypoint→natchez.Span.Optionsnatchez.mock.MockEntrypoint→natchez.Span.SpanKindnatchez.mock.MockSpan→natchez.Span.Defaultnatchez.mock.MockSpan→natchez.Span.Options
- Direction
- natchez.mock uses natchez.Span, so a change to natchez.Span can break natchez.mock, while a change to natchez.mock can't break natchez.Span.
- Position
- Below the diagonal: natchez.mock uses a module listed above it, which is the healthy direction.
26→13 natchez.mock uses natchez✕
- Connections
- 5 pairs of types, where a type in natchez.mock uses a type in natchez.
- The types involved
natchez.mock.MockEntrypoint→natchez.EntryPointnatchez.mock.MockEntrypoint→natchez.Kernelnatchez.mock.MockEntrypoint→natchez.Spannatchez.mock.MockSpan→natchez.Kernelnatchez.mock.MockSpan→natchez.Span
- Direction
- natchez.mock uses natchez, so a change to natchez can break natchez.mock, while a change to natchez.mock can't break natchez.
- Position
- Below the diagonal: natchez.mock uses a module listed above it, which is the healthy direction.
27→11 natchez.mtl uses natchez.Span✕
- Connections
- 1 pair of types, where a type in natchez.mtl uses a type in natchez.Span.
- The types involved
natchez.mtl.LocalTrace→natchez.Span.Options
- Direction
- natchez.mtl uses natchez.Span, so a change to natchez.Span can break natchez.mtl, while a change to natchez.mtl can't break natchez.Span.
- Position
- Below the diagonal: natchez.mtl uses a module listed above it, which is the healthy direction.
27→13 natchez.mtl uses natchez✕
- Connections
- 2 pairs of types, where a type in natchez.mtl uses a type in natchez.
- The types involved
natchez.mtl.LocalTrace→natchez.Kernelnatchez.mtl.LocalTrace→natchez.Trace
- Direction
- natchez.mtl uses natchez, so a change to natchez can break natchez.mtl, while a change to natchez.mtl can't break natchez.
- Position
- Below the diagonal: natchez.mtl uses a module listed above it, which is the healthy direction.
28→10 natchez.newrelic uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.newrelic uses a type in natchez.Span.Options.
- The types involved
natchez.newrelic.NewrelicSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.newrelic uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.newrelic, while a change to natchez.newrelic can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.newrelic uses a module listed above it, which is the healthy direction.
28→11 natchez.newrelic uses natchez.Span✕
- Connections
- 2 pairs of types, where a type in natchez.newrelic uses a type in natchez.Span.
- The types involved
natchez.newrelic.NewrelicSpan→natchez.Span.Defaultnatchez.newrelic.NewrelicSpan→natchez.Span.Options
- Direction
- natchez.newrelic uses natchez.Span, so a change to natchez.Span can break natchez.newrelic, while a change to natchez.newrelic can't break natchez.Span.
- Position
- Below the diagonal: natchez.newrelic uses a module listed above it, which is the healthy direction.
28→13 natchez.newrelic uses natchez✕
- Connections
- 3 pairs of types, where a type in natchez.newrelic uses a type in natchez.
- The types involved
natchez.newrelic.NewRelic→natchez.EntryPointnatchez.newrelic.NewrelicSpan→natchez.Kernelnatchez.newrelic.NewrelicSpan→natchez.Span
- Direction
- natchez.newrelic uses natchez, so a change to natchez can break natchez.newrelic, while a change to natchez.newrelic can't break natchez.
- Position
- Below the diagonal: natchez.newrelic uses a module listed above it, which is the healthy direction.
29→11 natchez.noop uses natchez.Span✕
- Connections
- 3 pairs of types, where a type in natchez.noop uses a type in natchez.Span.
- The types involved
natchez.noop.NoopEntrypoint→natchez.Span.Optionsnatchez.noop.NoopSpan→natchez.Span.Optionsnatchez.noop.NoopTrace→natchez.Span.Options
- Direction
- natchez.noop uses natchez.Span, so a change to natchez.Span can break natchez.noop, while a change to natchez.noop can't break natchez.Span.
- Position
- Below the diagonal: natchez.noop uses a module listed above it, which is the healthy direction.
29→13 natchez.noop uses natchez✕
- Connections
- 7 pairs of types, where a type in natchez.noop uses a type in natchez.
- The types involved
natchez.noop.NoopEntrypoint→natchez.EntryPointnatchez.noop.NoopEntrypoint→natchez.Kernelnatchez.noop.NoopEntrypoint→natchez.Spannatchez.noop.NoopSpan→natchez.Kernelnatchez.noop.NoopSpan→natchez.Spannatchez.noop.NoopTrace→natchez.Kernelnatchez.noop.NoopTrace→natchez.Trace
- Direction
- natchez.noop uses natchez, so a change to natchez can break natchez.noop, while a change to natchez.noop can't break natchez.
- Position
- Below the diagonal: natchez.noop uses a module listed above it, which is the healthy direction.
30→10 natchez.opencensus uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.opencensus uses a type in natchez.Span.Options.
- The types involved
natchez.opencensus.OpenCensusSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.opencensus uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.opencensus, while a change to natchez.opencensus can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.opencensus uses a module listed above it, which is the healthy direction.
30→11 natchez.opencensus uses natchez.Span✕
- Connections
- 2 pairs of types, where a type in natchez.opencensus uses a type in natchez.Span.
- The types involved
natchez.opencensus.OpenCensusSpan→natchez.Span.Defaultnatchez.opencensus.OpenCensusSpan→natchez.Span.Options
- Direction
- natchez.opencensus uses natchez.Span, so a change to natchez.Span can break natchez.opencensus, while a change to natchez.opencensus can't break natchez.Span.
- Position
- Below the diagonal: natchez.opencensus uses a module listed above it, which is the healthy direction.
30→13 natchez.opencensus uses natchez✕
- Connections
- 4 pairs of types, where a type in natchez.opencensus uses a type in natchez.
- The types involved
natchez.opencensus.OpenCensus→natchez.EntryPointnatchez.opencensus.OpenCensusSpan→natchez.Kernelnatchez.opencensus.OpenCensusSpan→natchez.Spannatchez.opencensus.OpenCensusSpan→natchez.TraceValue
- Direction
- natchez.opencensus uses natchez, so a change to natchez can break natchez.opencensus, while a change to natchez.opencensus can't break natchez.
- Position
- Below the diagonal: natchez.opencensus uses a module listed above it, which is the healthy direction.
31→10 natchez.opentelemetry uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.opentelemetry uses a type in natchez.Span.Options.
- The types involved
natchez.opentelemetry.OpenTelemetrySpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.opentelemetry uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.opentelemetry, while a change to natchez.opentelemetry can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.opentelemetry uses a module listed above it, which is the healthy direction.
31→11 natchez.opentelemetry uses natchez.Span✕
- Connections
- 3 pairs of types, where a type in natchez.opentelemetry uses a type in natchez.Span.
- The types involved
natchez.opentelemetry.OpenTelemetryEntryPoint→natchez.Span.Optionsnatchez.opentelemetry.OpenTelemetrySpan→natchez.Span.Defaultnatchez.opentelemetry.OpenTelemetrySpan→natchez.Span.Options
- Direction
- natchez.opentelemetry uses natchez.Span, so a change to natchez.Span can break natchez.opentelemetry, while a change to natchez.opentelemetry can't break natchez.Span.
- Position
- Below the diagonal: natchez.opentelemetry uses a module listed above it, which is the healthy direction.
31→13 natchez.opentelemetry uses natchez✕
- Connections
- 6 pairs of types, where a type in natchez.opentelemetry uses a type in natchez.
- The types involved
natchez.opentelemetry.OpenTelemetry→natchez.EntryPointnatchez.opentelemetry.OpenTelemetryEntryPoint→natchez.EntryPointnatchez.opentelemetry.OpenTelemetryEntryPoint→natchez.Kernelnatchez.opentelemetry.OpenTelemetryEntryPoint→natchez.Spannatchez.opentelemetry.OpenTelemetrySpan→natchez.Kernelnatchez.opentelemetry.OpenTelemetrySpan→natchez.Span
- Direction
- natchez.opentelemetry uses natchez, so a change to natchez can break natchez.opentelemetry, while a change to natchez.opentelemetry can't break natchez.
- Position
- Below the diagonal: natchez.opentelemetry uses a module listed above it, which is the healthy direction.
32→10 natchez.xray uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.xray uses a type in natchez.Span.Options.
- The types involved
natchez.xray.XRaySpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.xray uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.xray, while a change to natchez.xray can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.xray uses a module listed above it, which is the healthy direction.
32→11 natchez.xray uses natchez.Span✕
- Connections
- 3 pairs of types, where a type in natchez.xray uses a type in natchez.Span.
- The types involved
natchez.xray.XRayEntryPoint→natchez.Span.Optionsnatchez.xray.XRaySpan→natchez.Span.Defaultnatchez.xray.XRaySpan→natchez.Span.Options
- Direction
- natchez.xray uses natchez.Span, so a change to natchez.Span can break natchez.xray, while a change to natchez.xray can't break natchez.Span.
- Position
- Below the diagonal: natchez.xray uses a module listed above it, which is the healthy direction.
32→13 natchez.xray uses natchez✕
- Connections
- 7 pairs of types, where a type in natchez.xray uses a type in natchez.
- The types involved
natchez.xray.XRay→natchez.EntryPointnatchez.xray.XRayEntryPoint→natchez.EntryPointnatchez.xray.XRayEntryPoint→natchez.Kernelnatchez.xray.XRayEntryPoint→natchez.Spannatchez.xray.XRayEnvironment→natchez.Kernelnatchez.xray.XRaySpan→natchez.Kernelnatchez.xray.XRaySpan→natchez.Span
- Direction
- natchez.xray uses natchez, so a change to natchez can break natchez.xray, while a change to natchez.xray can't break natchez.
- Position
- Below the diagonal: natchez.xray uses a module listed above it, which is the healthy direction.
33→13 natchez.xray.XRaySpan uses natchez✕
- Connections
- 1 pair of types, where a type in natchez.xray.XRaySpan uses a type in natchez.
- The types involved
natchez.xray.XRaySpan.XRayHeader→natchez.Kernel
- Direction
- natchez.xray.XRaySpan uses natchez, so a change to natchez can break natchez.xray.XRaySpan, while a change to natchez.xray.XRaySpan can't break natchez.
- Position
- Below the diagonal: natchez.xray.XRaySpan uses a module listed above it, which is the healthy direction.
34→11 natchez.InMemory.NatchezCommand uses natchez.Span✕
- Connections
- 2 pairs of types, where a type in natchez.InMemory.NatchezCommand uses a type in natchez.Span.
- The types involved
natchez.InMemory.NatchezCommand.CreateRootSpan→natchez.Span.Optionsnatchez.InMemory.NatchezCommand.CreateSpan→natchez.Span.Options
- Direction
- natchez.InMemory.NatchezCommand uses natchez.Span, so a change to natchez.Span can break natchez.InMemory.NatchezCommand, while a change to natchez.InMemory.NatchezCommand can't break natchez.Span.
- Position
- Below the diagonal: natchez.InMemory.NatchezCommand uses a module listed above it, which is the healthy direction.
34→13 natchez.InMemory.NatchezCommand uses natchez✕
- Connections
- 3 pairs of types, where a type in natchez.InMemory.NatchezCommand uses a type in natchez.
- The types involved
natchez.InMemory.NatchezCommand.AskKernel→natchez.Kernelnatchez.InMemory.NatchezCommand.CreateRootSpan→natchez.Kernelnatchez.InMemory.NatchezCommand.CreateSpan→natchez.Kernel
- Direction
- natchez.InMemory.NatchezCommand uses natchez, so a change to natchez can break natchez.InMemory.NatchezCommand, while a change to natchez.InMemory.NatchezCommand can't break natchez.
- Position
- Below the diagonal: natchez.InMemory.NatchezCommand uses a module listed above it, which is the healthy direction.
34→18 natchez.InMemory.NatchezCommand uses natchez.InMemory✕
- Connections
- 12 pairs of types, where a type in natchez.InMemory.NatchezCommand uses a type in natchez.InMemory.
- The types involved
natchez.InMemory.NatchezCommand.AskKernel→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.AskSpanId→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.AskTraceId→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.AskTraceUri→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.AttachError→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.CreateRootSpan→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.CreateSpan→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.LogEvent→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.LogFields→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.Put→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.ReleaseRootSpan→natchez.InMemory.NatchezCommandnatchez.InMemory.NatchezCommand.ReleaseSpan→natchez.InMemory.NatchezCommand
- Direction
- natchez.InMemory.NatchezCommand uses natchez.InMemory, so a change to natchez.InMemory can break natchez.InMemory.NatchezCommand, while a change to natchez.InMemory.NatchezCommand can't break natchez.InMemory.
- Position
- Below the diagonal: natchez.InMemory.NatchezCommand uses a module listed above it, which is the healthy direction.
35→10 natchez.log uses natchez.Span.Options✕
- Connections
- 1 pair of types, where a type in natchez.log uses a type in natchez.Span.Options.
- The types involved
natchez.log.LogSpan→natchez.Span.Options.SpanCreationPolicy
- Direction
- natchez.log uses natchez.Span.Options, so a change to natchez.Span.Options can break natchez.log, while a change to natchez.log can't break natchez.Span.Options.
- Position
- Below the diagonal: natchez.log uses a module listed above it, which is the healthy direction.
35→11 natchez.log uses natchez.Span✕
- Connections
- 2 pairs of types, where a type in natchez.log uses a type in natchez.Span.
- The types involved
natchez.log.LogSpan→natchez.Span.Defaultnatchez.log.LogSpan→natchez.Span.Options
- Direction
- natchez.log uses natchez.Span, so a change to natchez.Span can break natchez.log, while a change to natchez.log can't break natchez.Span.
- Position
- Below the diagonal: natchez.log uses a module listed above it, which is the healthy direction.
35→13 natchez.log uses natchez✕
- Connections
- 3 pairs of types, where a type in natchez.log uses a type in natchez.
- The types involved
natchez.log.Log→natchez.EntryPointnatchez.log.LogSpan→natchez.Kernelnatchez.log.LogSpan→natchez.Span
- Direction
- natchez.log uses natchez, so a change to natchez can break natchez.log, while a change to natchez.log can't break natchez.
- Position
- Below the diagonal: natchez.log uses a module listed above it, which is the healthy direction.
35→25 natchez.log uses natchez.logodin✕
- Connections
- 1 pair of types, where a type in natchez.log uses a type in natchez.logodin.
- The types involved
natchez.log.LogSpan→natchez.logodin.LogSpan
- Direction
- natchez.log uses natchez.logodin, so a change to natchez.logodin can break natchez.log, while a change to natchez.log can't break natchez.logodin.
- Position
- Below the diagonal: natchez.log 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 — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 23 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 7 | Medium |
Roadmap
Begin by establishing architectural clarity through a dedicated ADR folder for design decisions and expanding the README with essential onboarding and overview content. Strengthen the build pipeline by integrating automated security scanning to prevent regressions, while simultaneously enforcing strict null-safety rules in Scala to eliminate runtime risks. Finally, refactor log statements to support structured logging for better observability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| 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. | +8.6 pts | Medium | Architecture documentation |
| Expand the README with getting-started, architecture overview and a project map. | +6.6 pts | Medium | Documentation (README) |
| Resolve the 1 Off-boarding risk finding(s) in Bus Factor. | +2.1 pts | Low | Bus Factor |
| Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +3.3 pts | Medium | Security & performance tooling |
| On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it. | +2.4 pts | Medium | Nullable reference types |
| Interpolated log message defeats structured logging | +2.3 pts | Medium | Structured logging |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +1.5 pts | Medium | Release Hygiene |
| Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED. | +0.4 pts | Low | Supply-chain Provenance & Signing |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| modules/log-odin/src/main/scala/LogSpan.scala | 7.0 | Near-clean | Cognitive Complexity: LogSpan.fromKernel (cognitive 21) |
| modules/log/shared/src/main/scala/LogSpan.scala | 7.4 | Near-clean | Cognitive Complexity: LogSpan.fromKernel (cognitive 21) |
| modules/newrelic/src/main/scala/natchez/newrelic/NewrelicSpan.scala | 7.8 | Near-clean | Cognitive Complexity: NewrelicSpan.fromKernel (cognitive 21) |
| modules/datadog/src/main/scala/DDSpan.scala | 7.8 | Near-clean | Code Duplication: Duplicated block (12 lines × 3) |
| modules/jaeger/src/main/scala/JaegerSpan.scala | 7.8 | Near-clean | Code Duplication: Duplicated block (7 lines × 2) |
| REDACTED | 7.9 | Near-clean | Dependency Vulnerabilities: Medium CVE: REDACTED |
| REDACTED | 7.9 | Near-clean | Supply-chain Provenance & Signing: REDACTED |
| modules/honeycomb/src/main/scala/HoneycombSpan.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| modules/lightstep/src/main/scala/LightstepSpan.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| modules/noop/shared/src/main/scala/NoopSpan.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| modules/log-odin/src/main/scala/Log.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (18 lines × 2) |
| modules/opencensus/src/main/scala/OpenCensusSpan.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (10 lines × 2) |
| modules/xray/src/main/scala/natchez/xray/XRaySpan.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (7–8 lines × 2) |
| modules/core/shared/src/main/scala/Trace.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (7 lines × 2) |
| modules/datadog/src/main/scala/DDEntryPoint.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (7 lines × 2) |
| modules/lightstep/src/main/scala/LightstepEntryPoint.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| modules/examples/src/main/scala/Example.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (9 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. 57 of 59 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 2 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 59 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, 56 of 78 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.scala) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.scala) and this repository declares an sbt build (repository root, 14 test files), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D19 Documentation Quality — evaluation did not complete — Documentation Quality not included (check did not complete) — excluded from the score.
- D20 ADR Quality — 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. The ADR expectation is gated on whether a repository ships a deployable product. Our repo-kind classifier reads .NET project files and the host and package markers of the other ecosystems it knows (a Go `package main`, a Cargo binary, a package.json `bin`, `start` script or application dev server such as Vite or Next, Python console scripts or a Django/WSGI entry point, a Spring Boot / WAR / Gradle application build, a Rack or Rails app, a Composer project, an OTP release or escript, a Dockerfile, a Procfile, a Platform.sh `.platform/routes.yaml`, and the corresponding published-package manifests, including an OTP `*.app.src`, a Drupal module's `*.info` and a Claude Code `.claude-plugin/plugin.json`), and found none here, so we could not tell what kind of repository this is and did not assess its ADR log. This is a gap in our analyzer, not a finding about this repository.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. 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 an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D34 Knowledge Freshness — 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. File-level freshness contradicts repo activity: 54 commits in the last 90 days, yet 20 of 22 significant files carry no living knowledge. Those two readings cannot both be true, so the per-file recency signal is treated as unreliable here and freshness is not scored for this run.
- 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 REDACTED 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.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- 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.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- 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.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
4 method(s) exceeded the cognitive complexity threshold of 15; the worst was LogSpan.fromKernel at 21.
What to do
- Bring the 4 bodies over 15 down to 15 or less in Cognitive Complexity — start with LogSpan.fromKernel (cognitive 21), LogSpan.fromKernel (cognitive 21), NewrelicSpan.fromKernel (cognitive 21). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 4 together lifts Cognitive Complexity from 9.3 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
18 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted. 1 of the 19 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 5 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with LogSpan.scala (2), Trace.scala, DDEntryPoint.scala. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 2 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with LogSpan.scala (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with NewrelicSpan.scala, LightstepEntryPoint.scala. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
18 production modules (sbt), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; a dependsOn spread (deps: _*) and a project whose directory a helper computes are not visible there; 2 module(s) off the main sequence, with abstractness counted on 16 of the 18 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 2 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D9 · Test Distribution
15 test methods: 15 unit, 0 integration, 0 BDD, 0 e2e. The Scala suite contributes 15 test case(s) across 7 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.
D12 · Dependency Hygiene
9 outdated direct sbt declarations. An sbt declaration names an EXACT version, so the remedy is an edit to the build file — there is no lockfile refresh that would move it. Test-, Provided- and it-scoped declarations are excluded, because a consumer of this project never receives them. A version held in a Scala val is read only when the val is one string literal: sbt is a program rather than a manifest, and evaluating a computed version would invent the measurement rather than take it. Whether any artifact is DEPRECATED or ABANDONED is not graded and cannot be — Maven Central publishes no such marker, and release age does not stand in for one: the most widely depended-upon libraries are routinely the stalest, being finished rather than abandoned. Known CVEs in this dependency graph are D30's question.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 28 declared sbt dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the production coordinates this repository's 1 sbt build file(s) (REDACTED and project/*.scala) declare with a literal version, directly or through a string-literal val — `%%` resolved to the Scala binary suffix Central publishes under, test-scoped declarations excluded — the same declaration-site closure this analysis reads for dependency currency. sbt has no lockfile a checkout carries, so this is deliberately NOT the transitive closure. 1 further production coordinate(s) are declared with a version the build computes rather than writes as a literal — sbt is a program, and this pass does not run it — and are NOT graded: this verdict covers what the build pins literally or through a string-literal val, not the full graph.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
2 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is REDACTED. Counted over 22 of the 48 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
3 deducted task-comment markers across 4573 LoC (0.0/KLoC) → score 9.9. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 3 TodoComment finding(s) in Explicit Debt — start with HoneycombSpan.scala, LightstepSpan.scala, NoopSpan.scala. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 1 build units (sbt) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
23 finding(s): 0 critical, 23 high, 0 medium, 0 low. 22 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 22 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (22 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
1 finding(s): 0 critical, 0 high, 1 medium, 0 low.
What to do
- Resolve the 1 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX6 · Interface segregation
AX8 · Test isolation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
- The root README is 27 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers.
What to do
- Expand the README with getting-started, architecture overview and a project map.
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
- README claims Natchez is a Scala distributed tracing library but the repository contains no such module — searched for: `natchez-core_2.13`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (package.json and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:1
What to do
- Reconcile the README with reality: README claims Natchez is a Scala distributed tracing library but the repository contains no such module.
P1 · CI/CD gates
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) as a CI step. What was searched, so you can tell an absence from a miss: the 14289 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency 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
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
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `warn` at line 68 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. scala-logging's `LazyLogging` logger takes an `s"…"` message apart into that pattern at compile time, so switching to it is also a fix. — modules/honeycomb/src/main/scala/Honeycomb.scala:68
- `warn` at line 74 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. scala-logging's `LazyLogging` logger takes an `s"…"` message apart into that pattern at compile time, so switching to it is also a fix. — modules/honeycomb/src/main/scala/Honeycomb.scala:74
- `warn` at line 79 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. scala-logging's `LazyLogging` logger takes an `s"…"` message apart into that pattern at compile time, so switching to it is also a fix. — modules/honeycomb/src/main/scala/Honeycomb.scala:79
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- No build over this repository's 45 Scala product file(s) passes `-Yexplicit-nulls`, enables WartRemover's `Null` wart or runs Scalafix's `DisableSyntax.noNulls`, so every reference type admits null and nothing reports a `null` written into the code or returned from a Java API — the first one to reach a method call is a `NullPointerException`. `Option` by convention is a habit no tool here holds the code to.
What to do
- On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 59% | Adequate — gated by X4, X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 99% | Exemplary | Solid. |
| Maturity | 46% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 60% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 81% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Not evidenced — 2 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 58 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — 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.
- 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
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named column (email, first_name, date_of_birth, phone_number, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, a MongoDB or Cassandra driver, JDBC) imported either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~762 lines of test source are present (.scala) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .scala suite was found but not re-run
- 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.
- D19 Documentation Quality — Documentation Quality not included (check did not complete)
- D20 ADR Quality — Repository kind not determined
- 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
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.scala), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
- 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
- D6 Cohesion (LCOM4) — Cohesion (LCOM4) was not measured: of the 69 type(s) found, none both holds instance state and has two or more methods whose shared use of it could be read (32 with fewer than two methods, 33 stateless, 4 stub-like), so LCOM4 is undefined for every type in this repository. Not scored — the metric does not apply here, and this is not a finding 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 included — suite not readable by the collector
- DM1 Domain Modelling — applicable but not scored (1 of 2 signals for this style — below the bar we score at): 32 value object(s)
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P2 Observability — This repository's JVM, JavaScript/TypeScript source (2 module(s), 45 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,992 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- S1 Web-Security Posture — No web surface: 45 Scala file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. This repository builds on an HTTP-server library (REDACTED:451 — depends on `http4s-dsl`) but serves no HTTP of its own: its production source starts no server (no `newServerAt`/`bindAndHandle`, server builder, `Server.serve`, `Http.serve`, tapir server interpreter or Netty HTTP pipeline), declares no application one runs (no Play application, servlet, cask `MainRoutes`, `HttpApp` or twitter-server), so it is a library whose server controls belong to the application that serves it — HTTPS enforcement, HSTS, cookie flags and input validation are N/A here, as they are for a C# library. If this codebase starts serving HTTP, the dimension reactivates automatically.
- 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.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 23 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 33 finding(s)
- Duplicated block (7 lines × 2) modules/core/shared/src/main/scala/Trace.scala:258
- Duplicated block (7 lines × 2) modules/datadog/src/main/scala/DDEntryPoint.scala:22
- Duplicated block (7 lines × 2) modules/jaeger/src/main/scala/JaegerSpan.scala:75
- Duplicated block (7 lines × 2) modules/log-odin/src/main/scala/LogSpan.scala:201
- Duplicated block (7 lines × 2) modules/log/shared/src/main/scala/LogSpan.scala:203
- TodoComment modules/honeycomb/src/main/scala/HoneycombSpan.scala:71
- TodoComment modules/lightstep/src/main/scala/LightstepSpan.scala:97
- TodoComment modules/noop/shared/src/main/scala/NoopSpan.scala:34
- LogSpan.fromKernel (cognitive 21) modules/log-odin/src/main/scala/LogSpan.scala:216
- LogSpan.fromKernel (cognitive 21) modules/log/shared/src/main/scala/LogSpan.scala:219
- REDACTED
- REDACTED
- Duplicated block (8 lines × 2) modules/log-odin/src/main/scala/LogSpan.scala:99
- Duplicated block (8 lines × 2) modules/log-odin/src/main/scala/LogSpan.scala:176
- Duplicated block (5 lines × 2) modules/newrelic/src/main/scala/natchez/newrelic/NewrelicSpan.scala:127
- Duplicated block (5 lines × 2) modules/lightstep/src/main/scala/LightstepEntryPoint.scala:20
- Duplicated block (5 lines × 4) modules/datadog/src/main/scala/DDSpan.scala:34
- Duplicated block (5 lines × 4) modules/log-odin/src/main/scala/LogSpan.scala:71
- Off the main sequence: core
- Off the main sequence: opentracing
- NewrelicSpan.fromKernel (cognitive 21) modules/newrelic/src/main/scala/natchez/newrelic/NewrelicSpan.scala:92
- LogSpan.finish (cognitive 16) modules/log/shared/src/main/scala/LogSpan.scala:148
- REDACTED
- REDACTED
- REDACTED
- Members sharing a duplicated core (4 members, 50+ identical tokens) modules/log-odin/src/main/scala/LogSpan.scala:198
- Duplicated block (18 lines × 2) modules/log-odin/src/main/scala/Log.scala:22
- Duplicated block (12 lines × 3) modules/datadog/src/main/scala/DDSpan.scala:103
- Duplicated block (10 lines × 2) modules/opencensus/src/main/scala/OpenCensusSpan.scala:114
- Duplicated block (7–8 lines × 2) modules/xray/src/main/scala/natchez/xray/XRaySpan.scala:229
- Duplicated block (6 lines × 4) modules/log-odin/src/main/scala/LogSpan.scala:201
- Duplicated block (5 lines × 3) modules/jaeger/src/main/scala/JaegerSpan.scala:42
- Duplicated block (9 lines × 2) modules/examples/src/main/scala/Example.scala:19
Minor — 13 finding(s)
- Interpolated log message defeats structured logging modules/honeycomb/src/main/scala/Honeycomb.scala:68
- Interpolated log message defeats structured logging modules/honeycomb/src/main/scala/Honeycomb.scala:74
- Interpolated log message defeats structured logging modules/honeycomb/src/main/scala/Honeycomb.scala:79
- Off-boarding risk: anonymized user #1
- REDACTED
- REDACTED
- Thin README
- No ADRs
- No architecture diagram/doc
- README/code drift README.md:1
- No SAST
- No changelog
- Scala's null is not held to the type system everywhere
Minor — 9 finding(s)
- Outdated: com.datadoghq:dd-trace-api
- Outdated: com.datadoghq:dd-trace-ot
- Outdated: com.newrelic.telemetry:telemetry-core
- Outdated: com.newrelic.telemetry:telemetry-http-okhttp
- Outdated: io.grpc:grpc-netty
- Outdated: io.grpc:grpc-okhttp
- Outdated: io.netty:netty-tcnative-boringssl-static
- Outdated: org.http4s:http4s-client_2.13
- Outdated: org.http4s:http4s-dsl_2.13
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-e83d6f4881054dfd9a25c8d256869db3/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e83d6f4881054dfd9a25c8d256869db3/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 23 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-22a6e543ac9e4fdabc36ff24669d6148 | 1 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-22a6e543ac9e4fdabc36ff24669d6148 | 0 | artifacts/raw/osv-scanner.json |