{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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":"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":"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":"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":"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":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"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":"leo_object_storage_server.handle_call (cyclomatic 66): leo_object_storage_server.handle_call has cyclomatic complexity 66 (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/leo_object_storage_server.erl"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ed5926513242047606cbdb8cffb6bddf04ecc47e97dd6104adfa810cd5bfd0"}},{"ruleId":"D1","level":"warning","message":{"text":"leo_compact_fsm_worker.execute_1 (cyclomatic 26): leo_compact_fsm_worker.execute_1 has cyclomatic complexity 26 (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. This is NOT this file\u0027s highest cyclomatic complexity: leo_compact_fsm_worker.running (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_compact_fsm_worker.erl"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c01905e2db38f96b7162ee65047a970ca788bc081cb8e4ebc8063aedaa0dee"}},{"ruleId":"D1","level":"warning","message":{"text":"leo_compact_fsm_worker.execute (cyclomatic 16): leo_compact_fsm_worker.execute has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: leo_compact_fsm_worker.running (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_compact_fsm_worker.erl"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"2821414cf9b1858591d0e3d6dd9cf5011430c7cc58cdbaace0de9121330d72e1"}},{"ruleId":"D2","level":"warning","message":{"text":"leo_compact_fsm_worker.execute_1 (cognitive 22): leo_compact_fsm_worker.execute_1 has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 12 (22 pts) (nesting depth added 10). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_compact_fsm_worker.erl"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc887724656fbb30f57675edf10e023aeaae3f4871671ad9f73a257d4de3125b"}},{"ruleId":"D2","level":"warning","message":{"text":"leo_object_storage_api.fetch_by_key (cognitive 19): leo_object_storage_api.fetch_by_key has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 7 (12 pts), error handling 2 (5 pts), loops 1 (2 pts) (nesting depth added 9). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_api.erl"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5361eda710f01d024ccdca8d31ff6ff6882c6ff6edfe10df1bd4d8619719f7"}},{"ruleId":"D2","level":"warning","message":{"text":"leo_object_storage_haystack.get_fun_2 (cognitive 19): leo_object_storage_haystack.get_fun_2 has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 13 (18 pts), boolean chains 1 (nesting depth added 5). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_haystack.erl"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aca9a26c545d8a2d9d1f7d3f8ff2c80f8344cf3a03b0495c86cd4effeb99307"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/leo_compact_fsm_worker.erl: FileTooLong \u2014 1047 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 40 functions. The bar is 500 significant lines; this is 547 over it, 2.09\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/leo_compact_fsm_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1552f872de3124ee9c4f4c8063ed9acad1d060e31a1b19a55a66f8a587b94789"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/leo_object_storage_haystack.erl: FileTooLong \u2014 963 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 463 over it, 1.93\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/leo_object_storage_haystack.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec2e995a25bc63c4d52640fb2e5d509ff87d9f8690fd887aef5f163cc9bd116"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/leo_compact_fsm_controller.erl: FileTooLong \u2014 737 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 237 over it, 1.47\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/leo_compact_fsm_controller.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8134c9761183c0e2323b0f315873e3fdc50e6473a6e250bf0d9c161b30dd5f56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/leo_object_storage_server.erl: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 209 over it, 1.42\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/leo_object_storage_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1457136547ab47243829389c79a75eed9dc48938bf0d5660567114690c11ad7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/leo_object_storage_transformer.erl: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\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/leo_object_storage_transformer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0908d95a73668c1f7f1c29160bf6f0f82194601c14776bae5675ccff08c538"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/leo_object_storage_api.erl: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 105 over it, 1.21\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/leo_object_storage_api.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d8680a37b753faf27d4db5032c29c7384324c24d411f9916e22725fafcc474"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 43 shared lines): src/leo_object_storage_transformer.erl:49-195 | src/leo_object_storage_transformer.erl:220-327 | src/leo_object_storage_transformer.erl:337-439 \u2014 These 3 members are variants of one another: a block of 43 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_transformer.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eb2b02814c35b1ab80659ceddc261306f28784ff8515707ad5305253c6d417"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/leo_compact_fsm_controller.erl:319-415 | src/leo_compact_fsm_controller.erl:424-598 | src/leo_compact_fsm_controller.erl:608-741 | src/leo_compact_fsm_controller.erl:746-798 \u2014 These 4 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_compact_fsm_controller.erl"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"db90ca57806f78d356c02fd2f08780c3853cc0ca54d1af644c8b24745530ee44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/leo_object_storage_transformer.erl:221-247 | src/leo_object_storage_transformer.erl:338-364 \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/leo_object_storage_transformer.erl"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5265d7125d38a24f85c68578022ee64a06c9adab41141da4f1fe3167648bca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/leo_object_storage_transformer.erl:252-275 | src/leo_object_storage_transformer.erl:404-427 \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/leo_object_storage_transformer.erl"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f84beb832d557193dbc35bf927432e752c8873a330116db159a5df41709cac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): src/leo_compact_fsm_controller.erl:377-395 | src/leo_compact_fsm_controller.erl:461-479 | src/leo_compact_fsm_controller.erl:667-685 | src/leo_compact_fsm_controller.erl:764-782 \u2014 all 4 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":"src/leo_compact_fsm_controller.erl"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"113c6b22f86bf5607175846720854af980fb05cc54fc838defc96125c4ca3be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/leo_object_storage_transformer.erl:154-171 | src/leo_object_storage_transformer.erl:175-192 | src/leo_object_storage_transformer.erl:286-303 | src/leo_object_storage_transformer.erl:307-324 \u2014 all 4 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":"src/leo_object_storage_transformer.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"275a4a53424eb5e6311bb6eeb87317da5f2c5220ff221b074b9b755ae0a3d407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/leo_object_storage_haystack.erl:680-696 | src/leo_object_storage_haystack.erl:732-749 \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/leo_object_storage_haystack.erl"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f922d505d9e94e51b85b42caf6e49a358f9a5e49efc957f762cc32eac34ab00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/leo_object_storage_transformer.erl:253-269 | src/leo_object_storage_transformer.erl:370-386 | src/leo_object_storage_transformer.erl:405-421 \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":"src/leo_object_storage_transformer.erl"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4a5aa3de8117bb716bf7de431789ab30c4aba9e8fc5411029be71e6f4e9c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/leo_object_storage_haystack.erl:816-831 | src/leo_object_storage_transformer.erl:549-565 \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/leo_object_storage_haystack.erl"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d87bd32708f3055c5f6725312ea4681f76851d59ff72441ab0a53a541b8d914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/leo_object_storage_transformer.erl:82-98 | src/leo_object_storage_transformer.erl:119-135 \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/leo_object_storage_transformer.erl"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3777d6a8729d3e47112cc9176c553bbb42442973c2176e3f926369b0dc04882e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/leo_object_storage_transformer.erl:487-503 | src/leo_object_storage_transformer.erl:508-524 \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/leo_object_storage_transformer.erl"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"5238947eaafb23c2694dde388da33ae31ede2e79bd116c7a2bb689a312f61926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/leo_object_storage_transformer.erl:449-464 | src/leo_object_storage_transformer.erl:467-482 | src/leo_object_storage_transformer.erl:485-500 | src/leo_object_storage_transformer.erl:506-521 \u2014 all 4 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":"src/leo_object_storage_transformer.erl"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a363956f74aef79f83d05b4f66820d6bcc899cf9c0a54176ed31fe81dd3516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10): src/leo_object_storage_transformer.erl:115-129 | src/leo_object_storage_transformer.erl:133-147 | src/leo_object_storage_transformer.erl:153-167 | src/leo_object_storage_transformer.erl:174-188 | src/leo_object_storage_transformer.erl:249-263 | src/leo_object_storage_transformer.erl:267-281 | src/leo_object_storage_transformer.erl:285-299 | src/leo_object_storage_transformer.erl:306-320 | src/leo_object_storage_transformer.erl:401-415 | src/leo_object_storage_transformer.erl:419-433 \u2014 all 10 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":"src/leo_object_storage_transformer.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b14b99d39a12f9c9116c8cf8489af0e041c9537258d2a622d357cdbf3f14ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/leo_compact_fsm_controller.erl:360-374 | src/leo_compact_fsm_controller.erl:444-458 | src/leo_compact_fsm_controller.erl:650-664 | src/leo_compact_fsm_controller.erl:747-761 \u2014 all 4 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":"src/leo_compact_fsm_controller.erl"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3088b9a89ff83b2e2f66a15991d2ae6ef10fd838eedc4707480d8a21a780c2df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/leo_object_storage_transformer.erl:79-93 | src/leo_object_storage_transformer.erl:96-110 | src/leo_object_storage_transformer.erl:367-381 | src/leo_object_storage_transformer.erl:384-398 \u2014 all 4 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":"src/leo_object_storage_transformer.erl"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e6df66abacb061d9475fdc651c0b8656b83cb2789db3d61a22f65735a92a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/leo_compact_fsm_worker.erl:891-905 | src/leo_compact_fsm_worker.erl:922-936 \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/leo_compact_fsm_worker.erl"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf03f9ccfbaada199b215335c65d2b234d2957f1c57c3c6bf6c1f6136221d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/leo_object_storage_transformer.erl:233-246 | src/leo_object_storage_transformer.erl:350-363 | src/leo_object_storage_transformer.erl:382-395 \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":"src/leo_object_storage_transformer.erl"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14df77ff7a3e8b9f1b8b72e37fe0cb6283b8781cdccaf77899cdf1271d2623a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/leo_object_storage_api.erl:688-701 | src/leo_object_storage_sup.erl:515-528 \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/leo_object_storage_api.erl"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dd2078f80b0d06c80f145fb78e910d29264f4ba349222fe2e4c05a6006486a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/leo_object_storage_transformer.erl:50-62 | src/leo_object_storage_transformer.erl:221-233 | src/leo_object_storage_transformer.erl:338-350 \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":"src/leo_object_storage_transformer.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a80e353f4b85db45a209cfa43ae42b74b26d986a5f75f95e106daac953a4ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/leo_object_storage_haystack.erl:541-552 | src/leo_object_storage_haystack.erl:556-568 \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/leo_object_storage_haystack.erl"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1295d9c551874c5c3295ecdb2f4afe31171ec2d1bc9c4282445ad630cf11e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/leo_compact_fsm_worker.erl:427-437 | src/leo_compact_fsm_worker.erl:507-518 \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/leo_compact_fsm_worker.erl"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04bba8da736d8d91b15810713bd2c1a2bf78c0b031f3b964e761447ef30c78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/leo_object_storage_haystack.erl:155-165 | src/leo_object_storage_haystack.erl:170-180 \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/leo_object_storage_haystack.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2037086802d51f2bb1f6d72e32a811bd4c013368344652b76a809e1490a5c02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/leo_compact_fsm_worker.erl:1039-1047 | src/leo_compact_fsm_worker.erl:1078-1086 \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/leo_compact_fsm_worker.erl"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f131578f48e21c63de3d54fdcebb453ae57a1e14322fd248aca2adf7b0fb0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/leo_compact_fsm_controller.erl:407-412 | src/leo_compact_fsm_controller.erl:590-595 | src/leo_compact_fsm_controller.erl:733-738 \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":"src/leo_compact_fsm_controller.erl"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea90965dfb084a0cfacb874a4da30d9cfec8a7014db1b3447095ca988766102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/leo_compact_fsm_controller.erl:804-808 | src/leo_compact_fsm_worker.erl:215-219 \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/leo_compact_fsm_controller.erl"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b712e5cd73c990cc09f720782e976823eae49319a00f7030839af846f57da173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/leo_compact_fsm_worker.erl:81-85 | src/leo_object_storage_server.erl:98-102 \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/leo_compact_fsm_worker.erl"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"852cf85763e5cc74c0d97de4b7bdb899162ed14fb754cb4f7b8f692b59fd501e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/leo_object_storage_haystack.erl:375-385 | src/leo_object_storage_haystack.erl:598-608 \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/leo_object_storage_haystack.erl"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e92de45f16c1b4706e25ddb513fc4c37d4f1169b769c180b578c14fc0c2113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/leo_object_storage_haystack.erl:271-281 | src/leo_object_storage_haystack.erl:310-320 \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/leo_object_storage_haystack.erl"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"293a20d86a2deb71dc235844d7e190bfae09cbc74e8bd6512bc261f4afc4d8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/leo_object_storage_haystack.erl:1006-1014 | src/leo_object_storage_haystack.erl:1115-1124 \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/leo_object_storage_haystack.erl"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0e04a7360c6290d66b95cb24d3492567cb55ec8497909f85f83f6cd7cdd249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/leo_object_storage_api.erl:676-684 | src/leo_object_storage_sup.erl:419-428 | src/leo_object_storage_sup.erl:461-469 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_api.erl"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9e7537c621f6780f4cd9b7425d6d0017b952c229dbf240068bc70e5957efb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/leo_object_storage_transformer.erl:618-624 | src/leo_object_storage_transformer.erl:659-665 \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/leo_object_storage_transformer.erl"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda45822bc64380fd55ec169236fa4fc18c7385f266e629ab633c75c9c13b85c"}},{"ruleId":"D13","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":"909810d1914840de6f8bce26ee3c2d03c0b8f52c08a620866450a6333ec61fc4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The overview reads as a feature list (\u0027**Key Features**: - Log-structured Storage ...\u0027) rather than explaining what the library does and its purpose for an Erlang/OTP application. Rewrite the Overview to state the project\u0027s role (a log-structured Haystack/BLOB storage library) and why it matters, plus a one-line description of AVS format."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (6334 LoC, 186 module-visible types across 1 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":"D28","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":"e3cd99dd80f2e2f8636b8638e892d57f49779a4647208a65abb5ecd027f26d79"},"properties":{"commitSha":"da73bc4a6dc1aaa0a6a50b4987b685081431016f"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_compact_fsm_worker.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df98282c71dbf5065cd2140ef77601345a0e4aea02d55a1e9dc0bacd15ae06e0"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_haystack.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d389a47573877fa684418cd916982443c17b92182210acbb77881c5f62fbd7f6"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_compact_fsm_controller.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3392ef717f2abad85db25268136e3dc711bf73fceabee86ec9a5b8175f4190"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f893b5fb4d41830e663f2a10dd9aa590046995328f78d536bab493ca6e5c016c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"include/leo_object_storage.hrl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e21b3fbf50d06066edf320793609e1dacbb952115c2912ccc56ef9335927cd"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_api.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aef3a8e8c98f8e5205bb21c1b9e3dde81ef9d6682efa3ea2a94e6f472593bc"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_transformer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"174e6bca3b54ed6fbad3a30c7ccd64253499435a8997db99210f08ee3301668d"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/leo_object_storage_sup.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2215c7d4fe692469c8235b588343a072890eed9d57ce973deffc0602fcda6ff"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 3 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/leo_object_storage_diskspace_mon.erl, src/leo_object_storage_diagnosis_log.erl, src/leo_object_storage_msg_collector.erl (11 orphaned of 11 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 11 of the 12 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"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":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README claims LeoFS is a separate project but the evidence shows no leo_storage or leofs projects \u2014 searched for: \u0060leo_storage\u0060, \u0060leofs\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":"b21731605a5a355441fd041c8b465ec5c31e9f0dc635117e1b2eac3caea3f8ab"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises Docker containerisation, but no Dockerfile/compose file exists \u2014 searched for: \u0060dockerfile\u0060, \u0060docker-compose\u0060, \u0060compose.yaml\u0060, \u0060compose.yml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest 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":"d116e696b89ee5b5606de54018788ae795afe8387ffcf59a3c5f5c024f4aec80"}},{"ruleId":"P1","level":"note","message":{"text":"CI test execution not evidenced: A CI pipeline exists but no test-runner invocation (your stack\u0027s test command, or a test job) was found \u2014 changes may merge without the suite running."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"860902100b1c048f49c648730bdf23459de2d8ca6af82ef0ec593ecb3995a80c"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-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":6,"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."]}]}