{"$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":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"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":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"rabbitmq_stream_s3_manifest_replica.handle_call (cyclomatic 28): rabbitmq_stream_s3_manifest_replica.handle_call has cyclomatic complexity 28 (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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e3c3aa01e8f43e1452bd6d52d607976198af21e5b19b8b8a3c3cf4760d290b"}},{"ruleId":"D1","level":"warning","message":{"text":"rabbitmq_stream_s3_api_aws.handle_async (cyclomatic 25): rabbitmq_stream_s3_api_aws.handle_async has cyclomatic complexity 25 (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/rabbitmq_stream_s3_api_aws.erl"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"748d08aacbdd54c7e27065791747f0ea59ad3580f0c637d98383cc91010fcf6c"}},{"ruleId":"D1","level":"warning","message":{"text":"rabbitmq_stream_s3_log_reader.chunk_iterator0 (cyclomatic 25): rabbitmq_stream_s3_log_reader.chunk_iterator0 has cyclomatic complexity 25 (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/rabbitmq_stream_s3_log_reader.erl"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc6d403c6c6a86dc077ac7df0c71ebbcc20cc43e9eaaa5e7fffec605de70305"}},{"ruleId":"D2","level":"warning","message":{"text":"rabbitmq_stream_s3_manifest_replica.handle_call (cognitive 18): rabbitmq_stream_s3_manifest_replica.handle_call has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 10 (17 pts), boolean chains 1 (nesting depth added 7). 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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8708e3d8c471f2f978cb9f725137c1feff72e99cf946f972a9228b442cd7937d"}},{"ruleId":"D2","level":"warning","message":{"text":"rabbitmq_stream_s3_manifest_replica.handle_cast (cognitive 16): rabbitmq_stream_s3_manifest_replica.handle_cast has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 9 (16 pts) (nesting depth added 7). 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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4332f9068f734e05962c66779c2b458d341e7bf0e0268cfaef53085e7bb2a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_api_aws.erl: FileTooLong \u2014 1940 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 95 functions. The bar is 500 significant lines; this is 1440 over it, 3.88\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/rabbitmq_stream_s3_api_aws.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb16eb1feb574ba8eb5db245ddcdc404ee9b6a6dad262089b036f561a402af0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_replica_reader.erl: FileTooLong \u2014 1891 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 106 functions. The bar is 500 significant lines; this is 1391 over it, 3.78\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/rabbitmq_stream_s3_replica_reader.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985b1af89dfd2ee276f2de3fb73f01e02867144130ae28e7ced765f11d9b0f88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_log_reader.erl: FileTooLong \u2014 1227 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 44 functions. The bar is 500 significant lines; this is 727 over it, 2.45\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/rabbitmq_stream_s3_log_reader.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56767ef845b3f6ab588c2a64eabed11255fa0d2e4ac848cb1f5bd51e23e1d0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_governor.erl: FileTooLong \u2014 997 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 497 over it, 1.99\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/rabbitmq_stream_s3_governor.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a4755a90bfe1373571ee1baf9d0382edde03049c2d647432376bb1df6d27aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rabbitmq_stream_s3_config: TooManyFunctions \u2014 50 functions. The bar is 30 functions; this is 20 over it, 1.67\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/rabbitmq_stream_s3_config.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b284db35bed5285f773fbd09b339167974913a5afd7f8094e2b2fd298fa563b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_remote_reader_core.erl: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 71 functions. The bar is 500 significant lines; this is 302 over it, 1.60\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/rabbitmq_stream_s3_remote_reader_core.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ea631fc00ee1ed18a989056e54b015bea3dbd0423df87690b1bdf7bc3fa8b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_remote_reader.erl: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 141 over it, 1.28\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/rabbitmq_stream_s3_remote_reader.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3686b8c9722c68e00a5385241d2f7f8a162dd09719880a07c1cc0de4fc67cea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_gc.erl: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 over it, 1.26\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/rabbitmq_stream_s3_gc.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a25eba20f008acd943812436fa61c8822d8dab2457b98fbf047771c836cbe79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_manifest_replica.erl: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 100 over it, 1.20\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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3a051cd6a96dbd8e2a7af6abe4797450728e1c9987b5b89be021dda92bc3d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_api_aws_pool.erl: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 89 over it, 1.18\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/rabbitmq_stream_s3_api_aws_pool.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b050d547a732e82f14e92dda0869f9bdff417f9a765ad5e405dcde440f08e2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_manifest.erl: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 85 over it, 1.17\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/rabbitmq_stream_s3_manifest.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa97f884482127cae35431cd523f2646650acbaa1e6f7d0fa0ab4d44335502"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Elixir.RabbitMQ.CLI.Ctl.Commands.StreamS3StatusCommand: 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/Elixir.RabbitMQ.CLI.Ctl.Commands.StreamS3StatusCommand.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0527c620de1a630904fdd6db1e5346ab0c1547593afd2ea85bdb9386a864e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_replica_reader_core.erl: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 39 functions. The bar is 500 significant lines; this is 83 over it, 1.17\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/rabbitmq_stream_s3_replica_reader_core.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceed80880390039c23bcd605346d2b8f60ebe75f002adae02733b6990ec4907"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rabbitmq_stream_s3_read_pipeline.erl: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 17 over it, 1.03\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/rabbitmq_stream_s3_read_pipeline.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2b2d5d4b2ec34754eba2d35e96299cb79ff80d59bd8af60920ba4efdb76aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201315 lines \u00D7 2): src/rabbitmq_stream_s3_api_aws.erl:1424-1438 | src/rabbitmq_stream_s3_api_aws.erl:1514-1522 \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/rabbitmq_stream_s3_api_aws.erl"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9beb8edfbaf984aecc30a68c0db4e5b3c655375b3a72e10e75ebf6cf3f3be30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): src/rabbitmq_stream_s3_replica_reader_core.erl:517-528 | src/rabbitmq_stream_s3_replica_reader_core.erl:569-583 \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/rabbitmq_stream_s3_replica_reader_core.erl"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"f803e57add49aed80d923fcb8ab1204ff4200c024d5de2f120e8cf0e44bbe9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/rabbitmq_stream_s3_log_reader.erl:662-671 | src/rabbitmq_stream_s3_log_reader.erl:680-689 \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/rabbitmq_stream_s3_log_reader.erl"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b48e6a7a5d58aaadf0316c8abd6c2602098fe4abd8be43108bc5540a4dae01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/rabbitmq_stream_s3_manifest_replica.erl:403-411 | src/rabbitmq_stream_s3_manifest_replica.erl:565-574 \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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90e8f89db2fa31ab5b24843aa8ac7b0ed12e0f989aab2c5aed827b3c18add29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/rabbitmq_stream_s3_manifest_replica.erl:458-469 | src/rabbitmq_stream_s3_manifest_replica.erl:636-644 \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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c88aa0a6ffcb99b5177e8ea0ce0d09804b7637d23af5abb184100e059acac55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Elixir.RabbitMQ.CLI.Ctl.Commands.ForceFragmentCutCommand.erl:74-79 | src/Elixir.RabbitMQ.CLI.Ctl.Commands.StreamS3StatusCommand.erl:83-88 \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/Elixir.RabbitMQ.CLI.Ctl.Commands.ForceFragmentCutCommand.erl"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bda9ad8c601ba2e66f8d638fcf984ec873d4edd5543dfcfa13397ba9b1a8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/rabbitmq_stream_s3_manifest_replica.erl:436-440 | src/rabbitmq_stream_s3_manifest_replica.erl:532-536 \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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ba963fd662c6c078c0919f0f31e219933554f2ed098c464fdf472918837fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateLocalRetentionCommand.erl:30-35 | src/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateRemoteRetentionCommand.erl:30-35 | src/Elixir.RabbitMQ.CLI.Ctl.Commands.ForceFragmentCutCommand.erl:30-35 | src/Elixir.RabbitMQ.CLI.Ctl.Commands.StreamS3StatusCommand.erl:31-36 \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 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateLocalRetentionCommand.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2695905cb55c99beec19e004b1f93f8ef7d6ce3bc4037a9cbdc5186c74783063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/rabbitmq_stream_s3_lister.erl:187-191 | src/rabbitmq_stream_s3_manifest_replica.erl:830-834 | src/rabbitmq_stream_s3_reaper.erl:161-165 \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 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rabbitmq_stream_s3_lister.erl"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"131097ad91e79613f84fee5a5654c6f07c0e745d6ea6c5f90f8c3b63eb692a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateLocalRetentionCommand.erl:49-56 | src/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateRemoteRetentionCommand.erl:49-56 \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/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateLocalRetentionCommand.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c4ef97e85d8d257ff4917d3b1324c2fc9afc000c3946095417585a1b8e2921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateLocalRetentionCommand.erl:68-72 | src/Elixir.RabbitMQ.CLI.Ctl.Commands.ForceFragmentCutCommand.erl:74-78 \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/Elixir.RabbitMQ.CLI.Ctl.Commands.EvaluateLocalRetentionCommand.erl"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bce1905b6fba512fb183af2ac256920fb358210d40de5fbff429242e225c344"}},{"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":"9775b7fb93040498308a862736ffc7f69d302a35dded4dee551bbcd7e91dedc6"},"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":"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":"d5e79b5e0e8bdbaa6fdfd547cbde06b00d3be4838dbb9ad30973f39bd1ed6839"},"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":"D15","level":"warning","message":{"text":"Hotspot: src/rabbitmq_stream_s3_remote_reader_core.erl: src/rabbitmq_stream_s3_remote_reader_core.erl changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in rabbitmq_stream_s3_remote_reader_core.step_ at line 384. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-01..2026-09-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-01 07:48:19 -07:00\u0027 --until=\u00272026-09-29 07:48:19 -07:00\u0027 --full-history --no-merges -- src/rabbitmq_stream_s3_remote_reader_core.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/rabbitmq_stream_s3_remote_reader_core.erl"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a98fecfb98267b386dfe1ed29a1ff0da2c1e8cde652416cdb8996e6e7a60da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/rabbitmq_stream_s3_remote_reader.erl: src/rabbitmq_stream_s3_remote_reader.erl changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in rabbitmq_stream_s3_remote_reader.execute_effect at line 612. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-01..2026-09-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-01 07:48:19 -07:00\u0027 --until=\u00272026-09-29 07:48:19 -07:00\u0027 --full-history --no-merges -- src/rabbitmq_stream_s3_remote_reader.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/rabbitmq_stream_s3_remote_reader.erl"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93de31a44e32ce7005bcab51fd2c92506fc46d33def14e62c8a32801b99dce8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/rabbitmq_stream_s3_manifest_replica.erl: src/rabbitmq_stream_s3_manifest_replica.erl changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in rabbitmq_stream_s3_manifest_replica.handle_call at line 377. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-01..2026-09-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-01 07:48:19 -07:00\u0027 --until=\u00272026-09-29 07:48:19 -07:00\u0027 --full-history --no-merges -- src/rabbitmq_stream_s3_manifest_replica.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/rabbitmq_stream_s3_manifest_replica.erl"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"299ed73412bceae084016cd82e84efb580f27b8a297612be2a8c288440de94ae"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: src/rabbitmq_stream_s3_replica_reader_core.erl, src/rabbitmq_stream_s3_manifest.erl, src/rabbitmq_stream_s3_replica_reader_tasks.erl, src/rabbitmq_stream_s3_array.erl, src/rabbitmq_stream_s3_fragment_assembly.erl, src/rabbitmq_stream_s3_fragment_iterator.erl, src/rabbitmq_stream_s3_replica_reader_sup.erl, src/rabbitmq_stream_s3_reconciler.erl (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"154dd5208b4edcf850000706700f642125800857a2a562b488008846f7adb141"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (11 single-owned of 39 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; 39 of the 46 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% (TODO: is that actually true?) \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":"include/rabbitmq_stream_s3.hrl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaa0d6c361760eb2de58d79f32d1764d206c352cd6113c7f87630475123a090"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: revise this comment as more moves into the server. \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/rabbitmq_stream_s3_log_reader.erl"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a89bb3f3543bc6438cc812a6520fdca6ac0fcacb6408670f922ea07712a0194"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: contribute this type to Khepri? \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/rabbitmq_stream_s3_db.erl"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e07d1b7ab95d73265c537f6f25b173e546c78152d0ac9edc5d4a9b3031d2ec7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: why is gun:resp_headers() not exported? \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/rabbitmq_stream_s3_api_aws.erl"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a63aa583d9748ff9e1513d3e6b37391b80c089bc53527387b9d5bf445c57c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: pass timeout through get_credentials/0? \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/rabbitmq_stream_s3_api_aws.erl"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33e4f808c8c92783a923b65dfccae55623106d74090791b41928ce6c4a330cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: this should be private. \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/rabbitmq_stream_s3.erl"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b042ef1185590ffead719a571b10895d5522a5fca7a1f964505f20c62f97d767"}},{"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":"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":"3d9a4a008e95e2e8719c1df6acf27cc4a5337229d4fd7879af56e2b127b5ade7"},"properties":{"commitSha":"fbb4af73b57b11ab992debe170456a2f82bef44b"}},{"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":"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","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":"68a63dd7e579226b67c9f3820e54eaa841023c70473d759d6dab6c97c8af4284"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","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":"bc80077241915d292877cdda553e17ceb571f26ea72d010d43489beb7efe5c08"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","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":"4a45c48074dc5521c32d5a6af76c9161c6c5fc5baeab1c72fef95fe28e31e225"},"taxa":[{"id":"CWE-754","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add dialyzer or elvis as a CI step. What was searched, so you can tell an absence from a miss: the 53659 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rabbitmq_stream_s3_api_fs:get_stream_data/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/rabbitmq_stream_s3_api_fs.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"373d98b95fe180ee9827f517cf326a32bc77ae2627e6f174abf7b09701d66df6"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rabbitmq_stream_s3_api_fs:list_fragments/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/rabbitmq_stream_s3_api_fs.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"122c0550854e649e7ae2c65ed5c44e7424f059212c11eddb3cb39024e4c6ff06"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rabbitmq_stream_s3_api_fs:clear/0\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/rabbitmq_stream_s3_api_fs.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebfc1118ba17a4f2c77f5430f9fab6af7d5eee9235405847b01f3ed02eb4988"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rabbitmq_stream_s3_api_fs:set_data_dir/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/rabbitmq_stream_s3_api_fs.erl"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b0b3bc3361d865e1e8539667c4ea9e647f6448f78fb9f7e7a00ef2eb677e00"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rabbitmq_stream_s3_log_reader:mode/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/rabbitmq_stream_s3_log_reader.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e538376331282c8e103b630ed7e5947ee7a79db1e634237815dcc5a0416ce522"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rabbitmq_stream_s3_log_reader:remote_pid/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/rabbitmq_stream_s3_log_reader.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"042109a13d010935212c21e4ecc9a3f43725366b5e08e9269aec3de8ce0368dc"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-754","guid":"d9239381-f467-405a-862b-02e65c819273","name":"CWE-754","shortDescription":{"text":"CWE-754"},"helpUri":"https://cwe.mitre.org/data/definitions/754.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":8,"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."]}]}