{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"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":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"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":"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"rebar_user.cast (cyclomatic 34): rebar_user.cast has cyclomatic complexity 34 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: apps/rebar/src/rebar_user.erl holds 3 of the 6 functions over the threshold \u2014 including the worst \u2014 and 41 of the 53 points over it (77%), 6.8\u00D7 the next-largest file (apps/rebar/src/rebar_paths.erl at 6). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a85e464b0ed88dd6ab0f97ec4975b2ce91afb4198f4d4b32602962bd5e1e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"rebar_user.io_request (cyclomatic 34): rebar_user.io_request has cyclomatic complexity 34 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: apps/rebar/src/rebar_user.erl holds 3 of the 6 functions over the threshold \u2014 including the worst \u2014 and 41 of the 53 points over it (77%), 6.8\u00D7 the next-largest file (apps/rebar/src/rebar_paths.erl at 6). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab7dd502aa97971ce74f6ded37d0708e9fb29426e3f6434e7272108893f0edb"}},{"ruleId":"D1","level":"warning","message":{"text":"rebar_paths.purge_and_load (cyclomatic 21): rebar_paths.purge_and_load has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_paths.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f145e00c2cdae907ff3e2018b5605ad4b63b4a644e3e1156048c113b8797257b"}},{"ruleId":"D1","level":"warning","message":{"text":"rebar_parallel.pool_coordinator (cyclomatic 20): rebar_parallel.pool_coordinator has cyclomatic complexity 20 (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":"apps/rebar/src/rebar_parallel.erl"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"058ef30cc2540548870197f6aed2f03fb1033c1ef0fec1c38f0c12827b06c1f6"}},{"ruleId":"D1","level":"warning","message":{"text":"rebar_user.get_line_doit (cyclomatic 18): rebar_user.get_line_doit has cyclomatic complexity 18 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: apps/rebar/src/rebar_user.erl holds 3 of the 6 functions over the threshold \u2014 including the worst \u2014 and 41 of the 53 points over it (77%), 6.8\u00D7 the next-largest file (apps/rebar/src/rebar_paths.erl at 6). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce451894ca7bae4e39dbf152eb7b325f16169a90851ff9f35bd1769d38d9efd"}},{"ruleId":"D1","level":"warning","message":{"text":"rebar_prv_shell.rewrite_leaders (cyclomatic 16): rebar_prv_shell.rewrite_leaders has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_shell.erl"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5a1fd915b4fadd43b8a392a9b12611c2a912214932d05933f37e83b231e59b"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_user.get_line_doit (cognitive 40): rebar_user.get_line_doit has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 17 (40 pts) (nesting depth added 23). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/rebar/src/rebar_user.erl holds 4 of the 12 functions over the threshold \u2014 including the worst \u2014 and 60 of the 122 points over it (49%), 2.6\u00D7 the next-largest file (apps/rebar/src/rebar_prv_shell.erl at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f56dadebd627e4bfa62be0dcee53231657d676fcadb7974ee60c7e05923ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_paths.purge_and_load (cognitive 36): rebar_paths.purge_and_load has cognitive complexity 36 (threshold 15). Drivers by points: loops 11 (15 pts), match/switch 5 (11 pts), if/else 4 (10 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_paths.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eb868e6a8be9845ec38414d300f189bf238b144260653752a5222d0be39d82"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_user.cast (cognitive 35): rebar_user.cast has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 18 (20 pts), error handling 8, boolean chains 5, loops 1 (2 pts) (nesting depth added 3). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/rebar/src/rebar_user.erl holds 4 of the 12 functions over the threshold \u2014 including the worst \u2014 and 60 of the 122 points over it (49%), 2.6\u00D7 the next-largest file (apps/rebar/src/rebar_prv_shell.erl at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5c8053429c9658dfaf41f4bda2bf7b580f0085d33c7ea06cc967b178fbe599"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_prv_shell.rewrite_leaders (cognitive 28): rebar_prv_shell.rewrite_leaders has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (7 pts), error handling 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_shell.erl"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7e5d33b7f471d915b6b221b6b6599a1e61c4517fe123f80117eb7376a9608"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_templater.find_plugin_templates (cognitive 26): rebar_templater.find_plugin_templates has cognitive complexity 26 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 3 (10 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_templater.erl"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aea08420bf535936831d5adba0e00e96cc370f3a5a8753863ce820380164e7"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_user.io_request (cognitive 26): rebar_user.io_request has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 17 (19 pts), error handling 4 (5 pts), boolean chains 2 (nesting depth added 3). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/rebar/src/rebar_user.erl holds 4 of the 12 functions over the threshold \u2014 including the worst \u2014 and 60 of the 122 points over it (49%), 2.6\u00D7 the next-largest file (apps/rebar/src/rebar_prv_shell.erl at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd546c1f1866260f3201e64e2de258f8497e66ddcee4e9b219807d7e2b123d6"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_prv_shell.reread_config (cognitive 21): rebar_prv_shell.reread_config has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (7 pts), match/switch 2 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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":"apps/rebar/src/rebar_prv_shell.erl"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb5d3cec659479f85323f9687ea457f3d5e8e354de8f7dd8921c6f3f5a8ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar3.run_aux (cognitive 20): rebar3.run_aux has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 18 (19 pts), boolean chains 1 (nesting depth added 1). 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":"apps/rebar/src/rebar3.erl"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dd7fbafbf5c7597d803915476d7254da78d8b489a6106980999ef330a85b86"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_prv_shell.find_apps_relx (cognitive 19): rebar_prv_shell.find_apps_relx has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_shell.erl"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f4ad88450dfdb35fe49d5b284b2d583e48cec76b9aaa9a4dd02a05d1a9c8ad"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_user.wrap_characters_to_binary (cognitive 19): rebar_user.wrap_characters_to_binary has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 8 (12 pts), error handling 3 (4 pts), loops 1 (3 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: apps/rebar/src/rebar_user.erl holds 4 of the 12 functions over the threshold \u2014 including the worst \u2014 and 60 of the 122 points over it (49%), 2.6\u00D7 the next-largest file (apps/rebar/src/rebar_prv_shell.erl at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d5be8079f02d4bb72eddb0710f53b8ae054d725848ffc96cf5b033c2f93cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar3.log_level (cognitive 16): rebar3.log_level has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (9 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 6). 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":"apps/rebar/src/rebar3.erl"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b8d1f8d17f0c4df66f9c516da02f38b2214d0a4979c4e522deadb1a5e65001"}},{"ruleId":"D2","level":"warning","message":{"text":"rebar_compiler_dag.finalise_populate_sources_ (cognitive 16): rebar_compiler_dag.finalise_populate_sources_ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_dag.erl"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c619659d9465feb0c9dd53d095be4f678002685887353e972c6c428a726e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_state: TooManyFunctions \u2014 74 functions. The bar is 30 functions; this is 44 over it, 2.47\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":"apps/rebar/src/rebar_state.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68d191ba994cc969c40bf4eb348ef70b77d6989a6368b8e34cb916f775c7f79"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_prv_eunit: TooManyFunctions \u2014 58 functions. The bar is 30 functions; this is 28 over it, 1.93\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":"apps/rebar/src/rebar_prv_eunit.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2482332262dde2c43d89084e7b617d0fba88700d20eb305b2b7e2066d854170"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rebar_utils.erl: FileTooLong \u2014 920 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 96 functions. The bar is 500 significant lines; this is 420 over it, 1.84\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":"apps/rebar/src/rebar_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a27ba34e7442751b1e38739fdb9f7499c8976c3a90b98fd36f71b3ae2c8ce2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_prv_cover: TooManyFunctions \u2014 53 functions. The bar is 30 functions; this is 23 over it, 1.77\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":"apps/rebar/src/rebar_prv_cover.erl"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"563a671433b950c2fcd0db5656cfd7c878b63b6b537da160e9edc95d07a4611e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_prv_compile: TooManyFunctions \u2014 45 functions. The bar is 30 functions; this is 15 over it, 1.50\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_compile.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4ed95957febeeadf07221eb53f9caed8d92f5442350c30fb51c536dcfab960"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_compiler_dag: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\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":"apps/rebar/src/rebar_compiler_dag.erl"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00e3b02121d334709fd4ae0e536c013c15c6524cd24b7b6d1e63e4022b4f5e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_dir: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\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":"apps/rebar/src/rebar_dir.erl"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb34ca609b8c859365546a5c67a3204dc124563cacfeebd630853c0a099df12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rebar_prv_dialyzer.erl: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 64 functions. The bar is 500 significant lines; this is 158 over it, 1.32\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":"apps/rebar/src/rebar_prv_dialyzer.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be403fe589be449530b747d771fe804355385506cf8a4ff89cc437833f8b130d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rebar_erlc_compiler.erl: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 57 functions. The bar is 500 significant lines; this is 135 over it, 1.27\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":"apps/rebar/src/rebar_erlc_compiler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5831065781e373eeaf407ce3eb9ea18427889ef3c5d4b9cd80d3b6cb442a18a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rebar_user.erl: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 46 functions. The bar is 500 significant lines; this is 123 over it, 1.25\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":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fc19e45c9b0808cf22ebaacc9d833c73b46c2d01221583776d09ed6f02fffa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_templater: 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":"apps/rebar/src/rebar_templater.erl"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7cb11c78664b43f2b109d770464376c120d037e688cef96ad574293d72f7ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_compiler: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\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":"apps/rebar/src/rebar_compiler.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"186a68e536bec22c97123464eeb5dca5149b352059c9873038b3c7662a8d03e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rebar_app_info.erl: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 75 functions. The bar is 500 significant lines; this is 33 over it, 1.07\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":"apps/rebar/src/rebar_app_info.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1824f63379fea42738a70dc92211b2f2ea3b8bfe36ad6454cb79c3daa737d443"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rebar_file_utils.erl: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_file_utils.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e3a83a18def936908e077b5e4e21ea7e5544b0cc71d7c6dbae877d7d7ff75e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rebar_prv_shell.erl: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 46 functions. The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_shell.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2592dd37a219ec98b089510a26ff8840d3a702562066e03af4f47d643c35810a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: rebar_app_discover: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\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":"apps/rebar/src/rebar_app_discover.erl"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ebb8321c85738495ab10b641e73f746a0b26e4aefc895fb8df3fe0b428758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/rebar/src/rebar_base_compiler.erl:210-228 | apps/rebar/src/rebar_compiler.erl:282-297 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_base_compiler.erl"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfad685cb36f10d4b402e304efcb4155da92dc3e540988d87f913fe96c3dacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:372-416 | apps/rebar/src/rebar_erlc_compiler.erl:700-744 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee9b7be83310dd3e2e8cfaaa7008011ea4ab13daf247d79fa2406915a02de40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): apps/rebar/src/rebar_compiler_mib.erl:91-108 | apps/rebar/src/rebar_compiler_mib.erl:120-137 \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":"apps/rebar/src/rebar_compiler_mib.erl"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d4b32a270f2277fb10474abcec19f2c4b0ebf50a76faae890b92354abee2ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:469-483 | apps/rebar/src/rebar_erlc_compiler.erl:770-784 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb913754545082b57dbc7b92e0be352a3d28c254fd31e215971d3ace78fe932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): apps/rebar/src/rebar_base_compiler.erl:214-226 | apps/rebar/src/rebar_compiler.erl:284-297 \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":"apps/rebar/src/rebar_base_compiler.erl"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0508130c40ce6b6873d18a21583c22cde728580a979e741c5f5c647df3bb0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): apps/rebar/src/rebar_compiler_mib.erl:101-113 | apps/rebar/src/rebar_compiler_mib.erl:130-142 | apps/rebar/src/rebar_erlc_compiler.erl:609-621 \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":"apps/rebar/src/rebar_compiler_mib.erl"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c85b38e35a880ac1a24562423a93cd97457d12b2309809ab1795bd4ef7acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:211-230 | apps/rebar/src/rebar_erlc_compiler.erl:295-314 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f28bc2e78c1853586bd55d0ea0544351f657557830a64d4176a89f4413504da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:453-465 | apps/rebar/src/rebar_erlc_compiler.erl:754-766 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1f9b82c6004ff76cd812efa6ae7aa8091d974adb9842d53f703efdb9f50a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:352-362 | apps/rebar/src/rebar_erlc_compiler.erl:680-690 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"da654d12417c68368b048368429aace50a7691fca51f1e5d4bf990bc3504ac84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/rebar/src/cth_retry.erl:90-99 | apps/rebar/src/cth_retry.erl:107-116 \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":"apps/rebar/src/cth_retry.erl"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e22f1ef83f93b4174abaaafbbf2fe00b6b2c2aa029d19d1d2008299914af146"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/rebar/src/rebar_erlc_compiler.erl:123-132 | apps/rebar/src/rebar_erlc_compiler.erl:155-164 \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":"apps/rebar/src/rebar_erlc_compiler.erl"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c814bf3182e7966302e522219f6316fb35a247e83438da4ef1def3570445c94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/rebar/src/rebar_user.erl:483-492 | apps/rebar/src/rebar_user.erl:513-522 \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":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d426b9163edb785a98da2d8b9b86205dfdcfdfaad7a6ebdcdd12ef548c8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:62-70 | apps/rebar/src/rebar_erlc_compiler.erl:200-207 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d3ad0c0b4edf54db5687b7f74a508446889ed43ba09a3c2b3952cbed40836e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:331-339 | apps/rebar/src/rebar_erlc_compiler.erl:822-830 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d139daa5f0a700715d623530f8a2918ffb3e96f8d274405f45f2c8561a0facd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/rebar/src/rebar_git_resource.erl:193-200 | apps/rebar/src/rebar_git_resource.erl:218-225 \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":"apps/rebar/src/rebar_git_resource.erl"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"317f1b1f23bdb59e3e0e52db89370e03809208b3c036a1351cc9a9a9f81bdd19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/rebar/src/rebar_prv_common_test.erl:606-613 | apps/rebar/src/rebar_prv_eunit.erl:336-343 \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":"apps/rebar/src/rebar_prv_common_test.erl"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c9b8fc7534511faeab3fc56efdfd2c259a5dacff8b559dcb3645cedcf5c51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/rebar/src/rebar_prv_common_test.erl:849-856 | apps/rebar/src/rebar_prv_eunit.erl:559-566 \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":"apps/rebar/src/rebar_prv_common_test.erl"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10948e407024af7011cae457d584c23c5aa35833103f1923e3c8ccd523b220e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_compiler_xrl.erl:21-27 | apps/rebar/src/rebar_compiler_yrl.erl:19-25 \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":"apps/rebar/src/rebar_compiler_xrl.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307ee38ea377dbcc3b4542c1ceef96ddd1454df1314a5bacb5e2b82770bb372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_git_resource.erl:202-208 | apps/rebar/src/rebar_git_resource.erl:227-233 \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":"apps/rebar/src/rebar_git_resource.erl"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1ad287c4131ffc56cc36fc9c792d86c9ab87047a2cc512245dc7a5f0a288c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_git_resource.erl:210-216 | apps/rebar/src/rebar_git_resource.erl:235-241 \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":"apps/rebar/src/rebar_git_resource.erl"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e557c87c426595066e1e6430e9926b24f82d0ae18c43bdbb7f3b4878f23b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): apps/rebar/src/rebar_hg_resource.erl:107-112 | apps/rebar/src/rebar_hg_resource.erl:115-121 \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":"apps/rebar/src/rebar_hg_resource.erl"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afd78cda1ce89296f641204523c258a2a2dc79dbf500d09a5f9d66b3697dd90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/rebar/src/rebar_app_info.erl:148-153 | apps/rebar/src/rebar_app_info.erl:160-165 \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":"apps/rebar/src/rebar_app_info.erl"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"182ff4396e02a3882b85834170263c61a5916806d7968bd992a840d828ff8bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/rebar/src/rebar_git_resource.erl:211-216 | apps/rebar/src/rebar_git_resource.erl:228-233 \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":"apps/rebar/src/rebar_git_resource.erl"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac7c8bb3ab1b03c63f8e00827b76ca56db0c9f045a04bc6a524fe1d1214e7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/rebar/src/rebar_user.erl:401-406 | apps/rebar/src/rebar_user.erl:561-566 \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":"apps/rebar/src/rebar_user.erl"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b294c350aaa5de703de22c46126219d89c200223ce86b76214587bd72d6c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:152-156 | apps/rebar/src/rebar_compiler_erl.erl:264-268 \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":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56fe1e9e4d67a66ad5df151d2a9105433d30df2ca60a99b21106c7e1cd3497a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/rebar/src/rebar_git_resource.erl:243-247 | apps/rebar/src/rebar_git_resource.erl:250-254 \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":"apps/rebar/src/rebar_git_resource.erl"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5637522c6704ea4d4dd304a22a072cd0962d84aa12a2e41ec51857beaa9f7dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/rebar/src/rebar_utils.erl:374-378 | apps/rebar/src/rebar_utils.erl:385-389 \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":"apps/rebar/src/rebar_utils.erl"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dffdf846108478396a7c6db7cb6480b3f73f06dcc4ac3e35e1ff99c6af9e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_app_info.erl:740-746 | apps/rebar/src/rebar_state.erl:296-302 \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":"apps/rebar/src/rebar_app_info.erl"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"5207945a0752fff9b1b430a57e1e89cdd8994e79c865aa8460a7df196c177a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:232-236 | apps/rebar/src/rebar_erlc_compiler.erl:316-320 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7a451ef0a3b4aa7b10d70cce5d749bd2bf9a003893631343c8ab9a217ac5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:315-321 | apps/rebar/src/rebar_erlc_compiler.erl:394-400 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4760e1dc9d3f3f1cbdb24b9a2f74a82174251797fa58b15770c07559324d5433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_compiler_erl.erl:323-329 | apps/rebar/src/rebar_erlc_compiler.erl:814-820 \u2014 before extracting anything, compare \u0060apps/rebar/src/rebar_compiler_erl.erl\u0060 and \u0060apps/rebar/src/rebar_erlc_compiler.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"447208be6047e5ff582ca2856773df69cdd8e56691b9f6549b5bcc5d36bdc930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_prv_common_test.erl:841-847 | apps/rebar/src/rebar_prv_eunit.erl:551-557 \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":"apps/rebar/src/rebar_prv_common_test.erl"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d35868ecfd934e2a485aa14859d75be4e99184c7c9c4ebdecca47ce43086448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): apps/rebar/src/rebar_prv_plugins_upgrade.erl:140-146 | apps/rebar/src/rebar_prv_update.erl:53-59 | apps/rebar/src/rebar_prv_upgrade.erl:166-172 \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":"apps/rebar/src/rebar_prv_plugins_upgrade.erl"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"622e1f0598e004aa70cf1ec21fbc093349cbd30b260d22b0991d726ba96ebba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_app_info.erl:315-321 | apps/rebar/src/rebar_state.erl:157-163 \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":"apps/rebar/src/rebar_app_info.erl"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41f09f4f5f4a40e5d1e3a3d820950c9b15d944d5b6dba1bfaed3d6e09f01bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/rebar/src/rebar_prv_plugins.erl:18-27 | apps/rebar/src/rebar_prv_plugins_upgrade.erl:17-26 \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":"apps/rebar/src/rebar_prv_plugins.erl"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"296f4fcfa3e487bd66871e541030eee7bdde10ac9f7f4bfdeb12fdb7ad5e5971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/rebar/src/rebar_prv_local_install.erl:28-36 | apps/rebar/src/rebar_prv_local_upgrade.erl:25-33 \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":"apps/rebar/src/rebar_prv_local_install.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ecfd094cbc4b0e06d7bbd7daaaa605cafd139a65712a9e566fd7e4bd8b550c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/rebar/src/rebar_prv_app_discovery.erl:23-29 | apps/rebar/src/rebar_prv_lock.erl:19-25 \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":"apps/rebar/src/rebar_prv_app_discovery.erl"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a94790a8a5d2da674c2e5b69a92b474ccb204620282a9fbc86d7912c5b192b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): apps/rebar/src/rebar_hg_resource.erl:92-97 | apps/rebar/src/rebar_hg_resource.erl:100-105 | apps/rebar/src/rebar_hg_resource.erl:108-113 \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":"apps/rebar/src/rebar_hg_resource.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0e7bc2a81603ed12ad6132f532180b956e8c5bd858b882ece7c9d51fad0167"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: fake_dep: Runtime dependency \u0060fake_dep\u0060 is declared \u0060\u0022fake_dep\u0022\u0060 in systest/all_SUITE_data/compile_deps/rebar.config, which has no upper bound \u2014 every future MAJOR release of \u0060fake_dep\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"da51822b48eb3894686c5bc3bfb965f27b78373c3062dbcaaebd49b99a332c40"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: grisp: Runtime dependency \u0060grisp\u0060 is declared in systest/all_SUITE_data/grisp_explode/rebar.config as a bare name with no version requirement, so \u0060rebar3\u0060 is free to resolve ANY release of it \u2014 including the next major one, which can break the build without a line changing in this repository. Give it a bounded requirement (e.g. \u0060{grisp, \u0022~\u003E 1.0\u0022}\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d3729e762a987f3745e0612a9f5f32a682b32fb4ca9a2fe7df971681d318c593"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: apps/rebar/src/rebar_compiler.erl, apps/rebar/src/rebar_base_compiler.erl, apps/rebar/src/rebar_compiler_mib.erl. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6970a5df21553a42a831580ffeb33a2f541312d8eb6ec638a84a5b0035e38c48"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 7 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 (10 single-owned of 75 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 75 of the 107 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) (\u002B1 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: apps/rebar/src/rebar_file_utils.erl, apps/rebar/src/rebar_app_info.erl, apps/rebar/src/rebar_app_discover.erl, apps/rebar/src/rebar_prv_cover.erl, apps/rebar/src/rebar_pkg_resource.erl, apps/rebar/src/rebar_semver.erl, apps/rebar/src/rebar_completion_zsh.erl."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: figure out how to use a local rebar3 copy? \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":"systest/all_SUITE.erl"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87b63edce6419119bb3f2cf81f59545cf740042a3387a0cda2aae33ccc9d436"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: is something else wrong that we need this for transitive_alias to pass \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":"apps/rebar/test/rebar_pkg_alias_SUITE.erl"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddcc78045648eb6ef229ae2dd5018fb45c19db19f5e36d257fcd6dfb2288187"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: add a test that verifies that unlocking files and then \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":"apps/rebar/test/rebar_upgrade_SUITE.erl"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ca6cba582a763e9f4d22b9c3c4245ec7ff4ce1192e165d2f319548263e9e4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: this means use of REBAR_PROFILE=profile will replace the repos with \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":"apps/rebar/src/rebar3.erl"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dcb1a159b7c196c325faf9c5f19604e935d098107767a7d30fcd13a03e5103"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Do we need this still? I think it may still be used. \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":"apps/rebar/src/rebar3.erl"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af58afcf6306f9ccc64c79bd114ff39007c873df014c57694eb7d5a68a3aa4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: Actually make it \u0027global\u0027 \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":"apps/rebar/src/rebar3.erl"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4342516261525ad9a6ef5a044777877a0aa03d5a34324f64be3b7e036e48e0c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: refine types \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":"apps/rebar/src/rebar_app_discover.erl"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e518a116d1f538ab794284b73c4ea4d4e4c64b4d01b959b448a8a032f4da754"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: refine types \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":"apps/rebar/src/rebar_app_discover.erl"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"444e4855dd1b13e07633ad25fe12457eee8476d0a2e0c9714bead04a583ecb0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: handle profiles I guess, but we don\u0027t have that info \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":"apps/rebar/src/rebar_app_discover.erl"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518a39c840e1200c4db8bd4365051fc9aaf3db17ab521393da6eaa97ca3ed20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to source() | lock() \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df369069e90224af1a039b8a0d2ad4fe94fe576d2d8d09de0a351dcbe97272e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to source() | lock() \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bbef41e8e427a60970967b6002133d2515eb940cfdda6dfdfdc6d14ca7aa17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to source() | lock() \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbf2afff91ea3f5d939f1d2a83fe9e9d01fc3b3b3a7fc1866b030c1baf7d384"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to source() | lock() \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"049a7dd935b9ec30d0973e1a63eddef78ce27fd91dc7cce395e6069f4e9b943f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to source() | lock() \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":"apps/rebar/src/rebar_prv_install_deps.erl"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"27afab1b4f6e97de250c3c0adbbde393aa72aee4936d3d7d1b398d8e894818d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to [lock()] \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87c0b04a7e95bae99d5a0a892cd5e1798a70224511ab79d8e4cd7e10de46082"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to [lock()] \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34343805a94f77f4f4af189dad8eb14a938ca899f1e858a712a1204aeea54d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: meta to [lock()] \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c2b08567b1b8104a0dc2f224075bade112cc8816f1e120782b6f2d1714ea4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: move to hex_core \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":"apps/rebar/src/rebar_app_utils.erl"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8857eaa4eb8037902e714e4d845e61a421be0b5f82a7896a54094c72ad642"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: check for core transforms? \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":"apps/rebar/src/rebar_compiler_erl.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"198591069843e7cf9c4fc2ecca7d7821ca1402eb52885021f7283f148a4e333d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO support fish and maybe some more shells \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":"apps/rebar/src/rebar_completion.erl"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"281ca0a6e785e3b49c817123216be9194171c2d2a0a7eba74342987ca66146bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: refine lock() \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":"apps/rebar/src/rebar_config.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"57607cb3c94ffbfb232545d9d6aa5b1a2e726927cb6ff719a0ce875672df7387"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: refine type for lock() \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":"apps/rebar/src/rebar_config.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e705c6a0c7bbaeaeb8ec2ecf7457d0bc87d2b56f82608f1711ff96b9fd4f28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: refine typings for lock() \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":"apps/rebar/src/rebar_config.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"351dad85fdbd1fc141ff5c605f114bc9fc9fefb8ebca9132707fb28c5a63084c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: refine typings for lock() \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":"apps/rebar/src/rebar_config.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d80a4482b2e2b57af407dc5a3fd7ae540854489a90bcaac967d8b20230e6fe1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: refine types for dependencies \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":"apps/rebar/src/rebar_config.erl"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"48797eab7b4ce1d340aa0620d1af1a77b6573993f454fb4302aa891f7ec15f96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: refine types for dependencies \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":"apps/rebar/src/rebar_config.erl"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f221eb20c9c42ddb1bc2e812ba98080e265c2ca91e55121a6e2baa9b8d3c716a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: can do much better here \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":"apps/rebar/src/rebar_dialyzer_format.erl"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa4d18415af9ab352d00b1448bb05d4d66fbaf98a68d26cdbdd19185d7ab525"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: map to an english reason \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":"apps/rebar/src/rebar_hex_repos.erl"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1871e63832ba09ba97e3736572fbde13d88d71e9b3d913617bb5d0d14247337"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: add better log message. r3_hex_core should export a format_error \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":"apps/rebar/src/rebar_packages.erl"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3c916b803d88d5651c33db9424bbd2477cda8717427991d92ca8d47bc189e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: figure out digraph strategy to properly ensure no \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":"apps/rebar/src/rebar_prv_compile.erl"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"32893310c7997fa3e41ab5e31c1038730f7157cc6cf98cb2491a0cffbf8024cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: use ec_file:copy/2 to do this, it preserves timestamps and \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":"apps/rebar/src/rebar_prv_compile.erl"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"23740858725b6b7ee584322ac45f5439bc8d6f4447488faa7872c002dedc669d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: don\u0027t output this message if the dep is now a checkout \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":"apps/rebar/src/rebar_prv_lock.erl"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"039f1be28e39d225b96595b7433e79308fbdfd9a051f8408798d6101fca1d487"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: %% Hack to fool the init process into thinking we have stopped and the normal \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_shell.erl"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c60bc216d62a9483890d33b39a7e5b88b0a5b2e08440087221c0bf4e7da1e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: figure out how to vendor and local-load plugins \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":"apps/rebar/src/rebar_prv_vendor.erl"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8f614e646118afb30387ba9e75e05c8f6d936ad8d98bc0c41aa96450346463"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: this is just for rebar3_hex and maybe other plugins \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":"apps/rebar/src/rebar_utils.erl"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c692daf01ceefa19165830702d51e590177ea7ea5246f3e215fd872ca1ca86c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %% TODO: change package and requirement keys to be required (:=) after dropping support for OTP-18"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar.hrl"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5687030b77e194523e3cab2c230025a50ab45f7213a90c708538fba43cbd0899"}},{"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 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060apps/rebar\u0060 (22754 LoC, 137 module-visible types across 2 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"47778939935661d1b1e3e1296d73b33b4eb79c1c976e269492caa7f705a949d5"},"properties":{"commitSha":"043706030480aab29d5b7742a63e01bba93fa730"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3f78c1a381901ac8a87691c71c8f21d388f2bc021d800e8d04cb93546512dccc"},"properties":{"commitSha":"169bfce6a71de131abfbf3910c34684dc5549ed7"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"1a792a7d72cc6863132a7a6d43b7c151e81250a6ad1e6cf8c94d747676278144"},"properties":{"commitSha":"f76da2e075b90225b727c8ffd30f2a5924723ddf"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"5bd90985df2db31fe84d6abd4c1a23d791c8503eade32af0848a3edcfe7d419a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"81b7b122dd29fa300cc907bb6c67190012ccd02c5ea06ad02dcacb4f073ceaf0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d15df5171d54d9a3cfe919193b940b95eb1db599610449c8b68164e072da6651"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060apps/rebar/priv/templates\u0060, \u0060systest/all_SUITE_data/grisp_explode\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Type =:= rebar3 orelse Type =:= undefined\u0060 appears character-identically in 2 files \u2014 apps/rebar/src/rebar_prv_compile.erl, apps/rebar/src/rebar_prv_manifest.erl. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_compile.erl"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98896d16c28ec19ee90fddf20d6c1c8362fbd725fdc323f66a0883844a16da4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar3.erl"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b906394da0d9bff2fc5714299e14fd65b61f58ea21b8fed3c8a3b40ecdba29e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_agent.erl"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f491c957a4b35eb7d162ebf14206a2d7b5f18f01090a03e2eacf6d112791e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_app_info.erl"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d86e904a1269e83e43a09761f46e77f29ff51c1721214f9e1b39c9c83e114f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_compiler_dag.erl"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"60214f31642858452e8922c56e1626dacadd3c1db824c47ea0129b7b13ae2266"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _Class:_Error\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_xref.erl"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"828e9021bd9db3705087697fa2b3fbf31771740ab934ca55c29cf6e3b98d2c79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_templater.erl"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e7c3b60604975bbb638b3b656ceb4d7fc929948b0e1db1ee134243e586bf2"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rebar_prv_eunit:prepare_tests/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":"apps/rebar/src/rebar_prv_eunit.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3f1e17e0f93f433ed1ccda47ca0816fc1f75edd1ad99a295aee69e6233b58b"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rebar_prv_eunit:eunit_opts/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":"apps/rebar/src/rebar_prv_eunit.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f40565fabb8bf06c341a039032939c6ab3a390c06fa474be3dfc52dc5a29d7e"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060rebar_prv_eunit:validate_tests/2\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/rebar/src/rebar_prv_eunit.erl"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6564657a5766b545d7f95d0a98813082e3fc32229579612df807778bf03f41c9"}}],"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-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":11,"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."]}]}