Executive summary
typelevel/skunk is rated At risk because critical security findings are open, most of them in the build pipeline. Its score is held back in part because we found no recorded design decisions and no architecture document or diagram. It scores 55 out of 100, which the At risk rating leaves unchanged.
Maturity, at 48, is the weakest lens and counts most in the score. The best first step is recording design decisions, worth about 6 points. Completing the README comes next, worth about 5 points. Raising Maturity to 70 would lift the score to about 60.
Twenty-five pipeline tools are referenced by a changeable name, so the build pipeline can be tampered with. Three settings leave the servers or containers unsafe, and one secret can leak from the build pipeline. Pinning each tool to an exact version, correcting the unsafe settings and limiting the secret to its own step would close these risks. Correcting the flagged pipeline settings would fix the weakness in the build pipeline's configuration.
The product code is 13,357 lines, about €19,000 to rebuild.
If Maturity rose from 48 to 70, the lowest score rated Strong, the score would rise from 55 to about 60.
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 €19,000 · Estimate
| Cost to rebuild | €6,400 to €32,000, for 107 to 340 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 55. 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: 13,357 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Decoder | 2 featureFlags | 3 net.SSLNegotiation | 4 data.TypedRowDescription | 5 telemetry.QueryAnalyzer | 6 telemetry.QueryCaptureConfig | 7 telemetry.TelemetryConfig | 8 data | 9 Statement | 10 data.Completion | 11 data.TransactionAccessMode | 12 data.TransactionIsolationLevel | 13 data.TransactionStatus | 14 Statement.Telemetry | 15 util | 16 net.message | 17 net.protocol.Describe | 18 syntax | 19 exception | 20 skunk | 21 PreparedQuery | 22 RedactionStrategy | 23 SSL | 24 SqlState | 25 TypingStrategy | 26 circe.codec | 27 codec | 28 net.Protocol | 29 postgis.ewkb | 30 telemetry | 31 Session | 32 net.protocol | 33 net.protocol.Parse | 34 postgis.ewkb.EWKBGeometry | 35 telemetry.Telemetry | 36 Session.ConnectionType | 37 net | 38 postgis | 39 postgis.codecs | 40 postgis.ewkt |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Decoder | ||||||||||||||||||||||||||||||||||||||||
| 2 featureFlags | ||||||||||||||||||||||||||||||||||||||||
| 3 net.SSLNegotiation | ||||||||||||||||||||||||||||||||||||||||
| 4 data.TypedRowDescription | 1 | |||||||||||||||||||||||||||||||||||||||
| 5 telemetry.QueryAnalyzer | 1 | |||||||||||||||||||||||||||||||||||||||
| 6 telemetry.QueryCaptureConfig | 1 | |||||||||||||||||||||||||||||||||||||||
| 7 telemetry.TelemetryConfig | 3 | |||||||||||||||||||||||||||||||||||||||
| 8 data | 1 | |||||||||||||||||||||||||||||||||||||||
| 9 Statement | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 data.Completion | 79 | |||||||||||||||||||||||||||||||||||||||
| 11 data.TransactionAccessMode | 2 | |||||||||||||||||||||||||||||||||||||||
| 12 data.TransactionIsolationLevel | 4 | |||||||||||||||||||||||||||||||||||||||
| 13 data.TransactionStatus | 3 | |||||||||||||||||||||||||||||||||||||||
| 14 Statement.Telemetry | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 util | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 16 net.message | 1 | 4 | 1 | 12 | ||||||||||||||||||||||||||||||||||||
| 17 net.protocol.Describe | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 syntax | 1 | 20 | ||||||||||||||||||||||||||||||||||||||
| 19 exception | 1 | 4 | 5 | 9 | 1 | 9 | ||||||||||||||||||||||||||||||||||
| 20 skunk | 1 | 1 | 1 | 14 | 6 | 1 | 9 | 1 | 1 | |||||||||||||||||||||||||||||||
| 21 PreparedQuery | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 RedactionStrategy | 3 | 3 | ||||||||||||||||||||||||||||||||||||||
| 23 SSL | 3 | |||||||||||||||||||||||||||||||||||||||
| 24 SqlState | 199 | |||||||||||||||||||||||||||||||||||||||
| 25 TypingStrategy | 2 | |||||||||||||||||||||||||||||||||||||||
| 26 circe.codec | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 codec | 8 | 10 | ||||||||||||||||||||||||||||||||||||||
| 28 net.Protocol | 2 | 5 | 10 | |||||||||||||||||||||||||||||||||||||
| 29 postgis.ewkb | 2 | 7 | 7 | |||||||||||||||||||||||||||||||||||||
| 30 telemetry | 1 | 2 | 2 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||
| 31 Session | 1 | 2 | 1 | 1 | 9 | 2 | ||||||||||||||||||||||||||||||||||
| 32 net.protocol | 2 | 6 | 20 | 9 | ||||||||||||||||||||||||||||||||||||
| 33 net.protocol.Parse | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 postgis.ewkb.EWKBGeometry | 7 | |||||||||||||||||||||||||||||||||||||||
| 35 telemetry.Telemetry | 1 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 36 Session.ConnectionType | 2 | |||||||||||||||||||||||||||||||||||||||
| 37 net | 1 | 8 | 5 | 6 | 9 | 1 | ||||||||||||||||||||||||||||||||||
| 38 postgis | 3 | |||||||||||||||||||||||||||||||||||||||
| 39 postgis.codecs | 1 | 7 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 postgis.ewkt | 1 | 7 | 4 |
4→8 data.TypedRowDescription uses data part of a loop✕
- Connections
- 1 pair of types, where a type in data.TypedRowDescription uses a type in data.
- The types involved
skunk.data.TypedRowDescription.Field→skunk.data.Type
- Direction
- data.TypedRowDescription uses data, so a change to data can break data.TypedRowDescription, while a change to data.TypedRowDescription can't break data.
- 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.
5→30 telemetry.QueryAnalyzer uses telemetry part of a loop✕
- Connections
- 1 pair of types, where a type in telemetry.QueryAnalyzer uses a type in telemetry.
- The types involved
skunk.telemetry.QueryAnalyzer.Impl→skunk.telemetry.QueryAnalyzer
- Direction
- telemetry.QueryAnalyzer uses telemetry, so a change to telemetry can break telemetry.QueryAnalyzer, while a change to telemetry.QueryAnalyzer can't break telemetry.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6→30 telemetry.QueryCaptureConfig uses telemetry part of a loop✕
- Connections
- 1 pair of types, where a type in telemetry.QueryCaptureConfig uses a type in telemetry.
- The types involved
skunk.telemetry.QueryCaptureConfig.Impl→skunk.telemetry.QueryCaptureConfig
- Direction
- telemetry.QueryCaptureConfig uses telemetry, so a change to telemetry can break telemetry.QueryCaptureConfig, while a change to telemetry.QueryCaptureConfig can't break telemetry.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
7→30 telemetry.TelemetryConfig uses telemetry part of a loop✕
- Connections
- 3 pairs of types, where a type in telemetry.TelemetryConfig uses a type in telemetry.
- The types involved
skunk.telemetry.TelemetryConfig.Impl→skunk.telemetry.QueryAnalyzerskunk.telemetry.TelemetryConfig.Impl→skunk.telemetry.QueryCaptureConfigskunk.telemetry.TelemetryConfig.Impl→skunk.telemetry.TelemetryConfig
- Direction
- telemetry.TelemetryConfig uses telemetry, so a change to telemetry can break telemetry.TelemetryConfig, while a change to telemetry.TelemetryConfig can't break telemetry.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
8→4 data uses data.TypedRowDescription✕
- Connections
- 1 pair of types, where a type in data uses a type in data.TypedRowDescription.
- The types involved
skunk.data.TypedRowDescription→skunk.data.TypedRowDescription.Field
- Direction
- data uses data.TypedRowDescription, so a change to data.TypedRowDescription can break data, while a change to data can't break data.TypedRowDescription.
- Position
- Below the diagonal: data uses a module listed above it, which is the healthy direction.
9→8 Statement uses data✕
- Connections
- 1 pair of types, where a type in Statement uses a type in data.
- The types involved
skunk.Statement.CacheKey→skunk.data.Type
- Direction
- Statement uses data, so a change to data can break Statement, while a change to Statement can't break data.
- Position
- Below the diagonal: Statement uses a module listed above it, which is the healthy direction.
10→8 data.Completion uses data✕
- Connections
- 79 pairs of types, where a type in data.Completion uses a type in data. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
skunk.data.Completion.AlterDatabase→skunk.data.Completionskunk.data.Completion.AlterDefaultPrivileges→skunk.data.Completionskunk.data.Completion.AlterFunction→skunk.data.Completionskunk.data.Completion.AlterIndex→skunk.data.Completionskunk.data.Completion.AlterMaterializedView→skunk.data.Completionskunk.data.Completion.AlterPolicy→skunk.data.Completionskunk.data.Completion.AlterRole→skunk.data.Completionskunk.data.Completion.AlterSequence→skunk.data.Completionskunk.data.Completion.AlterServer→skunk.data.Completionskunk.data.Completion.AlterTable→skunk.data.Completionskunk.data.Completion.AlterTrigger→skunk.data.Completionskunk.data.Completion.AlterType→skunk.data.Completionskunk.data.Completion.AlterUserMapping→skunk.data.Completionskunk.data.Completion.AlterView→skunk.data.Completionskunk.data.Completion.Analyze→skunk.data.Completionskunk.data.Completion.Begin→skunk.data.Completionskunk.data.Completion.Call→skunk.data.Completionskunk.data.Completion.Comment→skunk.data.Completionskunk.data.Completion.Commit→skunk.data.Completionskunk.data.Completion.Copy→skunk.data.Completionskunk.data.Completion.CreateDatabase→skunk.data.Completionskunk.data.Completion.CreateDomain→skunk.data.Completionskunk.data.Completion.CreateExtension→skunk.data.Completionskunk.data.Completion.CreateFunction→skunk.data.Completionskunk.data.Completion.CreateIndex→skunk.data.Completion
- Direction
- data.Completion uses data, so a change to data can break data.Completion, while a change to data.Completion can't break data.
- Position
- Below the diagonal: data.Completion uses a module listed above it, which is the healthy direction.
11→8 data.TransactionAccessMode uses data✕
- Connections
- 2 pairs of types, where a type in data.TransactionAccessMode uses a type in data.
- The types involved
skunk.data.TransactionAccessMode.ReadOnly→skunk.data.TransactionAccessModeskunk.data.TransactionAccessMode.ReadWrite→skunk.data.TransactionAccessMode
- Direction
- data.TransactionAccessMode uses data, so a change to data can break data.TransactionAccessMode, while a change to data.TransactionAccessMode can't break data.
- Position
- Below the diagonal: data.TransactionAccessMode uses a module listed above it, which is the healthy direction.
12→8 data.TransactionIsolationLevel uses data✕
- Connections
- 4 pairs of types, where a type in data.TransactionIsolationLevel uses a type in data.
- The types involved
skunk.data.TransactionIsolationLevel.ReadCommitted→skunk.data.TransactionIsolationLevelskunk.data.TransactionIsolationLevel.ReadUncommitted→skunk.data.TransactionIsolationLevelskunk.data.TransactionIsolationLevel.RepeatableRead→skunk.data.TransactionIsolationLevelskunk.data.TransactionIsolationLevel.Serializable→skunk.data.TransactionIsolationLevel
- Direction
- data.TransactionIsolationLevel uses data, so a change to data can break data.TransactionIsolationLevel, while a change to data.TransactionIsolationLevel can't break data.
- Position
- Below the diagonal: data.TransactionIsolationLevel uses a module listed above it, which is the healthy direction.
13→8 data.TransactionStatus uses data✕
- Connections
- 3 pairs of types, where a type in data.TransactionStatus uses a type in data.
- The types involved
skunk.data.TransactionStatus.Active→skunk.data.TransactionStatusskunk.data.TransactionStatus.Failed→skunk.data.TransactionStatusskunk.data.TransactionStatus.Idle→skunk.data.TransactionStatus
- Direction
- data.TransactionStatus uses data, so a change to data can break data.TransactionStatus, while a change to data.TransactionStatus can't break data.
- Position
- Below the diagonal: data.TransactionStatus uses a module listed above it, which is the healthy direction.
14→9 Statement.Telemetry uses Statement✕
- Connections
- 1 pair of types, where a type in Statement.Telemetry uses a type in Statement.
- The types involved
skunk.Statement.Telemetry.Impl→skunk.Statement.Telemetry
- Direction
- Statement.Telemetry uses Statement, so a change to Statement can break Statement.Telemetry, while a change to Statement.Telemetry can't break Statement.
- Position
- Below the diagonal: Statement.Telemetry uses a module listed above it, which is the healthy direction.
15→8 util uses data✕
- Connections
- 1 pair of types, where a type in util uses a type in data.
- The types involved
skunk.util.Typer→skunk.data.Type
- Direction
- util uses data, so a change to data can break util, while a change to util can't break data.
- Position
- Below the diagonal: util uses a module listed above it, which is the healthy direction.
15→9 util uses Statement✕
- Connections
- 1 pair of types, where a type in util uses a type in Statement.
- The types involved
skunk.util.Pool→skunk.Statement.Telemetry
- Direction
- util uses Statement, so a change to Statement can break util, while a change to util can't break Statement.
- Position
- Below the diagonal: util uses a module listed above it, which is the healthy direction.
15→20 util uses skunk part of a loop✕
- Connections
- 2 pairs of types, where a type in util uses a type in skunk.
- The types involved
skunk.util.StatementCache→skunk.Statementskunk.util.Typer→skunk.TypingStrategy
- Direction
- util uses skunk, so a change to skunk can break util, while a change to util can't break skunk.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
16→4 net.message uses data.TypedRowDescription✕
- Connections
- 1 pair of types, where a type in net.message uses a type in data.TypedRowDescription.
- The types involved
skunk.net.message.RowDescription→skunk.data.TypedRowDescription.Field
- Direction
- net.message uses data.TypedRowDescription, so a change to data.TypedRowDescription can break net.message, while a change to net.message can't break data.TypedRowDescription.
- Position
- Below the diagonal: net.message uses a module listed above it, which is the healthy direction.
16→8 net.message uses data✕
- Connections
- 4 pairs of types, where a type in net.message uses a type in data.
- The types involved
skunk.net.message.CommandComplete→skunk.data.Completionskunk.net.message.NotificationResponse→skunk.data.Notificationskunk.net.message.ReadyForQuery→skunk.data.TransactionStatusskunk.net.message.RowDescription→skunk.data.TypedRowDescription
- Direction
- net.message uses data, so a change to data can break net.message, while a change to net.message can't break data.
- Position
- Below the diagonal: net.message uses a module listed above it, which is the healthy direction.
16→15 net.message uses util✕
- Connections
- 1 pair of types, where a type in net.message uses a type in util.
- The types involved
skunk.net.message.RowDescription→skunk.util.Typer
- Direction
- net.message uses util, so a change to util can break net.message, while a change to net.message can't break util.
- Position
- Below the diagonal: net.message uses a module listed above it, which is the healthy direction.
16→20 net.message uses skunk part of a loop✕
- Connections
- 12 pairs of types, where a type in net.message uses a type in skunk.
- The types involved
skunk.net.message.AuthenticationGSS→skunk.Decoderskunk.net.message.AuthenticationKerberosV5→skunk.Decoderskunk.net.message.AuthenticationOk→skunk.Decoderskunk.net.message.AuthenticationSCMCredential→skunk.Decoderskunk.net.message.AuthenticationSSPI→skunk.Decoderskunk.net.message.BindComplete→skunk.Decoderskunk.net.message.CloseComplete→skunk.Decoderskunk.net.message.CopyDone→skunk.Decoderskunk.net.message.EmptyQueryResponse→skunk.Decoderskunk.net.message.NoData→skunk.Decoderskunk.net.message.ParseComplete→skunk.Decoderskunk.net.message.PortalSuspended→skunk.Decoder
- Direction
- net.message uses skunk, so a change to skunk can break net.message, while a change to net.message can't break skunk.
- 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.
17→8 net.protocol.Describe uses data✕
- Connections
- 2 pairs of types, where a type in net.protocol.Describe uses a type in data.
- The types involved
skunk.net.protocol.Describe.Cache→skunk.data.Cacheskunk.net.protocol.Describe.Cache→skunk.data.TypedRowDescription
- Direction
- net.protocol.Describe uses data, so a change to data can break net.protocol.Describe, while a change to net.protocol.Describe can't break data.
- Position
- Below the diagonal: net.protocol.Describe uses a module listed above it, which is the healthy direction.
17→15 net.protocol.Describe uses util✕
- Connections
- 1 pair of types, where a type in net.protocol.Describe uses a type in util.
- The types involved
skunk.net.protocol.Describe.Cache→skunk.util.StatementCache
- Direction
- net.protocol.Describe uses util, so a change to util can break net.protocol.Describe, while a change to net.protocol.Describe can't break util.
- Position
- Below the diagonal: net.protocol.Describe uses a module listed above it, which is the healthy direction.
18→15 syntax uses util✕
- Connections
- 1 pair of types, where a type in syntax uses a type in util.
- The types involved
skunk.syntax.StringContextOps→skunk.util.Origin
- Direction
- syntax uses util, so a change to util can break syntax, while a change to syntax can't break util.
- Position
- Below the diagonal: syntax uses a module listed above it, which is the healthy direction.
18→20 syntax uses skunk part of a loop✕
- Connections
- 20 pairs of types, where a type in syntax uses a type in skunk.
- The types involved
skunk.syntax.CodecOps→skunk.Codecskunk.syntax.CodecOps→skunk.Decoderskunk.syntax.CodecOps→skunk.Encoderskunk.syntax.CodecOpsLow→skunk.Codecskunk.syntax.CodecOpsLow→skunk.Decoderskunk.syntax.CodecOpsLow→skunk.Encoderskunk.syntax.DecoderOps→skunk.Decoderskunk.syntax.DecoderOpsLow→skunk.Decoderskunk.syntax.EncoderOps→skunk.Encoderskunk.syntax.EncoderOpsLow→skunk.Encoderskunk.syntax.IdOps→skunk.~skunk.syntax.StringContextOps→skunk.AppliedFragmentskunk.syntax.StringContextOps→skunk.Fragmentskunk.syntax.StringContextOps→skunk.Voidskunk.syntax.ToCodecOps→skunk.Codecskunk.syntax.ToCodecOpsLow→skunk.Codecskunk.syntax.ToDecoderOps→skunk.Decoderskunk.syntax.ToDecoderOpsLow→skunk.Decoderskunk.syntax.ToEncoderOps→skunk.Encoderskunk.syntax.ToEncoderOpsLow→skunk.Encoder
- Direction
- syntax uses skunk, so a change to skunk can break syntax, while a change to syntax can't break skunk.
- 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.
19→1 exception uses Decoder✕
- Connections
- 1 pair of types, where a type in exception uses a type in Decoder.
- The types involved
skunk.exception.ProtocolError→skunk.Decoder.Error
- Direction
- exception uses Decoder, so a change to Decoder can break exception, while a change to exception can't break Decoder.
- Position
- Below the diagonal: exception uses a module listed above it, which is the healthy direction.
19→4 exception uses data.TypedRowDescription✕
- Connections
- 4 pairs of types, where a type in exception uses a type in data.TypedRowDescription.
- The types involved
skunk.exception.ColumnAlignmentException→skunk.data.TypedRowDescription.Fieldskunk.exception.UnexpectedRowsException→skunk.data.TypedRowDescription.Fieldskunk.exception.UnknownOidException→skunk.data.TypedRowDescription.Fieldskunk.exception.UnknownTypeException→skunk.data.TypedRowDescription.Field
- Direction
- exception uses data.TypedRowDescription, so a change to data.TypedRowDescription can break exception, while a change to exception can't break data.TypedRowDescription.
- Position
- Below the diagonal: exception uses a module listed above it, which is the healthy direction.
19→8 exception uses data✕
- Connections
- 5 pairs of types, where a type in exception uses a type in data.
- The types involved
skunk.exception.ColumnAlignmentException→skunk.data.Typeskunk.exception.ColumnAlignmentException→skunk.data.TypedRowDescriptionskunk.exception.UnexpectedRowsException→skunk.data.TypedRowDescriptionskunk.exception.UnknownOidException→skunk.data.Typeskunk.exception.UnknownTypeException→skunk.data.Type
- Direction
- exception uses data, so a change to data can break exception, while a change to exception can't break data.
- Position
- Below the diagonal: exception uses a module listed above it, which is the healthy direction.
19→15 exception uses util✕
- Connections
- 9 pairs of types, where a type in exception uses a type in util.
- The types involved
skunk.exception.ColumnAlignmentException→skunk.util.Textskunk.exception.DecodeException→skunk.util.Textskunk.exception.ProtocolError→skunk.util.Originskunk.exception.SkunkException→skunk.util.CallSiteskunk.exception.SkunkException→skunk.util.Originskunk.exception.StartupException→skunk.util.Textskunk.exception.UnexpectedRowsException→skunk.util.Textskunk.exception.UnknownOidException→skunk.util.Textskunk.exception.UnknownTypeException→skunk.util.Text
- Direction
- exception uses util, so a change to util can break exception, while a change to exception can't break util.
- Position
- Below the diagonal: exception uses a module listed above it, which is the healthy direction.
19→16 exception uses net.message✕
- Connections
- 1 pair of types, where a type in exception uses a type in net.message.
- The types involved
skunk.exception.ProtocolError→skunk.net.message.BackendMessage
- Direction
- exception uses net.message, so a change to net.message can break exception, while a change to exception can't break net.message.
- Position
- Below the diagonal: exception uses a module listed above it, which is the healthy direction.
19→20 exception uses skunk part of a loop✕
- Connections
- 9 pairs of types, where a type in exception uses a type in skunk.
- The types involved
skunk.exception.ColumnAlignmentException→skunk.Queryskunk.exception.NoDataException→skunk.Queryskunk.exception.TooManyParametersException→skunk.Statementskunk.exception.UnexpectedDataException→skunk.Commandskunk.exception.UnexpectedRowsException→skunk.Commandskunk.exception.UnknownOidException→skunk.Queryskunk.exception.UnknownOidException→skunk.TypingStrategyskunk.exception.UnknownTypeException→skunk.Statementskunk.exception.UnknownTypeException→skunk.TypingStrategy
- Direction
- exception uses skunk, so a change to skunk can break exception, while a change to exception can't break skunk.
- 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.
20→1 skunk uses Decoder✕
- Connections
- 1 pair of types, where a type in skunk uses a type in Decoder.
- The types involved
skunk.Decoder→skunk.Decoder.Error
- Direction
- skunk uses Decoder, so a change to Decoder can break skunk, while a change to skunk can't break Decoder.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→2 skunk uses featureFlags✕
- Connections
- 1 pair of types, where a type in skunk uses a type in featureFlags.
- The types involved
skunk.feature→skunk.featureFlags.legacyCommandSyntax
- Direction
- skunk uses featureFlags, so a change to featureFlags can break skunk, while a change to skunk can't break featureFlags.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→3 skunk uses net.SSLNegotiation✕
- Connections
- 1 pair of types, where a type in skunk uses a type in net.SSLNegotiation.
- The types involved
skunk.SSL→skunk.net.SSLNegotiation.Options
- Direction
- skunk uses net.SSLNegotiation, so a change to net.SSLNegotiation can break skunk, while a change to skunk can't break net.SSLNegotiation.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→8 skunk uses data✕
- Connections
- 14 pairs of types, where a type in skunk uses a type in data.
- The types involved
skunk.Channel→skunk.data.Notificationskunk.Decoder→skunk.data.Typeskunk.Encoder→skunk.data.Encodedskunk.Encoder→skunk.data.Typeskunk.PreparedCommand→skunk.data.Completionskunk.RedactionStrategy→skunk.data.Encodedskunk.Session→skunk.data.Cacheskunk.Session→skunk.data.Completionskunk.Session→skunk.data.Identifierskunk.Session→skunk.data.TransactionAccessModeskunk.Session→skunk.data.TransactionIsolationLevelskunk.Session→skunk.data.TransactionStatusskunk.Transaction→skunk.data.Completionskunk.Transaction→skunk.data.TransactionStatus
- Direction
- skunk uses data, so a change to data can break skunk, while a change to skunk can't break data.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→9 skunk uses Statement✕
- Connections
- 6 pairs of types, where a type in skunk uses a type in Statement.
- The types involved
skunk.Command→skunk.Statement.CacheKeyskunk.Command→skunk.Statement.Telemetryskunk.Query→skunk.Statement.CacheKeyskunk.Query→skunk.Statement.Telemetryskunk.Statement→skunk.Statement.CacheKeyskunk.Statement→skunk.Statement.Telemetry
- Direction
- skunk uses Statement, so a change to Statement can break skunk, while a change to skunk can't break Statement.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→10 skunk uses data.Completion✕
- Connections
- 1 pair of types, where a type in skunk uses a type in data.Completion.
- The types involved
skunk.Transaction→skunk.data.Completion.Savepoint
- Direction
- skunk uses data.Completion, so a change to data.Completion can break skunk, while a change to skunk can't break data.Completion.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→15 skunk uses util✕
- Connections
- 9 pairs of types, where a type in skunk uses a type in util.
- The types involved
skunk.Command→skunk.util.Originskunk.Encoder→skunk.util.Typerskunk.Fragment→skunk.util.Originskunk.PreparedCommand→skunk.util.Originskunk.PreparedQuery→skunk.util.Originskunk.Query→skunk.util.Originskunk.Session→skunk.util.Typerskunk.Statement→skunk.util.Originskunk.Transaction→skunk.util.Origin
- Direction
- skunk uses util, so a change to util can break skunk, while a change to skunk can't break util.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→18 skunk uses syntax✕
- Connections
- 1 pair of types, where a type in skunk uses a type in syntax.
- The types involved
skunk.implicits→skunk.syntax.ToAllOps
- Direction
- skunk uses syntax, so a change to syntax can break skunk, while a change to skunk can't break syntax.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
20→19 skunk uses exception✕
- Connections
- 1 pair of types, where a type in skunk uses a type in exception.
- The types involved
skunk.SqlState→skunk.exception.PostgresErrorException
- Direction
- skunk uses exception, so a change to exception can break skunk, while a change to skunk can't break exception.
- Position
- Below the diagonal: skunk uses a module listed above it, which is the healthy direction.
21→20 PreparedQuery uses skunk✕
- Connections
- 1 pair of types, where a type in PreparedQuery uses a type in skunk.
- The types involved
skunk.PreparedQuery.PreparedQueryOps→skunk.PreparedQuery
- Direction
- PreparedQuery uses skunk, so a change to skunk can break PreparedQuery, while a change to PreparedQuery can't break skunk.
- Position
- Below the diagonal: PreparedQuery uses a module listed above it, which is the healthy direction.
22→8 RedactionStrategy uses data✕
- Connections
- 3 pairs of types, where a type in RedactionStrategy uses a type in data.
- The types involved
skunk.RedactionStrategy.All→skunk.data.Encodedskunk.RedactionStrategy.None→skunk.data.Encodedskunk.RedactionStrategy.OptIn→skunk.data.Encoded
- Direction
- RedactionStrategy uses data, so a change to data can break RedactionStrategy, while a change to RedactionStrategy can't break data.
- Position
- Below the diagonal: RedactionStrategy uses a module listed above it, which is the healthy direction.
22→20 RedactionStrategy uses skunk✕
- Connections
- 3 pairs of types, where a type in RedactionStrategy uses a type in skunk.
- The types involved
skunk.RedactionStrategy.All→skunk.RedactionStrategyskunk.RedactionStrategy.None→skunk.RedactionStrategyskunk.RedactionStrategy.OptIn→skunk.RedactionStrategy
- Direction
- RedactionStrategy uses skunk, so a change to skunk can break RedactionStrategy, while a change to RedactionStrategy can't break skunk.
- Position
- Below the diagonal: RedactionStrategy uses a module listed above it, which is the healthy direction.
23→20 SSL uses skunk✕
- Connections
- 3 pairs of types, where a type in SSL uses a type in skunk.
- The types involved
skunk.SSL.None→skunk.SSLskunk.SSL.System→skunk.SSLskunk.SSL.Trusted→skunk.SSL
- Direction
- SSL uses skunk, so a change to skunk can break SSL, while a change to SSL can't break skunk.
- Position
- Below the diagonal: SSL uses a module listed above it, which is the healthy direction.
24→20 SqlState uses skunk✕
- Connections
- 199 pairs of types, where a type in SqlState uses a type in skunk. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
skunk.SqlState.ActiveSqlTransaction→skunk.SqlStateskunk.SqlState.AdminShutdown→skunk.SqlStateskunk.SqlState.AmbiguousAlias→skunk.SqlStateskunk.SqlState.AmbiguousColumn→skunk.SqlStateskunk.SqlState.AmbiguousFunction→skunk.SqlStateskunk.SqlState.AmbiguousParameter→skunk.SqlStateskunk.SqlState.ArraySubscriptError→skunk.SqlStateskunk.SqlState.BadCopyFileFormat→skunk.SqlStateskunk.SqlState.BranchTransactionAlreadyActive→skunk.SqlStateskunk.SqlState.CannotCoerce→skunk.SqlStateskunk.SqlState.CannotConnectNow→skunk.SqlStateskunk.SqlState.CantChangeRuntimeParam→skunk.SqlStateskunk.SqlState.CardinalityViolation→skunk.SqlStateskunk.SqlState.CaseNotFound→skunk.SqlStateskunk.SqlState.CharacterNotInRepertoire→skunk.SqlStateskunk.SqlState.CheckViolation→skunk.SqlStateskunk.SqlState.ConfigFileError→skunk.SqlStateskunk.SqlState.ConnectionDoesNotExist→skunk.SqlStateskunk.SqlState.ConnectionException→skunk.SqlStateskunk.SqlState.ConnectionFailure→skunk.SqlStateskunk.SqlState.ContainingSqlNotPermitted→skunk.SqlStateskunk.SqlState.CrashShutdown→skunk.SqlStateskunk.SqlState.DataCorrupted→skunk.SqlStateskunk.SqlState.DataException→skunk.SqlStateskunk.SqlState.DatabaseDropped→skunk.SqlState
- Direction
- SqlState uses skunk, so a change to skunk can break SqlState, while a change to SqlState can't break skunk.
- Position
- Below the diagonal: SqlState uses a module listed above it, which is the healthy direction.
25→20 TypingStrategy uses skunk✕
- Connections
- 2 pairs of types, where a type in TypingStrategy uses a type in skunk.
- The types involved
skunk.TypingStrategy.BuiltinsOnly→skunk.TypingStrategyskunk.TypingStrategy.SearchPath→skunk.TypingStrategy
- Direction
- TypingStrategy uses skunk, so a change to skunk can break TypingStrategy, while a change to TypingStrategy can't break skunk.
- Position
- Below the diagonal: TypingStrategy uses a module listed above it, which is the healthy direction.
26→8 circe.codec uses data✕
- Connections
- 1 pair of types, where a type in circe.codec uses a type in data.
- The types involved
skunk.circe.codec.JsonCodecs→skunk.data.Type
- Direction
- circe.codec uses data, so a change to data can break circe.codec, while a change to circe.codec can't break data.
- Position
- Below the diagonal: circe.codec uses a module listed above it, which is the healthy direction.
26→20 circe.codec uses skunk✕
- Connections
- 1 pair of types, where a type in circe.codec uses a type in skunk.
- The types involved
skunk.circe.codec.JsonCodecs→skunk.Codec
- Direction
- circe.codec uses skunk, so a change to skunk can break circe.codec, while a change to circe.codec can't break skunk.
- Position
- Below the diagonal: circe.codec uses a module listed above it, which is the healthy direction.
27→8 codec uses data✕
- Connections
- 8 pairs of types, where a type in codec uses a type in data.
- The types involved
skunk.codec.EnumCodec→skunk.data.Typeskunk.codec.EnumCodecCompat→skunk.data.Typeskunk.codec.LTreeCodec→skunk.data.LTreeskunk.codec.NumericCodecs→skunk.data.Arrskunk.codec.TemporalCodecs→skunk.data.Typeskunk.codec.TextCodecs→skunk.data.Arrskunk.codec.UuidCodec→skunk.data.Arrskunk.codec.uuid→skunk.data.Arr
- Direction
- codec uses data, so a change to data can break codec, while a change to codec can't break data.
- Position
- Below the diagonal: codec uses a module listed above it, which is the healthy direction.
27→20 codec uses skunk✕
- Connections
- 10 pairs of types, where a type in codec uses a type in skunk.
- The types involved
skunk.codec.BinaryCodecs→skunk.Codecskunk.codec.BooleanCodec→skunk.Codecskunk.codec.EnumCodec→skunk.Codecskunk.codec.EnumCodecCompat→skunk.Codecskunk.codec.LTreeCodec→skunk.Codecskunk.codec.NumericCodecs→skunk.Codecskunk.codec.TemporalCodecs→skunk.Codecskunk.codec.TextCodecs→skunk.Codecskunk.codec.UuidCodec→skunk.Codecskunk.codec.uuid→skunk.Codec
- Direction
- codec uses skunk, so a change to skunk can break codec, while a change to codec can't break skunk.
- Position
- Below the diagonal: codec uses a module listed above it, which is the healthy direction.
28→8 net.Protocol uses data✕
- Connections
- 2 pairs of types, where a type in net.Protocol uses a type in data.
- The types involved
skunk.net.Protocol.CommandPortal→skunk.data.Completionskunk.net.Protocol.PreparedQuery→skunk.data.TypedRowDescription
- Direction
- net.Protocol uses data, so a change to data can break net.Protocol, while a change to net.Protocol can't break data.
- Position
- Below the diagonal: net.Protocol uses a module listed above it, which is the healthy direction.
28→15 net.Protocol uses util✕
- Connections
- 5 pairs of types, where a type in net.Protocol uses a type in util.
- The types involved
skunk.net.Protocol.CommandPortal→skunk.util.Originskunk.net.Protocol.Portal→skunk.util.Originskunk.net.Protocol.PreparedCommand→skunk.util.Originskunk.net.Protocol.PreparedQuery→skunk.util.Originskunk.net.Protocol.QueryPortal→skunk.util.Origin
- Direction
- net.Protocol uses util, so a change to util can break net.Protocol, while a change to net.Protocol can't break util.
- Position
- Below the diagonal: net.Protocol uses a module listed above it, which is the healthy direction.
28→20 net.Protocol uses skunk✕
- Connections
- 10 pairs of types, where a type in net.Protocol uses a type in skunk.
- The types involved
skunk.net.Protocol.CommandPortal→skunk.PreparedCommandskunk.net.Protocol.PreparedCommand→skunk.Commandskunk.net.Protocol.PreparedCommand→skunk.Statementskunk.net.Protocol.PreparedQuery→skunk.Queryskunk.net.Protocol.PreparedQuery→skunk.Statementskunk.net.Protocol.PreparedQuery→skunk.~skunk.net.Protocol.PreparedStatement→skunk.Statementskunk.net.Protocol.QueryPortal→skunk.PreparedQueryskunk.net.Protocol.QueryPortal→skunk.RedactionStrategyskunk.net.Protocol.QueryPortal→skunk.~
- Direction
- net.Protocol uses skunk, so a change to skunk can break net.Protocol, while a change to net.Protocol can't break skunk.
- Position
- Below the diagonal: net.Protocol uses a module listed above it, which is the healthy direction.
29→20 postgis.ewkb uses skunk✕
- Connections
- 2 pairs of types, where a type in postgis.ewkb uses a type in skunk.
- The types involved
skunk.postgis.ewkb.EWKBCodecs→skunk.Decoderskunk.postgis.ewkb.EWKBCodecs→skunk.Encoder
- Direction
- postgis.ewkb uses skunk, so a change to skunk can break postgis.ewkb, while a change to postgis.ewkb can't break skunk.
- Position
- Below the diagonal: postgis.ewkb uses a module listed above it, which is the healthy direction.
29→34 postgis.ewkb uses postgis.ewkb.EWKBGeometry part of a loop✕
- Connections
- 7 pairs of types, where a type in postgis.ewkb uses a type in postgis.ewkb.EWKBGeometry.
- The types involved
skunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.ewkb.EWKBGeometry.GeometryCollectionskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.ewkb.EWKBGeometry.LineStringskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.ewkb.EWKBGeometry.MultiLineStringskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.ewkb.EWKBGeometry.MultiPointskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.ewkb.EWKBGeometry.MultiPolygonskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.ewkb.EWKBGeometry.Pointskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.ewkb.EWKBGeometry.Polygon
- Direction
- postgis.ewkb uses postgis.ewkb.EWKBGeometry, so a change to postgis.ewkb.EWKBGeometry can break postgis.ewkb, while a change to postgis.ewkb can't break postgis.ewkb.EWKBGeometry.
- 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.
29→38 postgis.ewkb uses postgis part of a loop✕
- Connections
- 7 pairs of types, where a type in postgis.ewkb uses a type in postgis.
- The types involved
skunk.postgis.ewkb.EWKBCodecPlatform→skunk.postgis.Geometryskunk.postgis.ewkb.EWKBCodecs→skunk.postgis.Geometryskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.Coordinateskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.Geometryskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.LinearRingskunk.postgis.ewkb.EWKBPrimitives→skunk.postgis.SRIDskunk.postgis.ewkb.EWKBType→skunk.postgis.Dimension
- Direction
- postgis.ewkb uses postgis, so a change to postgis can break postgis.ewkb, while a change to postgis.ewkb can't break postgis.
- 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.
30→5 telemetry uses telemetry.QueryAnalyzer✕
- Connections
- 1 pair of types, where a type in telemetry uses a type in telemetry.QueryAnalyzer.
- The types involved
skunk.telemetry.QueryAnalyzer→skunk.telemetry.QueryAnalyzer.Analysis
- Direction
- telemetry uses telemetry.QueryAnalyzer, so a change to telemetry.QueryAnalyzer can break telemetry, while a change to telemetry can't break telemetry.QueryAnalyzer.
- Position
- Below the diagonal: telemetry uses a module listed above it, which is the healthy direction.
30→6 telemetry uses telemetry.QueryCaptureConfig✕
- Connections
- 2 pairs of types, where a type in telemetry uses a type in telemetry.QueryCaptureConfig.
- The types involved
skunk.telemetry.QueryCaptureConfig→skunk.telemetry.QueryCaptureConfig.QueryParametersPolicyskunk.telemetry.QueryCaptureConfig→skunk.telemetry.QueryCaptureConfig.QueryTextPolicy
- Direction
- telemetry uses telemetry.QueryCaptureConfig, so a change to telemetry.QueryCaptureConfig can break telemetry, while a change to telemetry can't break telemetry.QueryCaptureConfig.
- Position
- Below the diagonal: telemetry uses a module listed above it, which is the healthy direction.
30→7 telemetry uses telemetry.TelemetryConfig✕
- Connections
- 2 pairs of types, where a type in telemetry uses a type in telemetry.TelemetryConfig.
- The types involved
skunk.telemetry.TelemetryConfig→skunk.telemetry.TelemetryConfig.PoolSpansskunk.telemetry.TelemetryConfig→skunk.telemetry.TelemetryConfig.ProtocolSpans
- Direction
- telemetry uses telemetry.TelemetryConfig, so a change to telemetry.TelemetryConfig can break telemetry, while a change to telemetry can't break telemetry.TelemetryConfig.
- Position
- Below the diagonal: telemetry uses a module listed above it, which is the healthy direction.
30→8 telemetry uses data✕
- Connections
- 1 pair of types, where a type in telemetry uses a type in data.
- The types involved
skunk.telemetry.Telemetry→skunk.data.Encoded
- Direction
- telemetry uses data, so a change to data can break telemetry, while a change to telemetry can't break data.
- Position
- Below the diagonal: telemetry uses a module listed above it, which is the healthy direction.
30→9 telemetry uses Statement✕
- Connections
- 1 pair of types, where a type in telemetry uses a type in Statement.
- The types involved
skunk.telemetry.Telemetry→skunk.Statement.Telemetry
- Direction
- telemetry uses Statement, so a change to Statement can break telemetry, while a change to telemetry can't break Statement.
- Position
- Below the diagonal: telemetry uses a module listed above it, which is the healthy direction.
30→20 telemetry uses skunk✕
- Connections
- 2 pairs of types, where a type in telemetry uses a type in skunk.
- The types involved
skunk.telemetry.Telemetry→skunk.RedactionStrategyskunk.telemetry.Telemetry→skunk.Statement
- Direction
- telemetry uses skunk, so a change to skunk can break telemetry, while a change to telemetry can't break skunk.
- Position
- Below the diagonal: telemetry uses a module listed above it, which is the healthy direction.
31→3 Session uses net.SSLNegotiation✕
- Connections
- 1 pair of types, where a type in Session uses a type in net.SSLNegotiation.
- The types involved
skunk.Session.Builder→skunk.net.SSLNegotiation.Options
- Direction
- Session uses net.SSLNegotiation, so a change to net.SSLNegotiation can break Session, while a change to Session can't break net.SSLNegotiation.
- Position
- Below the diagonal: Session uses a module listed above it, which is the healthy direction.
31→8 Session uses data✕
- Connections
- 2 pairs of types, where a type in Session uses a type in data.
- The types involved
skunk.Session.Builder→skunk.data.Cacheskunk.Session.Impl→skunk.data.Completion
- Direction
- Session uses data, so a change to data can break Session, while a change to Session can't break data.
- Position
- Below the diagonal: Session uses a module listed above it, which is the healthy direction.
31→9 Session uses Statement✕
- Connections
- 1 pair of types, where a type in Session uses a type in Statement.
- The types involved
skunk.Session.Builder→skunk.Statement.Telemetry
- Direction
- Session uses Statement, so a change to Statement can break Session, while a change to Session can't break Statement.
- Position
- Below the diagonal: Session uses a module listed above it, which is the healthy direction.
31→15 Session uses util✕
- Connections
- 1 pair of types, where a type in Session uses a type in util.
- The types involved
skunk.Session.Recyclers→skunk.util.Recycler
- Direction
- Session uses util, so a change to util can break Session, while a change to Session can't break util.
- Position
- Below the diagonal: Session uses a module listed above it, which is the healthy direction.
31→20 Session uses skunk✕
- Connections
- 9 pairs of types, where a type in Session uses a type in skunk.
- The types involved
skunk.Session.Builder→skunk.RedactionStrategyskunk.Session.Builder→skunk.SSLskunk.Session.Builder→skunk.Sessionskunk.Session.Builder→skunk.TypingStrategyskunk.Session.Impl→skunk.Commandskunk.Session.Impl→skunk.Cursorskunk.Session.Impl→skunk.Queryskunk.Session.Impl→skunk.Sessionskunk.Session.Recyclers→skunk.Session
- Direction
- Session uses skunk, so a change to skunk can break Session, while a change to Session can't break skunk.
- Position
- Below the diagonal: Session uses a module listed above it, which is the healthy direction.
31→30 Session uses telemetry✕
- Connections
- 2 pairs of types, where a type in Session uses a type in telemetry.
- The types involved
skunk.Session.Builder→skunk.telemetry.ConnectionInfoskunk.Session.Builder→skunk.telemetry.TelemetryConfig
- Direction
- Session uses telemetry, so a change to telemetry can break Session, while a change to Session can't break telemetry.
- Position
- Below the diagonal: Session uses a module listed above it, which is the healthy direction.
32→8 net.protocol uses data✕
- Connections
- 2 pairs of types, where a type in net.protocol uses a type in data.
- The types involved
skunk.net.protocol.Query→skunk.data.Completionskunk.net.protocol.Unroll→skunk.data.TypedRowDescription
- Direction
- net.protocol uses data, so a change to data can break net.protocol, while a change to net.protocol can't break data.
- Position
- Below the diagonal: net.protocol uses a module listed above it, which is the healthy direction.
32→15 net.protocol uses util✕
- Connections
- 6 pairs of types, where a type in net.protocol uses a type in util.
- The types involved
skunk.net.protocol.Bind→skunk.util.Originskunk.net.protocol.BindExecute→skunk.util.Originskunk.net.protocol.ParseDescribe→skunk.util.Typerskunk.net.protocol.Prepare→skunk.util.Typerskunk.net.protocol.Query→skunk.util.Typerskunk.net.protocol.Unroll→skunk.util.Origin
- Direction
- net.protocol uses util, so a change to util can break net.protocol, while a change to net.protocol can't break util.
- Position
- Below the diagonal: net.protocol uses a module listed above it, which is the healthy direction.
32→20 net.protocol uses skunk✕
- Connections
- 20 pairs of types, where a type in net.protocol uses a type in skunk.
- The types involved
skunk.net.protocol.Bind→skunk.RedactionStrategyskunk.net.protocol.BindExecute→skunk.PreparedCommandskunk.net.protocol.BindExecute→skunk.PreparedQueryskunk.net.protocol.BindExecute→skunk.RedactionStrategyskunk.net.protocol.BindExecute→skunk.~skunk.net.protocol.Execute→skunk.~skunk.net.protocol.ParseDescribe→skunk.Commandskunk.net.protocol.ParseDescribe→skunk.Queryskunk.net.protocol.Prepare→skunk.Commandskunk.net.protocol.Prepare→skunk.PreparedCommandskunk.net.protocol.Prepare→skunk.PreparedQueryskunk.net.protocol.Prepare→skunk.Queryskunk.net.protocol.Query→skunk.Commandskunk.net.protocol.Query→skunk.Queryskunk.net.protocol.Query→skunk.Statementskunk.net.protocol.Query→skunk.Voidskunk.net.protocol.Unroll→skunk.Decoderskunk.net.protocol.Unroll→skunk.Encoderskunk.net.protocol.Unroll→skunk.PreparedQueryskunk.net.protocol.Unroll→skunk.RedactionStrategy
- Direction
- net.protocol uses skunk, so a change to skunk can break net.protocol, while a change to net.protocol can't break skunk.
- Position
- Below the diagonal: net.protocol uses a module listed above it, which is the healthy direction.
32→28 net.protocol uses net.Protocol✕
- Connections
- 9 pairs of types, where a type in net.protocol uses a type in net.Protocol.
- The types involved
skunk.net.protocol.Bind→skunk.net.Protocol.PortalIdskunk.net.protocol.Bind→skunk.net.Protocol.PreparedStatementskunk.net.protocol.BindExecute→skunk.net.Protocol.CommandPortalskunk.net.protocol.BindExecute→skunk.net.Protocol.QueryPortalskunk.net.protocol.Close→skunk.net.Protocol.PortalIdskunk.net.protocol.Close→skunk.net.Protocol.StatementIdskunk.net.protocol.Execute→skunk.net.Protocol.QueryPortalskunk.net.protocol.ParseDescribe→skunk.net.Protocol.StatementIdskunk.net.protocol.Unroll→skunk.net.Protocol.QueryPortal
- Direction
- net.protocol uses net.Protocol, so a change to net.Protocol can break net.protocol, while a change to net.protocol can't break net.Protocol.
- Position
- Below the diagonal: net.protocol uses a module listed above it, which is the healthy direction.
33→8 net.protocol.Parse uses data✕
- Connections
- 1 pair of types, where a type in net.protocol.Parse uses a type in data.
- The types involved
skunk.net.protocol.Parse.Cache→skunk.data.Cache
- Direction
- net.protocol.Parse uses data, so a change to data can break net.protocol.Parse, while a change to net.protocol.Parse can't break data.
- Position
- Below the diagonal: net.protocol.Parse uses a module listed above it, which is the healthy direction.
33→15 net.protocol.Parse uses util✕
- Connections
- 1 pair of types, where a type in net.protocol.Parse uses a type in util.
- The types involved
skunk.net.protocol.Parse.Cache→skunk.util.StatementCache
- Direction
- net.protocol.Parse uses util, so a change to util can break net.protocol.Parse, while a change to net.protocol.Parse can't break util.
- Position
- Below the diagonal: net.protocol.Parse uses a module listed above it, which is the healthy direction.
33→28 net.protocol.Parse uses net.Protocol✕
- Connections
- 1 pair of types, where a type in net.protocol.Parse uses a type in net.Protocol.
- The types involved
skunk.net.protocol.Parse.Cache→skunk.net.Protocol.StatementId
- Direction
- net.protocol.Parse uses net.Protocol, so a change to net.Protocol can break net.protocol.Parse, while a change to net.protocol.Parse can't break net.Protocol.
- Position
- Below the diagonal: net.protocol.Parse uses a module listed above it, which is the healthy direction.
34→29 postgis.ewkb.EWKBGeometry uses postgis.ewkb✕
- Connections
- 7 pairs of types, where a type in postgis.ewkb.EWKBGeometry uses a type in postgis.ewkb.
- The types involved
skunk.postgis.ewkb.EWKBGeometry.GeometryCollection→skunk.postgis.ewkb.EWKBGeometryskunk.postgis.ewkb.EWKBGeometry.LineString→skunk.postgis.ewkb.EWKBGeometryskunk.postgis.ewkb.EWKBGeometry.MultiLineString→skunk.postgis.ewkb.EWKBGeometryskunk.postgis.ewkb.EWKBGeometry.MultiPoint→skunk.postgis.ewkb.EWKBGeometryskunk.postgis.ewkb.EWKBGeometry.MultiPolygon→skunk.postgis.ewkb.EWKBGeometryskunk.postgis.ewkb.EWKBGeometry.Point→skunk.postgis.ewkb.EWKBGeometryskunk.postgis.ewkb.EWKBGeometry.Polygon→skunk.postgis.ewkb.EWKBGeometry
- Direction
- postgis.ewkb.EWKBGeometry uses postgis.ewkb, so a change to postgis.ewkb can break postgis.ewkb.EWKBGeometry, while a change to postgis.ewkb.EWKBGeometry can't break postgis.ewkb.
- Position
- Below the diagonal: postgis.ewkb.EWKBGeometry uses a module listed above it, which is the healthy direction.
35→8 telemetry.Telemetry uses data✕
- Connections
- 1 pair of types, where a type in telemetry.Telemetry uses a type in data.
- The types involved
skunk.telemetry.Telemetry.Impl→skunk.data.Encoded
- Direction
- telemetry.Telemetry uses data, so a change to data can break telemetry.Telemetry, while a change to telemetry.Telemetry can't break data.
- Position
- Below the diagonal: telemetry.Telemetry uses a module listed above it, which is the healthy direction.
35→9 telemetry.Telemetry uses Statement✕
- Connections
- 1 pair of types, where a type in telemetry.Telemetry uses a type in Statement.
- The types involved
skunk.telemetry.Telemetry.Impl→skunk.Statement.Telemetry
- Direction
- telemetry.Telemetry uses Statement, so a change to Statement can break telemetry.Telemetry, while a change to telemetry.Telemetry can't break Statement.
- Position
- Below the diagonal: telemetry.Telemetry uses a module listed above it, which is the healthy direction.
35→20 telemetry.Telemetry uses skunk✕
- Connections
- 2 pairs of types, where a type in telemetry.Telemetry uses a type in skunk.
- The types involved
skunk.telemetry.Telemetry.Impl→skunk.RedactionStrategyskunk.telemetry.Telemetry.Impl→skunk.Statement
- Direction
- telemetry.Telemetry uses skunk, so a change to skunk can break telemetry.Telemetry, while a change to telemetry.Telemetry can't break skunk.
- Position
- Below the diagonal: telemetry.Telemetry uses a module listed above it, which is the healthy direction.
35→30 telemetry.Telemetry uses telemetry✕
- Connections
- 1 pair of types, where a type in telemetry.Telemetry uses a type in telemetry.
- The types involved
skunk.telemetry.Telemetry.Impl→skunk.telemetry.ConnectionInfo
- Direction
- telemetry.Telemetry uses telemetry, so a change to telemetry can break telemetry.Telemetry, while a change to telemetry.Telemetry can't break telemetry.
- Position
- Below the diagonal: telemetry.Telemetry uses a module listed above it, which is the healthy direction.
36→31 Session.ConnectionType uses Session✕
- Connections
- 2 pairs of types, where a type in Session.ConnectionType uses a type in Session.
- The types involved
skunk.Session.ConnectionType.TCP→skunk.Session.ConnectionTypeskunk.Session.ConnectionType.Unix→skunk.Session.ConnectionType
- Direction
- Session.ConnectionType uses Session, so a change to Session can break Session.ConnectionType, while a change to Session.ConnectionType can't break Session.
- Position
- Below the diagonal: Session.ConnectionType uses a module listed above it, which is the healthy direction.
37→3 net uses net.SSLNegotiation✕
- Connections
- 1 pair of types, where a type in net uses a type in net.SSLNegotiation.
- The types involved
skunk.net.SSLNegotiation→skunk.net.SSLNegotiation.Options
- Direction
- net uses net.SSLNegotiation, so a change to net.SSLNegotiation can break net, while a change to net can't break net.SSLNegotiation.
- Position
- Below the diagonal: net uses a module listed above it, which is the healthy direction.
37→8 net uses data✕
- Connections
- 8 pairs of types, where a type in net uses a type in data.
- The types involved
skunk.net.BufferedMessageSocket→skunk.data.Notificationskunk.net.BufferedMessageSocket→skunk.data.TransactionStatusskunk.net.Protocol→skunk.data.Cacheskunk.net.Protocol→skunk.data.Completionskunk.net.Protocol→skunk.data.Notificationskunk.net.Protocol→skunk.data.TransactionStatusskunk.net.message→skunk.data.Identifierskunk.net.protocol→skunk.data.Encoded
- Direction
- net uses data, so a change to data can break net, while a change to net can't break data.
- Position
- Below the diagonal: net uses a module listed above it, which is the healthy direction.
37→15 net uses util✕
- Connections
- 5 pairs of types, where a type in net uses a type in util.
- The types involved
skunk.net.AbstractMessageSocket→skunk.util.Originskunk.net.MessageSocket→skunk.util.Originskunk.net.Protocol→skunk.util.Typerskunk.net.protocol→skunk.util.Namerskunk.net.protocol→skunk.util.Origin
- Direction
- net uses util, so a change to util can break net, while a change to net can't break util.
- Position
- Below the diagonal: net uses a module listed above it, which is the healthy direction.
37→16 net uses net.message✕
- Connections
- 6 pairs of types, where a type in net uses a type in net.message.
- The types involved
skunk.net.AbstractMessageSocket→skunk.net.message.BackendMessageskunk.net.BufferedMessageSocket→skunk.net.message.BackendKeyDataskunk.net.MessageSocket→skunk.net.message.BackendMessageskunk.net.MessageSocket→skunk.net.message.FrontendMessageskunk.net.protocol→skunk.net.message.BackendMessageskunk.net.protocol→skunk.net.message.FrontendMessage
- Direction
- net uses net.message, so a change to net.message can break net, while a change to net can't break net.message.
- Position
- Below the diagonal: net uses a module listed above it, which is the healthy direction.
37→20 net uses skunk✕
- Connections
- 9 pairs of types, where a type in net uses a type in skunk.
- The types involved
skunk.net.Protocol→skunk.Commandskunk.net.Protocol→skunk.PreparedCommandskunk.net.Protocol→skunk.PreparedQueryskunk.net.Protocol→skunk.Queryskunk.net.Protocol→skunk.Statementskunk.net.Protocol→skunk.Voidskunk.net.message→skunk.Encoderskunk.net.protocol→skunk.RedactionStrategyskunk.net.protocol→skunk.Statement
- Direction
- net uses skunk, so a change to skunk can break net, while a change to net can't break skunk.
- Position
- Below the diagonal: net uses a module listed above it, which is the healthy direction.
37→32 net uses net.protocol✕
- Connections
- 1 pair of types, where a type in net uses a type in net.protocol.
- The types involved
skunk.net.protocol→skunk.net.protocol.Exchange
- Direction
- net uses net.protocol, so a change to net.protocol can break net, while a change to net can't break net.protocol.
- Position
- Below the diagonal: net uses a module listed above it, which is the healthy direction.
38→34 postgis uses postgis.ewkb.EWKBGeometry✕
- Connections
- 3 pairs of types, where a type in postgis uses a type in postgis.ewkb.EWKBGeometry.
- The types involved
skunk.postgis.MultiLineString→skunk.postgis.ewkb.EWKBGeometry.LineStringskunk.postgis.MultiPoint→skunk.postgis.ewkb.EWKBGeometry.Pointskunk.postgis.MultiPolygon→skunk.postgis.ewkb.EWKBGeometry.Polygon
- Direction
- postgis uses postgis.ewkb.EWKBGeometry, so a change to postgis.ewkb.EWKBGeometry can break postgis, while a change to postgis can't break postgis.ewkb.EWKBGeometry.
- Position
- Below the diagonal: postgis uses a module listed above it, which is the healthy direction.
39→20 postgis.codecs uses skunk✕
- Connections
- 1 pair of types, where a type in postgis.codecs uses a type in skunk.
- The types involved
skunk.postgis.codecs.PostGISGeometryCodecs→skunk.Codec
- Direction
- postgis.codecs uses skunk, so a change to skunk can break postgis.codecs, while a change to postgis.codecs can't break skunk.
- Position
- Below the diagonal: postgis.codecs uses a module listed above it, which is the healthy direction.
39→34 postgis.codecs uses postgis.ewkb.EWKBGeometry✕
- Connections
- 7 pairs of types, where a type in postgis.codecs uses a type in postgis.ewkb.EWKBGeometry.
- The types involved
skunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.ewkb.EWKBGeometry.GeometryCollectionskunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.ewkb.EWKBGeometry.LineStringskunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.ewkb.EWKBGeometry.MultiLineStringskunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.ewkb.EWKBGeometry.MultiPointskunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.ewkb.EWKBGeometry.MultiPolygonskunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.ewkb.EWKBGeometry.Pointskunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.ewkb.EWKBGeometry.Polygon
- Direction
- postgis.codecs uses postgis.ewkb.EWKBGeometry, so a change to postgis.ewkb.EWKBGeometry can break postgis.codecs, while a change to postgis.codecs can't break postgis.ewkb.EWKBGeometry.
- Position
- Below the diagonal: postgis.codecs uses a module listed above it, which is the healthy direction.
39→38 postgis.codecs uses postgis✕
- Connections
- 1 pair of types, where a type in postgis.codecs uses a type in postgis.
- The types involved
skunk.postgis.codecs.PostGISGeometryCodecs→skunk.postgis.Geometry
- Direction
- postgis.codecs uses postgis, so a change to postgis can break postgis.codecs, while a change to postgis.codecs can't break postgis.
- Position
- Below the diagonal: postgis.codecs uses a module listed above it, which is the healthy direction.
40→1 postgis.ewkt uses Decoder✕
- Connections
- 1 pair of types, where a type in postgis.ewkt uses a type in Decoder.
- The types involved
skunk.postgis.ewkt.EWKT→skunk.Decoder.Error
- Direction
- postgis.ewkt uses Decoder, so a change to Decoder can break postgis.ewkt, while a change to postgis.ewkt can't break Decoder.
- Position
- Below the diagonal: postgis.ewkt uses a module listed above it, which is the healthy direction.
40→34 postgis.ewkt uses postgis.ewkb.EWKBGeometry✕
- Connections
- 7 pairs of types, where a type in postgis.ewkt uses a type in postgis.ewkb.EWKBGeometry.
- The types involved
skunk.postgis.ewkt.EWKT→skunk.postgis.ewkb.EWKBGeometry.GeometryCollectionskunk.postgis.ewkt.EWKT→skunk.postgis.ewkb.EWKBGeometry.LineStringskunk.postgis.ewkt.EWKT→skunk.postgis.ewkb.EWKBGeometry.MultiLineStringskunk.postgis.ewkt.EWKT→skunk.postgis.ewkb.EWKBGeometry.MultiPointskunk.postgis.ewkt.EWKT→skunk.postgis.ewkb.EWKBGeometry.MultiPolygonskunk.postgis.ewkt.EWKT→skunk.postgis.ewkb.EWKBGeometry.Pointskunk.postgis.ewkt.EWKT→skunk.postgis.ewkb.EWKBGeometry.Polygon
- Direction
- postgis.ewkt uses postgis.ewkb.EWKBGeometry, so a change to postgis.ewkb.EWKBGeometry can break postgis.ewkt, while a change to postgis.ewkt can't break postgis.ewkb.EWKBGeometry.
- Position
- Below the diagonal: postgis.ewkt uses a module listed above it, which is the healthy direction.
40→38 postgis.ewkt uses postgis✕
- Connections
- 4 pairs of types, where a type in postgis.ewkt uses a type in postgis.
- The types involved
skunk.postgis.ewkt.EWKT→skunk.postgis.Coordinateskunk.postgis.ewkt.EWKT→skunk.postgis.Dimensionskunk.postgis.ewkt.EWKT→skunk.postgis.Geometryskunk.postgis.ewkt.EWKT→skunk.postgis.SRID
- Direction
- postgis.ewkt uses postgis, so a change to postgis can break postgis.ewkt, while a change to postgis.ewkt can't break postgis.
- Position
- Below the diagonal: postgis.ewkt 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 | 27 | High / Critical |
| A02:2025 — Security Misconfiguration | 15 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 6 | Medium |
Roadmap
Begin by documenting significant design decisions in a dedicated folder and expanding the README with a clear project map and architecture overview. Next, integrate static analysis into the CI pipeline to prevent security regressions and adopt structured logging across runnable modules to improve observability. Finally, enforce strict null safety by configuring the compiler or build tools to distinguish nullable types and systematically eliminate null assertions at API boundaries.
| 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. | +6.0 pts | Medium | Architecture documentation |
| Expand the README with getting-started, architecture overview and a project map. | +4.8 pts | Medium | Documentation (README) |
| 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 |
| Adopt SLF4J (with a Logback or Log4j2 JSON encoder) and log at meaningful points in the modules you run. | +2.9 pts | Medium | Observability |
| On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it. | +2.5 pts | Medium | Nullable reference types |
| Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding. | +1.9 pts | Medium | Deployment & Rollback |
| Resolve the 1 Further sole-owners (lower concentration) finding(s) in Bus Factor. | +0.9 pts | Low | Bus Factor |
| Resolve the 1 Off-boarding risk finding(s) in Bus Factor. | +0.9 pts | Low | Bus Factor |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | IaC & Container Security: Critical IaC: REDACTED |
| REDACTED | 3.1 | Slop | IaC & Container Security: High IaC: REDACTED |
| modules/core/shared/src/main/scala/net/BufferedMessageSocket.scala | 6.0 | Mixed | Explicit Debt: TodoComment |
| modules/tests/shared/src/test/scala/ExtendedQueryErrorTest.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| modules/tests/shared/src/test/scala/QuickQueryErrorTest.scala | 6.5 | Mixed | Explicit Debt: TodoComment |
| modules/core/shared/src/main/scala/Session.scala | 6.7 | Mixed | Explicit Debt: TodoComment |
| modules/tests/shared/src/test/scala/SslTest.scala | 7.3 | Mixed | Explicit Debt: TodoComment |
| modules/core/shared/src/main/scala/net/message/StartupMessage.scala | 7.3 | Mixed | Explicit Debt: TodoComment |
| modules/core/shared/src/main/scala/exception/DecodeException.scala | 7.3 | Mixed | Explicit Debt: TodoComment |
| modules/core/shared/src/main/scala/util/Pool.scala | 7.4 | Mixed | Cyclomatic Complexity: Pool.ofF (cyclomatic 20) |
| modules/core/shared/src/main/scala-3/syntax/StringContextOps.scala | 7.4 | Mixed | Cyclomatic Complexity: StringContextOps.sqlImpl (cyclomatic 17) |
| modules/core/shared/src/main/scala/net/protocol/Query.scala | 7.8 | Mixed | Cyclomatic Complexity: Query.apply (cyclomatic 56) |
| modules/core/shared/src/main/scala/net/protocol/BindExecute.scala | 7.8 | Mixed | Cyclomatic Complexity: BindExecute.apply (cyclomatic 49) |
| modules/core/shared/src/main/scala/net/protocol/ParseDescribe.scala | 7.8 | Mixed | Cyclomatic Complexity: ParseDescribe.apply (cyclomatic 47) |
| modules/core/shared/src/main/scala/data/Arr.scala | 7.8 | Mixed | Cyclomatic Complexity: Arr.parseWith (cyclomatic 34) |
| modules/core/shared/src/main/scala/net/protocol/Startup.scala | 7.8 | Mixed | Cyclomatic Complexity: Startup.authenticationSASL (cyclomatic 18) |
| modules/core/shared/src/main/scala/net/protocol/Bind.scala | 7.8 | Mixed | Cognitive Complexity: Bind.apply (cognitive 58) |
| modules/core/shared/src/main/scala-2/syntax/StringContextOps.scala | 7.8 | Mixed | Cognitive Complexity: StringOpsMacros.sql_impl (cognitive 17) |
| REDACTED | 7.9 | Mixed | Supply-chain Provenance & Signing: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 63 of 63 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. 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 — 63 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, 107 of 126 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | — | ◐ 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 READ here — but this repository measures it: a Codecov configuration (codecov.yml) and a coverage step in CI (`sbt coverage skunkJVM/test coverageReport`) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.scala), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number 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, 79 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.
- D21 Naming 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. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- 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: it declares a published package (build.sbt), but 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.
- D24 Comment Value — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- 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.
- D32 Data Compliance (PII/GDPR) — 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. `modules/core/shared/src/main/scala-3/syntax/StringContextOps.scala` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- 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: 48 commits in the last 90 days, yet 35 of 56 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 build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a REDACTED) is simply not read here yet.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — unixsockets Pulling redshift Pulling trust Pulling scram Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden jaeger Error context canceled redshift Error context canceled password Error context canceled trust Error context canceled scram Error context canceled unixsockets Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: trust Pulling redshift Pulling jaeger Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden trust Error Get "https://registry-1.docker.io/v2/": Forbidden redshift Error Get "https://registry-1.docker.io/v2/": Forbidden jaeger Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'skunk' is imported (modules/refined/src/main/scala/skunk/refined/codec/RefTypeCodecs.scala:7), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'skunk' is imported (modules/refined/src/main/scala/skunk/refined/codec/RefTypeCodecs.scala:7), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'skunk' is imported (modules/refined/src/main/scala/skunk/refined/codec/RefTypeCodecs.scala:7), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- 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.
- 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.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
Dimensions
D1 · Cyclomatic Complexity
8 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Query.apply at 56. A further 2 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being CommandComplete.decoder at 79 — they are counted neither in the figure above nor in this dimension's score. 2 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: modules/core/shared/src/main/scala/net/message/CommandComplete.scala (CommandComplete.decoder at 79), modules/core/shared/src/main/scala/net/message/BackendMessage.scala (BackendMessage.decoder at 22). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Bring the 8 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with Query.apply (cyclomatic 56), BindExecute.apply (cyclomatic 49), ParseDescribe.apply (cyclomatic 47). — 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 8 together lifts Cyclomatic Complexity from 8.0 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
10 method(s) exceeded the cognitive complexity threshold of 15; the worst was BindExecute.apply at 142.
What to do
- Bring the 10 bodies over 15 down to 15 or less in Cognitive Complexity — start with BindExecute.apply (cognitive 142), ParseDescribe.apply (cognitive 96), Startup.authenticationSASL (cognitive 89). — 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 10 together lifts Cognitive Complexity from 6.8 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
1 god class(es) detected.
What to do
- Resolve the 1 TooManyMethods finding(s) in God Classes — start with Session.scala. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
5 duplicated block group(s) detected.
What to do
- Resolve the 2 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with StringContextOps.scala (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (18 lines × 2) finding(s) in Code Duplication — start with Pool.scala. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with Bind.scala. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
6 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; 1 module(s) off the main sequence, with abstractness counted on 4 of the 6 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 5 classes have LCOM4 above 3.
D9 · Test Distribution
117 test methods: 112 unit, 5 integration, 0 BDD, 0 e2e. The Scala suite contributes 117 test case(s) across 20 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
3 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 3 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) (build.sbt 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. 3 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
Top hotspots: modules/core/shared/src/main/scala/net/protocol/BindExecute.scala (4×49=196); modules/core/shared/src/main/scala/net/message/CommandComplete.scala (2×79=158); modules/core/shared/src/main/scala/util/Pool.scala (2×20=40)
What to do
- Resolve the 3 Hotspot finding(s) in Churn × Complexity Hotspots — start with BindExecute.scala, CommandComplete.scala, Pool.scala. — One of this dimension's main actionable groups (3 warning-level).
D16 · Bus Factor
4 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is modules/core/shared/src/main/scala/PreparedQuery.scala. Counted over 56 of the 185 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
31 deducted task-comment markers across 13357 LoC (0.2/KLoC) → score 9.6. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 30 TodoComment finding(s) in Explicit Debt — start with ExtendedQueryErrorTest.scala (5), QuickQueryErrorTest.scala (5), SslTest.scala (2). — One of this dimension's main actionable groups (30 warning-level).
- Resolve the 1 HackComment finding(s) in Explicit Debt — start with StartupMessage.scala. — One of this dimension's main actionable groups (1 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.
D26 · Project Cohesion
1 of 1 build units (sbt) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
27 finding(s): 0 critical, 27 high, 0 medium, 0 low. 25 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. semgrep hit a parse error in 1 file(s) — `modules/core/shared/src/main/scala-3/syntax/StringContextOps.scala` — so no absence of findings in them is evidence of anything, and nothing in them was analysed. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 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).
- 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 25 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 (25 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D31 · IaC & Container Security
15 finding(s): 1 critical, 2 high, 7 medium, 5 low.
What to do
- Resolve the 2 High IaC finding(s) in IaC & Container Security — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Critical IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 7 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (6), REDACTED. — One of this dimension's main actionable groups (7 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
- `Protocol[F]` declares 16 abstract members under just 13 distinct name(s): `notifications`, `parameters`, `prepare`, `prepare`, `prepareR`, `prepareR`, `execute`, `execute`, `executeDiscard`, `startup`, `cleanup`, `isHealthy`, `transactionStatus`, `describeCache`, `parseCache`, `closeEvictedPreparedStatements`. Counted over its ABSTRACT members — a `def` with no body or a `val`/`var` with no initializer, once per signature; concrete members, private and protected members, and members of a companion `object` are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 16 separate responsibilities: a caller binds to 13 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller's side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER's — all 16 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface. — modules/core/shared/src/main/scala/net/Protocol.scala:29
What to do
- Collapse overload sets (optional/default parameters, or an options object) — these interfaces are wide in SIGNATURES, not in responsibilities, so segregating them would relieve no caller.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
- The root README is 48 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.
- 34 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
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.
- Review the README against recent changes; refresh the parts that drifted.
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
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- No logging call was found in the 183 JVM production file(s) this check read across 1 module(s). Each was searched for its ecosystem's logging libraries (JVM: SLF4J, Log4j2, java.util.logging, Logback, kotlin-logging, scala-logging) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
What to do
- Adopt SLF4J (with a Logback or Log4j2 JSON encoder) and log at meaningful points in the modules you run.
- Add a health-check endpoint (Spring Boot Actuator's /actuator/health, or a /health route) so orchestrators and load balancers can probe liveness/readiness.
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 14989 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.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 · Release Hygiene
PF1 · Benchmark discipline
- A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement — allocations (the main way hot code pressures a garbage collector or allocator) aren't being measured. — modules/bench/src/main/scala/skunk/bench/SelectBench.scala
What to do
- Run JMH with the GC profiler (`-prof gc`, or addProfiler(GCProfiler.class)) so allocation rate regressions are visible, not just time.
PF2 · Allocation hygiene
What to do
- Raise allocation-aware density on the hot paths — currently 2 use(s) across 15,188 production line(s) (~0.1/1k). More of the idioms below on the allocation-heavy paths climbs this toward 10.
- Scala: on hot paths, make small wrappers value classes (extends AnyVal), @specialized generic code over primitives, use primitive collections, and presize builders.
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ (`MessageDigest.getInstance("SHA-256")`) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as xxhash or murmurhash says it in code — since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call. — modules/core/jvm/src/main/scala/net/message/PasswordMessagePlatform.scala:16
What to do
- Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (xxhash, murmurhash) where it only derives an identifier such as a cache key.
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
- `case NonFatal(_)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — modules/core/shared/src/main/scala/telemetry/Telemetry.scala:222
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- No build over this repository's 181 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 | 61% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 87% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 48% | Weak — gated by M1, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 52% | Adequate — gated by P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 79% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 77% | Strong | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: this repository stores data through 'skunk' (modules/refined/src/main/scala/skunk/refined/codec/RefTypeCodecs.scala:7) but declares no persisted model this check reads (Slick table columns, CREATE TABLE and ALTER TABLE … ADD columns in SQL migrations). Personal data may be written through raw SQL or a hosted backend, so whether its changes need an audit trail could not be established, and the trail's absence is not scored.
- C4 Data Retention — Not assessed: this repository stores data through 'skunk' (modules/refined/src/main/scala/skunk/refined/codec/RefTypeCodecs.scala:7) but declares no persisted model this check reads (Slick table columns, CREATE TABLE and ALTER TABLE … ADD columns in SQL migrations). Personal data may be written through raw SQL or a hosted backend, so whether a retention limit applies here could not be established, and its absence is not scored.
- C5 Data-Subject Rights — Not assessed: this repository stores data through 'skunk' (modules/refined/src/main/scala/skunk/refined/codec/RefTypeCodecs.scala:7) but declares no persisted model this check reads (Slick table columns, CREATE TABLE and ALTER TABLE … ADD columns in SQL migrations). Personal data may be written through raw SQL or a hosted backend, so whether data-subject rights apply here could not be established, and their absence is not scored.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 52 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.
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — unixsockets Pulling redshift Pulling trust Pulling scram Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden jaeger Error context canceled redshift Error context canceled password Error context canceled trust Error context canceled scram Error context canceled unixsockets Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: trust Pulling redshift Pulling jaeger Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden trust Error Get "https://registry-1.docker.io/v2/": Forbidden redshift Error Get "https://registry-1.docker.io/v2/": Forbidden jaeger Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~6049 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 — No runnable or published unit to look for an example in, and no multi-project root README to look for a map in; the other documentation kinds are withheld (see the gaps), so documentation quality is not applicable here.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D21 Naming Consistency — Naming consistency is measured on C# only; Scala not measured.
- 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, nor 2+ projects each declaring an entity of their own. 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 — D24 reads C# and Visual Basic comments only — this repository's production source is .scala, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- 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.
- D32 Data Compliance (PII/GDPR) — 1 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- 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
- 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 (2 signals for this style, 2 needed — the count is met but a required primary signal is absent): 400 value object(s); 3 domain event(s); its domain events are published by services or handlers — no domain entity raises one
- 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 — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM 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
- X2 Cancellation propagation — no C# was loaded; this repository's Scala was read, and no request in it can be cancelled by a caller — a Scala request takes no token: a Future cannot be cancelled, and cats-effect, ZIO and Monix interrupt the fiber that made the request from outside the call, not through a parameter
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Scala was read, and it logs through none that an interpolated message defeats: scala-logging takes an `s"…"` message apart into SLF4J's pattern and arguments at compile time, and log4s, grizzled-slf4j, Play's Logger, Akka's LoggingAdapter, sbt's Logger and Spark's Logging take one finished message (as log4net does in C#). Calls made straight through SLF4J (`org.slf4j.Logger`) would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 30 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
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 74 finding(s)
- TodoComment modules/tests/shared/src/test/scala/ExtendedQueryErrorTest.scala:62
- TodoComment modules/tests/shared/src/test/scala/QuickQueryErrorTest.scala:59
- TodoComment modules/tests/shared/src/test/scala/ExtendedQueryErrorTest.scala:71
- TodoComment modules/tests/shared/src/test/scala/ExtendedQueryErrorTest.scala:80
- TodoComment modules/tests/shared/src/test/scala/QuickQueryErrorTest.scala:68
- TodoComment modules/tests/shared/src/test/scala/QuickQueryErrorTest.scala:77
- TodoComment modules/tests/shared/src/test/scala/ExtendedQueryErrorTest.scala:90
- TodoComment modules/tests/shared/src/test/scala/ExtendedQueryErrorTest.scala:100
- TodoComment modules/tests/shared/src/test/scala/QuickQueryErrorTest.scala:87
- TodoComment modules/tests/shared/src/test/scala/QuickQueryErrorTest.scala:97
- TodoComment modules/tests/shared/src/test/scala/SslTest.scala:44
- TodoComment modules/tests/shared/src/test/scala/SslTest.scala:53
- TodoComment modules/tests/shared/src/test/scala/StartupTest.scala:87
- TodoComment modules/core/shared/src/main/scala/Channel.scala:144
- TodoComment modules/core/shared/src/main/scala/Encoder.scala:89
- TodoComment modules/core/shared/src/main/scala/Session.scala:953
- TodoComment modules/core/shared/src/main/scala/net/BufferedMessageSocket.scala:84
- TodoComment modules/core/shared/src/main/scala/net/BufferedMessageSocket.scala:125
- TodoComment modules/core/shared/src/main/scala/net/Protocol.scala:238
- TodoComment modules/core/shared/src/main/scala/net/message/CommandComplete.scala:47
- TodoComment modules/core/shared/src/main/scala/net/message/CopyData.scala:17
- TodoComment modules/core/shared/src/main/scala/net/message/CopyInResponse.scala:17
- TodoComment modules/core/shared/src/main/scala/net/message/CopyOutResponse.scala:17
- TodoComment modules/core/shared/src/main/scala/net/message/StartupMessage.scala:11
- TodoComment modules/core/shared/src/main/scala/exception/DecodeException.scala:16
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Hotspot: modules/core/shared/src/main/scala/net/protocol/BindExecute.scala modules/core/shared/src/main/scala/net/protocol/BindExecute.scala:50
- Hotspot: modules/core/shared/src/main/scala/net/message/CommandComplete.scala modules/core/shared/src/main/scala/net/message/CommandComplete.scala:48
- Hotspot: modules/core/shared/src/main/scala/util/Pool.scala modules/core/shared/src/main/scala/util/Pool.scala:77
- REDACTED
- REDACTED
- Duplicated block (9 lines × 2) modules/core/shared/src/main/scala-3/syntax/StringContextOps.scala:152
- Duplicated block (9 lines × 2) modules/core/shared/src/main/scala-2/syntax/StringContextOps.scala:55
- Query.apply (cyclomatic 56) modules/core/shared/src/main/scala/net/protocol/Query.scala:26
- BindExecute.apply (cyclomatic 49) modules/core/shared/src/main/scala/net/protocol/BindExecute.scala:50
- ParseDescribe.apply (cyclomatic 47) modules/core/shared/src/main/scala/net/protocol/ParseDescribe.scala:28
- Arr.parseWith (cyclomatic 34) modules/core/shared/src/main/scala/data/Arr.scala:232
- Pool.ofF (cyclomatic 20) modules/core/shared/src/main/scala/util/Pool.scala:77
- Transaction.fromSession (cyclomatic 19) modules/core/shared/src/main/scala/Transaction.scala:89
- Startup.authenticationSASL (cyclomatic 18) modules/core/shared/src/main/scala/net/protocol/Startup.scala:90
- StringContextOps.sqlImpl (cyclomatic 17) modules/core/shared/src/main/scala-3/syntax/StringContextOps.scala:52
- HackComment modules/core/shared/src/main/scala/net/message/StartupMessage.scala:22
- BindExecute.apply (cognitive 142) modules/core/shared/src/main/scala/net/protocol/BindExecute.scala:50
- ParseDescribe.apply (cognitive 96) modules/core/shared/src/main/scala/net/protocol/ParseDescribe.scala:28
- Startup.authenticationSASL (cognitive 89) modules/core/shared/src/main/scala/net/protocol/Startup.scala:90
- Query.apply (cognitive 85) modules/core/shared/src/main/scala/net/protocol/Query.scala:26
- Arr.parseWith (cognitive 72) modules/core/shared/src/main/scala/data/Arr.scala:232
- BufferedMessageSocket.fromMessageSocket (cognitive 65) modules/core/shared/src/main/scala/net/BufferedMessageSocket.scala:144
- Bind.apply (cognitive 58) modules/core/shared/src/main/scala/net/protocol/Bind.scala:31
- Pool.ofF (cognitive 20) modules/core/shared/src/main/scala/util/Pool.scala:77
- StringContextOps.sqlImpl (cognitive 19) modules/core/shared/src/main/scala-3/syntax/StringContextOps.scala:52
- StringOpsMacros.sql_impl (cognitive 17) modules/core/shared/src/main/scala-2/syntax/StringContextOps.scala:68
- TooManyMethods: Builder modules/core/shared/src/main/scala/Session.scala:492
- REDACTED
- REDACTED
- Duplicated block (18 lines × 2) modules/core/shared/src/main/scala/util/Pool.scala:122
- Duplicated block (11 lines × 2) modules/core/shared/src/main/scala/net/protocol/Bind.scala:59
- Duplicated block (8 lines × 2) modules/core/shared/src/main/scala/exception/ProtocolError.scala:23
- Off the main sequence: core
- README may be stale
- No structured logging
- Weak hash algorithm modules/core/jvm/src/main/scala/net/message/PasswordMessagePlatform.scala:16
- Swallowed exception (caught, then discarded) modules/core/shared/src/main/scala/telemetry/Telemetry.scala:222
Minor — 19 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Fat interface: Protocol[F] (16 abstract members) modules/core/shared/src/main/scala/net/Protocol.scala:29
- Off-boarding risk: anonymized user #1
- Further sole-owners (lower concentration)
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- Thin README
- No ADRs
- No architecture diagram/doc
- No SAST
- No rollback/health safety
- Benchmarks don't track allocations modules/bench/src/main/scala/skunk/bench/SelectBench.scala
- Duplicated predicate modules/core/shared/src/main/scala/net/protocol/ParseDescribe.scala:158
- Scala's null is not held to the type system everywhere
Minor — 3 finding(s)
- Outdated: io.opentelemetry:opentelemetry-exporter-otlp
- Outdated: io.opentelemetry:opentelemetry-sdk-extension-autoconfigure
- Outdated: org.postgresql:postgresql
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-87165d6937584902b7d57da6850e67dc/history.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-87165d6937584902b7d57da6850e67dc/tree.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt --exclude world . | 27 | 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-cb323f67217749c4a79683b77ae63e5a | 0 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 15 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 1 file(s) — `modules/core/shared/src/main/scala-3/syntax/StringContextOps.scala` — so the PII/GDPR sweep did not cover them at all. | 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-cb323f67217749c4a79683b77ae63e5a | 0 | artifacts/raw/osv-scanner.json |