{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"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":"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"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":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"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":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"reckon_db_gateway_worker.handle_call (cyclomatic 73): reckon_db_gateway_worker.handle_call has cyclomatic complexity 73 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_gateway_worker.erl"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefeed4b42b595e83fbaa1886f69219ba08495d7b5591b3b6bd186d238f5cd8f"}},{"ruleId":"D1","level":"warning","message":{"text":"reckon_db_store_registry.handle_call (cyclomatic 17): reckon_db_store_registry.handle_call has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_store_registry.erl"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"24580dae8a64281b5955501b9969090caff47b7ac97aa29220d89e1977392d21"}},{"ruleId":"D2","level":"warning","message":{"text":"reckon_db_aggregate_nif::nif_sum_field (cognitive 28): reckon_db_aggregate_nif::nif_sum_field has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (17 pts), match/switch 1 (6 pts), loops 2 (5 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_aggregate_nif/src/lib.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fcad9f4953df41367f74f639a5b86423f7b564000c5bdd35f85895727debde"}},{"ruleId":"D2","level":"warning","message":{"text":"reckon_db_aggregate_nif::nif_aggregation_stats (cognitive 17): reckon_db_aggregate_nif::nif_aggregation_stats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_aggregate_nif/src/lib.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbddac50d15d85e2e35803094a97c789c955a2f2b6f3d67a0bd9a9c7f82e417"}},{"ruleId":"D2","level":"warning","message":{"text":"reckon_db_aggregate_nif::state_to_term (cognitive 16): reckon_db_aggregate_nif::state_to_term has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_aggregate_nif/src/lib.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b9aa16f3d258993eadcc00f6bd0efdcde06507d410d8efa8592b34d47a7cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"reckon_db_aggregate_nif::nif_count_where (cognitive 16): reckon_db_aggregate_nif::nif_count_where has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_aggregate_nif/src/lib.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f4df5d7b734f117a11fee36f75c66a8cdc9a8bde776dae86ec5275eef4f1cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_consistency_checker: TooManyFunctions \u2014 49 functions. The bar is 30 functions; this is 19 over it, 1.63\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_consistency_checker.erl"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3c875d22916da845494816f3740943f637e8e56c88ec07d9a58fb7be153bff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/reckon_db_streams.erl: FileTooLong \u2014 773 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 273 over it, 1.55\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_streams.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df34784404f38e7f035c7c6f580e6e6a86a8420db93508ef9ab1ee9b807ead5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_filter_nif: TooManyFunctions \u2014 45 functions. The bar is 30 functions; this is 15 over it, 1.50\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_filter_nif.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51f336e519a6e45817523d1e2693bab4098ad4318b9fd3847635d2bb9bfc50b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_archive_nif: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b93b4dadb9550797f46c4f5b0628d14f3d21792dbcc93cee21891f0d77b176"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_health_prober: TooManyFunctions \u2014 40 functions. The bar is 30 functions; this is 10 over it, 1.33\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_health_prober.erl"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f748bd53722840ed401e1e70bbb66a88dd4e8eb6dbd754a5dd1c54234565e28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_store_healer: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_store_healer.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"243c83a3842b801074f8c4e50922bf9513c04ca4de9bd610b5cfe4ffcbd01d42"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_dcb: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_dcb.erl"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6ec183e9c3ede32e8fcc870f9a3f7176f4ee55d8711573aa6e14d9e7dce2a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_resource_monitor: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_resource_monitor.erl"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2d2e7944fb324e7ae684f98bb48ba7469cda7b63b88910c8e91a5c5b7f1355"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_aggregate_nif: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4753c75faf208dc7802fba48f53aa59b4dac5fd159fc65c41761e6fb4ab4746"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: reckon_db_store_coordinator: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_store_coordinator.erl"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a345d24e9618e5352002c24c9e94f046931359d20888dbdb0bdfd15c11ec432d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/reckon_db_subscriptions.erl: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_subscriptions.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adace3576e2d3711a4f40ea337c07f52fba665d6133fa9b72132596c7d3b713c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/reckon_db_aggregate_nif.erl:108-119 | src/reckon_db_archive_nif.erl:121-132 | src/reckon_db_crypto_nif.erl:98-111 | src/reckon_db_filter_nif.erl:127-138 | src/reckon_db_hash_nif.erl:110-123 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ff0002bef1b38e387a363b9e6774e2faa6de01d66582af245ab2834c272b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): native/reckon_db_archive_nif/src/lib.rs:55-72 | native/reckon_db_archive_nif/src/lib.rs:102-119 | native/reckon_db_archive_nif/src/lib.rs:153-173 | native/reckon_db_archive_nif/src/lib.rs:238-302 | native/reckon_db_crypto_nif/src/lib.rs:151-171 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3780e99e73ae2f5502d5c7fc71f806240e7abe784faf25667b2d4e715fe3983f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): native/reckon_db_filter_nif/src/lib.rs:42-64 | native/reckon_db_filter_nif/src/lib.rs:75-103 | native/reckon_db_filter_nif/src/lib.rs:139-176 | native/reckon_db_filter_nif/src/lib.rs:319-360 | native/reckon_db_filter_nif/src/lib.rs:371-407 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_filter_nif/src/lib.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbae0fe86ba2335cb7035d2d62bdf37bde2c3cd957a4789ab4cc5e9f4b605845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/reckon_db_streams_reader.erl:160-178 | src/reckon_db_streams_writer.erl:148-166 \u2014 before extracting anything, compare \u0060src/reckon_db_streams_reader.erl\u0060 and \u0060src/reckon_db_streams_writer.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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":"src/reckon_db_streams_reader.erl"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a10dbc0dfc7dbcb4ce6ef4ec877a6bbe13d107d97e67cef26a23f02d4d9837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 5): src/reckon_db_aggregate_nif.erl:108-119 | src/reckon_db_archive_nif.erl:121-132 | src/reckon_db_crypto_nif.erl:98-111 | src/reckon_db_filter_nif.erl:127-138 | src/reckon_db_hash_nif.erl:110-123 \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 all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c3a82a1494e790ea2c7c0cfc64272ff3a4d6e3473f4f1d83fb38e824827389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/reckon_db_archive_nif.erl:469-477 | src/reckon_db_archive_nif.erl:501-510 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a224e61d9bc446a70746ba7332b51694791383ff768f1cf1e2d7a7ff77eee39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/reckon_db_scavenge.erl:116-124 | src/reckon_db_scavenge.erl:173-181 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_scavenge.erl"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"187f8124ef0b4397e283c5f7764f920301cb33995e39b4dea0b432a7db09e9ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/reckon_db_streams.erl:1026-1033 | src/reckon_db_streams.erl:1288-1295 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_streams.erl"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbe9cf13e2bd28931ea9af26675e39a31159786ffa966aa38e0dcee85cff156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/reckon_db_aggregate_nif.erl:352-356 | src/reckon_db_aggregator.erl:125-130 \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":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83f41a51190b95dd048adee09281049fa6483a63aeccf95f19a138e55a639f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/reckon_db_aggregate_nif.erl:122-129 | src/reckon_db_archive_nif.erl:135-142 | src/reckon_db_crypto_nif.erl:114-121 | src/reckon_db_filter_nif.erl:141-148 | src/reckon_db_hash_nif.erl:126-133 \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 all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e2886f8ce2f2024d9267248bcf274bee5e3353b3bd405ba74f6d1a6d99ebf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/reckon_db_aggregate_nif.erl:360-365 | src/reckon_db_aggregator.erl:134-139 \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":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdcc6ce8a0a3688038bb72fafdabb726fef5e7793186fe9077bd056623630b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/reckon_db_cluster.erl:83-89 | src/reckon_db_store_healer.erl:491-497 \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":"src/reckon_db_cluster.erl"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe36c58a5b47321b5db479510a2578a003d889fb88538bd92885210db3964ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/reckon_db_scavenge.erl:277-281 | src/reckon_db_streams.erl:1098-1102 \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":"src/reckon_db_scavenge.erl"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"36979939d345df1b7054bdb81c5acaefe37f7d62257099db173705a98552bcec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): src/reckon_db_cluster_sup.erl:61-69 | src/reckon_db_cluster_sup.erl:73-81 | src/reckon_db_cluster_sup.erl:85-93 | src/reckon_db_core_sup.erl:88-96 | src/reckon_db_leader_sup.erl:61-69 | src/reckon_db_leader_sup.erl:73-81 | src/reckon_db_notification_sup.erl:88-96 | src/reckon_db_persistence_sup.erl:90-99 | src/reckon_db_system_sup.erl:110-118 \u2014 there are 9 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_cluster_sup.erl"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6127ec555c8ba7a1610f2dacc38dbefe7513a2f2bd30779d55b742dfd77b8778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): src/reckon_db_core_sup.erl:64-72 | src/reckon_db_core_sup.erl:76-84 | src/reckon_db_notification_sup.erl:64-72 | src/reckon_db_notification_sup.erl:76-84 | src/reckon_db_persistence_sup.erl:78-86 | src/reckon_db_system_sup.erl:83-91 | src/reckon_db_system_sup.erl:95-103 | src/reckon_db_system_sup.erl:122-130 \u2014 there are 8 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_core_sup.erl"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d8136326202a6c6d09bf3fba2b8f55f0932f9789b9cacb9b6764bd0d3458fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/reckon_db_snapshots_store.erl:151-156 | src/reckon_db_subscriptions_store.erl:182-187 \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":"src/reckon_db_snapshots_store.erl"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ccaa14019baef8180c84ccb09435b6373152d10c16d984247470744b9bf122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/reckon_db_streams_reader.erl:62-70 | src/reckon_db_streams_writer.erl:55-63 \u2014 before extracting anything, compare \u0060src/reckon_db_streams_reader.erl\u0060 and \u0060src/reckon_db_streams_writer.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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":"src/reckon_db_streams_reader.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"038e3fdb161df26974297d39ed46f7b0c0fddb7b321c8799e4bec146ed1226b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/reckon_db_streams_reader.erl:122-135 | src/reckon_db_streams_writer.erl:110-123 \u2014 before extracting anything, compare \u0060src/reckon_db_streams_reader.erl\u0060 and \u0060src/reckon_db_streams_writer.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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":"src/reckon_db_streams_reader.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1f7dc9a6b397afcf2de808feff1380b684d65fbbbd821f54b79f53e5e312ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/reckon_db_streams_reader.erl:87-99 | src/reckon_db_streams_writer.erl:80-92 \u2014 before extracting anything, compare \u0060src/reckon_db_streams_reader.erl\u0060 and \u0060src/reckon_db_streams_writer.erl\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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":"src/reckon_db_streams_reader.erl"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b4ea6827d1fe9ab611ee7820916b6a5623c056fd02c367ff203b4636f470fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/reckon_db_telemetry.erl:106-111 | src/reckon_db_telemetry.erl:126-131 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_telemetry.erl"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4039c3b35b5ae5c73748aa9adf7a35ef80a47fbd26c84c44afacfe4860fd7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/reckon_db_consistency_checker.erl:235-239 | src/reckon_db_memory.erl:201-205 \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":"src/reckon_db_consistency_checker.erl"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1215d1fd1a2584069ed3834d80bbd418fb309e3fe150cb223ec3ab4f0a92513c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 5): native/reckon_db_filter_nif/src/lib.rs:46-62 | native/reckon_db_filter_nif/src/lib.rs:82-96 | native/reckon_db_filter_nif/src/lib.rs:144-158 | native/reckon_db_filter_nif/src/lib.rs:324-338 | native/reckon_db_filter_nif/src/lib.rs:376-390 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_filter_nif/src/lib.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8700fd6f95c5c82ad6c85e3ebf8c877d0d77c1caa95dc1837caa2357bfa4ea2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 7): native/reckon_db_archive_nif/src/lib.rs:58-72 | native/reckon_db_archive_nif/src/lib.rs:105-119 | native/reckon_db_archive_nif/src/lib.rs:159-173 | native/reckon_db_archive_nif/src/lib.rs:243-256 | native/reckon_db_archive_nif/src/lib.rs:261-274 | native/reckon_db_archive_nif/src/lib.rs:282-295 | native/reckon_db_crypto_nif/src/lib.rs:156-171 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b3abc86220637477a2c4d3bd7a2175ca3182650b49d7f448a7e892d9bbca29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): native/reckon_db_filter_nif/src/lib.rs:161-176 | native/reckon_db_filter_nif/src/lib.rs:196-211 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_filter_nif/src/lib.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b08e200f24caf2219fb8ad3df14deb14856525822214d5f4eecf008e9f1951a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): native/reckon_db_archive_nif/src/lib.rs:134-144 | native/reckon_db_archive_nif/src/lib.rs:211-219 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ec7b5b188fc22ff1810b9804c766259040b7250add111ab88133a6a84b5247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): native/reckon_db_archive_nif/src/lib.rs:88-96 | native/reckon_db_archive_nif/src/lib.rs:139-147 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e3771ed891ad7e5b74dbaa565b434d49740e1b24a6cd4df0f269fab0a58403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): native/reckon_db_aggregate_nif/src/lib.rs:218-224 | native/reckon_db_aggregate_nif/src/lib.rs:256-262 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_aggregate_nif/src/lib.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c43445741639b22700ce92460c7103cfbba51b91e94b3723158f98cbcf296c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): native/reckon_db_archive_nif/src/lib.rs:87-93 | native/reckon_db_archive_nif/src/lib.rs:201-206 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2a4494ba5aa0557e3835b0c9e9258c3a234abbff68ef098c8a847c0e05caf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): native/reckon_db_crypto_nif/src/lib.rs:113-119 | native/reckon_db_crypto_nif/src/lib.rs:134-140 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_crypto_nif/src/lib.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"47927ebcda0b056a35d7037290ab4165c512fb00e5943307b44d67b645574dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): native/reckon_db_aggregate_nif/src/lib.rs:187-191 | native/reckon_db_aggregate_nif/src/lib.rs:294-298 | native/reckon_db_aggregate_nif/src/lib.rs:323-327 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_aggregate_nif/src/lib.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b447305026b928f70f27c58fb314f7ee5389a23998227dc189a30a5f41f347ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): native/reckon_db_archive_nif/src/lib.rs:41-46 | native/reckon_db_archive_nif/src/lib.rs:192-196 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5934966a79798cdcd9575be720bcc6c4de29d2d80ddeccd90a2d77ae04725eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): native/reckon_db_archive_nif/src/lib.rs:202-206 | native/reckon_db_archive_nif/src/lib.rs:215-219 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff72fa229c335ab510a95481dfbe47f77bc3f2d1aad182522a699472fbb8bf13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): native/reckon_db_archive_nif/src/lib.rs:134-139 | native/reckon_db_archive_nif/src/lib.rs:211-215 | native/reckon_db_archive_nif/src/lib.rs:328-332 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reckon_db_archive_nif/src/lib.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"937147ee74dfc5dcbd5cbfbcb878141e9bcfbe26e60d4501f016f5bf1900caf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/reckon_db_gateway_worker.erl: src/reckon_db_gateway_worker.erl changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in reckon_db_gateway_worker.handle_call at line 64. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:12:35 \u002B02:00\u0027 --until=\u00272026-09-28 21:12:35 \u002B02:00\u0027 --full-history --no-merges -- src/reckon_db_gateway_worker.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_gateway_worker.erl"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f73f1d5f3e91f2c3e9c1d5c5ff47539cb9ed2875eedfef15618a6aee3cf25fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/reckon_db_store_coordinator.erl: src/reckon_db_store_coordinator.erl changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is reckon_db_store_coordinator.post_join_result at line 184), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: emitter pools left down on subscription reconnect, contained restart, and leader failover (5.11.8)\u201D; \u201Cfix: guard all noproc-throwing supervisor/gen_server calls (5.11.2)\u201D; \u201Cfix: coordinator health check is wedge-proof too (5.8.3)\u201D; \u201Cfix: recover from interrupted khepri join-reset (store-cluster convergence)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:12:35 \u002B02:00\u0027 --until=\u00272026-09-28 21:12:35 \u002B02:00\u0027 --full-history --no-merges -- src/reckon_db_store_coordinator.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_store_coordinator.erl"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aceee6a12624b87f084f52d77cde481bf496b44e5f80c68a2befb594e9d990"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/reckon_db_store_healer.erl: src/reckon_db_store_healer.erl changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is reckon_db_store_healer.recycle_local at line 399), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: emitter pools left down on subscription reconnect, contained restart, and leader failover (5.11.8)\u201D; \u201Cfix: read_all_global/3\u0027s cache still cost O(N) per page at real scale (5.11.3)\u201D; \u201Cfix: healer must not wedge on the server it heals (5.8.2)\u201D; \u201Cfix: healer orphan-detection keys on local view, not majority\u0027s list\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:12:35 \u002B02:00\u0027 --until=\u00272026-09-28 21:12:35 \u002B02:00\u0027 --full-history --no-merges -- src/reckon_db_store_healer.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_store_healer.erl"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5003760169f7c246292de7156fd32ae58447d66a742817b143559d6e2072fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/reckon_db_resource_monitor.erl: src/reckon_db_resource_monitor.erl changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is reckon_db_resource_monitor.with_data_dir at line 251), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: read_all_global/3\u0027s cache still cost O(N) per page at real scale (5.11.3)\u201D; \u201Cfix: resolve data dir from the store registry, not app env (5.10.4)\u201D; \u201Cfix: disk sampling tracks the event-store disk, not the overlay root (5.10.3)\u201D; \u201Cfix: disk sampling filters to real filesystems (5.10.2)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:12:35 \u002B02:00\u0027 --until=\u00272026-09-28 21:12:35 \u002B02:00\u0027 --full-history --no-merges -- src/reckon_db_resource_monitor.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_resource_monitor.erl"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"277b0a6365db2140a4cece832d95e9aba646007b78b60a10f762df3368787110"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/reckon_db_streams.erl: src/reckon_db_streams.erl changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is reckon_db_streams.filter_events_by_tags at line 706), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: two single-node health-check bugs found via macula-realm\u0027s founding-write incident\u201D; \u201Cfix: read_all_global/3 could page past the wrong bound and mix generations mid-page\u201D; \u201Cfix: read_all_global/3\u0027s cache still cost O(N) per page at real scale (5.11.3)\u201D; \u201Cfix: read_all_global/3 rescanned and re-sorted the whole store on every paginated call\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:12:35 \u002B02:00\u0027 --until=\u00272026-09-28 21:12:35 \u002B02:00\u0027 --full-history --no-merges -- src/reckon_db_streams.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_streams.erl"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"210988f5b978b4010a95048bf069d75e2cfb1d7c325c1ba49677b1533a5e6b1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/reckon_db_leader.erl: src/reckon_db_leader.erl changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is reckon_db_leader.start_emitter_for_subscription at line 243), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: the DCB re-index runs off the leader loop; force re-run; rollback documented\u201D; \u201Cfix: DCB events get secondary-index entries; a one-time re-index for older ones (#2)\u201D; \u201Cfix: guard all noproc-throwing supervisor/gen_server calls (5.11.2)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:12:35 \u002B02:00\u0027 --until=\u00272026-09-28 21:12:35 \u002B02:00\u0027 --full-history --no-merges -- src/reckon_db_leader.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_leader.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b1758f81d503f347ebe003c42701559d2bec35814103e6cc627101eedce00c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/reckon_db_store.erl: src/reckon_db_store.erl changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is reckon_db_store.await_store_ready at line 327), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: read_all_global/3\u0027s cache still cost O(N) per page at real scale (5.11.3)\u201D; \u201Cfix: healer must not wedge on the server it heals (5.8.2)\u201D; \u201Cfix: recover from interrupted khepri join-reset (store-cluster convergence)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:12:35 \u002B02:00\u0027 --until=\u00272026-09-28 21:12:35 \u002B02:00\u0027 --full-history --no-merges -- src/reckon_db_store.erl\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_store.erl"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aca3ebee588d209c653bfdb3c1fd99467fa85ccd4bec693b22b9d679b622c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Implement gossip-based revocation check \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_capability_verifier.erl"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0229320f3fe870ea7ef8ee742d74f809255f41495ace2112c8572da5728a4c36"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060(repository root)\u0060 (17181 LoC, 215 module-visible types across 2 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"99169f5beeebff034ce535a118ed8c3a128b9d6ecd98ca811cf4dd2b34d5aa54"},"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"}}]},{"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":"ec13a0ef7d5170c9db1ea2cfd850127afd8f38925d4202579ccbf6d1c858899b"},"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"}}]},{"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":"7798c7fc3feb18b20be63dcd8673e50388a85b971b436a2a7041823e722831b1"},"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"}}]},{"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":"e140c8d27e9955c073df3e6ed54cbbd2d03f8ab17e4de83c9a4aa31a53af8639"},"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"}}]},{"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":"f394343ce00087b96a24351ad1a00c47db01ffb0297165377c2d693fbe87ad83"},"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"}}]},{"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":"d36286c27657f4c8065d57343d744192758a01a0bdece100e942f947064b69f7"},"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"}}]},{"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":"8113ce5758302b952c21b1976090e2703efa289687e36887198865aff0d4fe5e"},"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"}}]},{"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":"4e97b0e39988ec1514b39979932305505e9d3c18a1be56f7c84a7ec9e3656764"},"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"}}]},{"ruleId":"D30","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":"2f980f283074377b678f1157e22cb4cd97d199755adfe24b0221af81e1b2150d"},"properties":{"dependency":{"package":"lz4_flex","version":"0.11.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0041"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1c2b899e16de16714211da05f3f930842ac721b6336e974cf72ccebcae5919ab"},"properties":{"dependency":{"package":"xxhash-rust","version":"0.8.15","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"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"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"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"}},{"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"}},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): reckon_db_subscriptions.store_and_setup/6#152: \u0060reckon_db_subscriptions\u0060 clause \u0060store_and_setup/6#152\u0060 PERSISTS state AND BROADCASTS a domain event as two independent side effects in the same clause, with no shared transaction or outbox. A crash between the two \u2014 or a redelivered message \u2014 diverges the store from what subscribers saw (state committed, broadcast lost) or emits a phantom event (broadcast sent, state rolled back). Record the event alongside the state in the SAME write and dispatch it from there afterwards (a transactional outbox); where the store is mnesia, wrapping both in one \u0060mnesia:transaction\u0060 achieves the same atomicity directly. Divergence blast-radius: MEDIUM."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_subscriptions.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6bb0f0eccbabdc5e250b09128dc3b4b297863f6569f260a8c36dfcf90ea532"}},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 1 ADR-shaped document(s) detected by content \u2014 \u0060plans/PLAN_DCB_IMPLEMENTATION.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises Kubernetes, but no Kubernetes manifest or chart exists \u2014 searched for: \u0060kubernetes\u0060, \u0060k8s\u0060, \u0060helm\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, 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":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:nif_aggregate_events/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a1de3394a82755d8309e3f9fd3d0a2df0010b41b8ca28f93426eaafa27ef5d"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:nif_sum_field/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9604ca4c764f1e1ec5dcd986617da126a366a97f77bb1ccbcaf9f17d3b0922"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:nif_count_where/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f064343471f2c0a5e1d77ef531e4ca2ba0835aca0a433e2c657f96a9b03414d7"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:nif_merge_tagged_batch/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1669264aa97c20e2b3507cffa9f82fcbed89a85549921b2a080f9f0f71009a"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:nif_finalize/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fbd2722129569880bc5ad41b8797ae3eba7a01eb34081ad4869af92d46f743"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:nif_aggregation_stats/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22652a3a68b672c76498420b8f9cc847c666a7e061b83b565ae465db185b8c0"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:erlang_aggregate_events/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"246dde180734a40260bd16d8ff3255f11730bf574311abbcfd45f89f3e577153"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:erlang_sum_field/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f2d45833bf688b906609b3d7d3524b3a03e80faf16938bf9926040aff21a85"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:erlang_count_where/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b9aa19014ee622e67d5ef483592fc30af848f039f708ae73287952dc73198a"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:erlang_merge_tagged_batch/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2757959a06c569071f90d31cb9804394e4d6c6944937db2869abfc1974d8d621"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:erlang_finalize/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fa8c95889cb6fc70e9614ca8b873c17b09574a8e361526fc4a33c694c3d946"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_aggregate_nif:erlang_aggregation_stats/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_aggregate_nif.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79dfc23b2ab71e1a3cef2090aad8275d3a4d812074022a2514eb68e46e52a80"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_compress_lz4/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f31a899532978941d2c8871c975bcb757782bf553c47b21619052c2bcf690"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_decompress_lz4/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf876622af3190bb0bbf744555f3235f079ab72f88d1636c7c2aa95c63d39a3"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_compress_zstd/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcffdefe8b2c58ae22fb9e1e17e6c58935946cc5a840a18eb59f064286da6de"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_decompress_zstd/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5923ee7449c3f33b26044038d8ee84d0cff3404e270f51a7e5b32bd121722cb9"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_compress_zlib/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f09ced9f368ac3ec86af8d6c90930eadefb54357d96c510cf29cbe052a03df"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_decompress_zlib/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26084a61350283c481db5ddff6210df81dbfac5e789edc88d16303d06e7c088"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_compress/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"da81d46168149a1e8d67de6480f64b5990b973a7ef95723d0f3540a4d75500a0"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_decompress/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3bd4d580becd637073d035ce8306fce8c91289eaecb9228e4a672d738df592"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:nif_compression_stats/3\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9eade4d0a12d8a97011b82f4ede8838e69b18c3a8ebf82ffdd59b914ba1ab8"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:erlang_compress_lz4/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"619823b5937098f36e6c87dd3abae070098272ef087c24c0742c70600830fabb"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:erlang_decompress_lz4/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eec080e2c834f44f5060a7f203db6e57bd0ff369c3f9aa5446c66ef4d468a8d"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:erlang_compress_zstd/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9629cee9b02395e3b3723cdab5f6e766f403695ee61940c5d3a5ae3aa7b43639"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060reckon_db_archive_nif:erlang_decompress_zstd/1\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reckon_db_archive_nif.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd254fb54180a1491ed04625b97e27314de54b441a2002b891af01affa79ac6d"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.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":"CWE-353","shortDescription":{"text":"CWE-353"},"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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":15,"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."]}]}