{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"H2DbType.buildRepoDefaults (cognitive 20): H2DbType.buildRepoDefaults has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, loops 3 (4 pts), match/switch 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"537cd5fc2c094db8bb3a28468b1daa6d739a95ec5d8e19ac1845d25aba1d828e"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDbType.buildRepoDefaults (cognitive 20): PostgresDbType.buildRepoDefaults has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, loops 3 (4 pts), match/switch 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a72d1f5706068968f58beba731ee4e123263b638e2cf4cb307933531e3ae03b"}},{"ruleId":"D2","level":"warning","message":{"text":"MsSqlDbType.buildRepoDefaults (cognitive 16): MsSqlDbType.buildRepoDefaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 3, loops 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a4ba0dac2c9899f4879fda89b37d85107cf01e121950d16a2927b86bd11825"}},{"ruleId":"D2","level":"warning","message":{"text":"MySqlDbType.buildRepoDefaults (cognitive 16): MySqlDbType.buildRepoDefaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 3, loops 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a03bba518567322342dda3a3533633c673c8feeb26eb16a6f5a44c91c626ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"OracleDbType.buildRepoDefaults (cognitive 16): OracleDbType.buildRepoDefaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 3, loops 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"59920c55e673e66cdbcbf476a1ca1bb9330c205a10a83e04e69b1f3ab9c44fd6"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDbType.buildRepoDefaults (cognitive 16): SqliteDbType.buildRepoDefaults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 3, loops 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4b66c814c378ea3342cd0f52c6877d2a20b5a8dbad07bbc00445de4e8685bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: magnum/DbCodec.scala: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 195 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/DbCodec.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49acb7a366950f9aefdc0c7a70a68537cc8818ad0844bcc62d56a44518e64a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 87 shared lines): magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:30-184 | magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:31-284 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:63-254 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:55-245 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:42-241 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:31-286 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:41-233 \u2014 These 7 members are variants of one another: a block of 87 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de0f76802c3ee8ee1976d2cf457a18dcdcacc8c76cdc784ed1126d65904dd24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:67-132 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:67-132 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 245 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"054cd96d8e765ae0ffaa7aafca75919ea198a0dab9aa1ee5a142e13c7811b977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 7): magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:66-104 | magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:136-174 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:116-154 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:110-148 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:99-137 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:134-172 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:98-136 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:108\u0060 calls \u0060valueOf\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:64\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b1fce96757512807fa6ed96794532a4f6c92bdc04311cacd1a28233ec5b4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 6): magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:31-64 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:63-96 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:55-88 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:42-75 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:31-64 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:41-74 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:77\u0060 calls \u0060from\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:66\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d4ef54084409550091593cd3600938eef68aa25cf00ab1cf67bcf5cd8040c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 7): magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:124-153 | magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:208-237 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:188-218 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:182-212 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:171-201 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:206-235 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:170-202 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"293450a0ca624361a9b90da6904cdb89da062abba8365d26e188cabd93538752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala:198-221 | magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala:229-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala:198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3c098165b94aeae2413b9d8457fe7d1d9162f8e231be09db18fe3dee692129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 6): magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:262-284 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:232-254 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:223-245 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:219-241 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:264-286 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:211-233 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 164 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b8a87927dc1d8261140db5c105ca3fd2f1d9462c48b77b76398c49defc3ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala:263-282 | magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala:290-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala:263\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum-pg/src/main/scala/com/augustnagro/magnum/pg/PgCodec.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2381ad4e880c05146c9c51dcc21a9fb271beae88e38fb6f3448347dfdbc22dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 5): magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:42-56 | magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:56-72 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:88-104 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:80-96 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:56-72 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89649f652db6889deef81c227e1b280832116376f8c4186e42c73af19bc2ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:242-254 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:241-255 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 245 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3671bb61ab7865288b46e0e2ffc96149cfac8e5ce5a95240dd757166a4a61a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:51-64 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:99-112 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:91-104 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:80-93 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:79-92 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 121 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:108\u0060 calls \u0060valueOf\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:66\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"91960f6e0b08257e3d84817d318308f036c714619bd709850cb4ebc943a3d589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): magnum-cats-effect/src/main/scala/com/augustnagro/magnum/magcats/TransactorCats.scala:39-50 | magnum-zio/src/main/scala/com/augustnagro/magnum/magzio/TransactorZIO.scala:46-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060magnum-cats-effect/src/main/scala/com/augustnagro/magnum/magcats/TransactorCats.scala:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060connectionConfig\u0060 to \u0060Connection =\u003E Unit )(using F: Sync[F]\u0060 in one and \u0060Connection =\u003E Unit\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum-cats-effect/src/main/scala/com/augustnagro/magnum/magcats/TransactorCats.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4413ff22cc4802a454dc551aa2d90ddc75366c15ecdca40fed1f65e1cbc8e3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:106-115 | magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:190-199 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:170-179 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:164-173 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:153-162 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:188-197 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:152-161 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"877d03eaca1eacc12e433905dafd90d8704195148c343bee1c3c0caa5379e3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:50-57 | magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:66-73 | magnum/src/main/scala/com/augustnagro/magnum/MsSqlDbType.scala:98-105 | magnum/src/main/scala/com/augustnagro/magnum/MySqlDbType.scala:90-97 | magnum/src/main/scala/com/augustnagro/magnum/OracleDbType.scala:79-86 | magnum/src/main/scala/com/augustnagro/magnum/PostgresDbType.scala:66-73 | magnum/src/main/scala/com/augustnagro/magnum/SqliteDbType.scala:78-85 \u2014 before extracting anything, compare \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060magnum/src/main/scala/com/augustnagro/magnum/H2DbType.scala:76\u0060 calls \u0060Seq\u0060 and \u0060magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala:58\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/ClickhouseDbType.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dc4074d2daa3f325f9ca95808834a0db60a6bd1b5aa48e87b9d7efdfcf2b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): magnum-pg/src/main/scala/com/augustnagro/magnum/pg/json/JsonBDbCodec.scala:14-30 | magnum-pg/src/main/scala/com/augustnagro/magnum/pg/json/JsonDbCodec.scala:14-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum-pg/src/main/scala/com/augustnagro/magnum/pg/json/JsonBDbCodec.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"71be57646fd3d32532ebbfff31eb93f739e9f923ade68522c67c6a3ad8977fcb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: magnum: magnum: abstractness 0.14, instability 0.00, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faa41b1bdbfd6e554ad4367711ae9bf634095fb3c5499424f503f440374d529d"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"067c90ee54ee1298e098d4c4b71cab92e3330433ee5f8c83e36fe46d34b99f80"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d181671fee95a19838ef7a4260d8e7c9c601051da809c9037b1a487d1404c66"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ece6fb8c1250b91116d39d591455c6a6cb3d348a2231c54206ee82f005ad3ab2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75b1b95caca8ca3a7f6975bfb2387f6cffcbf74f932a501cc4e80d4b70dfa9c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RepoDefaults[EC, E, ID] (18 abstract members): \u0060RepoDefaults[EC, E, ID]\u0060 declares 18 abstract members: \u0060table\u0060, \u0060count\u0060, \u0060existsById\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findById\u0060, \u0060findAllById\u0060, \u0060delete\u0060, \u0060deleteById\u0060, \u0060truncate\u0060, \u0060deleteAll\u0060, \u0060deleteAllById\u0060, \u0060insert\u0060, \u0060insertAll\u0060, \u0060insertReturning\u0060, \u0060insertAllReturning\u0060, \u0060update\u0060, \u0060updateAll\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. Those 18 declarations carry 17 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 17 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magnum/src/main/scala/com/augustnagro/magnum/RepoDefaults.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5813fdfad99d3503e320eab122d06974c3b23d95acbdf984101cf497391d2308"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 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 \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises Docker containerisation, but no Dockerfile/compose file exists \u2014 searched for: \u0060dockerfile\u0060, \u0060docker-compose\u0060, \u0060compose.yaml\u0060, \u0060compose.yml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (package.json and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md links to \u0060using\u0060, but \u0060using\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 680 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\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 56 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":7,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}