{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C3","name":"Audit Trail","shortDescription":{"text":"Audit Trail"},"helpUri":"https://codehealth.canine.dev/dimensions/C3"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"Fwup.do_delta_file (cyclomatic 21): Fwup.do_delta_file has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/firmwares/update_tool/fwup.ex"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1145d969b2e9e993a37afff48421edd0a4ea30943ad09ee9751aa0de88c1ca80"}},{"ruleId":"D1","level":"warning","message":{"text":"handleKeydown (cyclomatic 20): handleKeydown has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7732640e7ad18e64fca0ed9b7446ccdc79219632a6acd4956744fee764249d55"}},{"ruleId":"D1","level":"warning","message":{"text":"advancedQueryEditor.classify (cyclomatic 19): advancedQueryEditor.classify has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a30990212aad29beb90cd644dd4c6c2735ecfc824634837f7105117d2dc0d6"}},{"ruleId":"D1","level":"warning","message":{"text":"mounted (cyclomatic 18): mounted has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 13 function items inside it that branch (breachLevel, pointColor, pointRadius, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/chart.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ff528b40221ffa161ec352f6dc2724c1996fe6b0276ceaea47ef10248f8e59"}},{"ruleId":"D2","level":"warning","message":{"text":"advancedQueryEditor.classify (cognitive 35): advancedQueryEditor.classify has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 2 (6 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 15). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: assets/js/hooks/advancedQueryEditor.js holds 3 of the 7 methods over the threshold \u2014 including the worst \u2014 and 38 of the 72 points over it (53%), 2.4\u00D7 the next-largest file (assets/js/hooks/advancedQueryEditor.js at 16). 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":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f869b108c6e8a7a7496994971afb4ffb3f3468b421dd9a7247b0db1d84d5799a"}},{"ruleId":"D2","level":"warning","message":{"text":"advancedQueryEditor.tokenize (cognitive 32): advancedQueryEditor.tokenize has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (10 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 18). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: assets/js/hooks/advancedQueryEditor.js holds 3 of the 7 methods over the threshold \u2014 including the worst \u2014 and 38 of the 72 points over it (53%), 2.4\u00D7 the next-largest file (assets/js/hooks/advancedQueryEditor.js at 16). 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":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f78192d66e16d31413b77611df1f8ee3c20000b459970f70c5f5a917b7f75d8"}},{"ruleId":"D2","level":"warning","message":{"text":"handleKeydown (cognitive 31): handleKeydown has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"687dc2079f16851e619db91e4a6a25fc25bfb5cfab7feadc97dfda5111cd438b"}},{"ruleId":"D2","level":"warning","message":{"text":"Fwup.do_delta_file (cognitive 28): Fwup.do_delta_file has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (25 pts), match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/firmwares/update_tool/fwup.ex"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"137744df50a0ee23858121d08546d81015d03736a12999b52ad6a30adac96d7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Rauc.read_signature (cognitive 18): Rauc.read_signature has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 3 (8 pts), boolean chains 1 (nesting depth added 9). 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":"lib/nerves_hub/firmwares/update_tool/rauc.ex"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf5ca907c34c352da3810c95fda09fe612a8ff0738b6b5587d153e6cd709ca4"}},{"ruleId":"D2","level":"warning","message":{"text":"mounted (cognitive 17): mounted has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 2. Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 13 function items inside it that branch (breachLevel, pointColor, pointRadius, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/chart.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d759d00d4f6599cfd0922196391436545da70c7bbdc13f439c2d2b59b0ac117"}},{"ruleId":"D2","level":"warning","message":{"text":"advancedQueryEditor.setCaretOffset (cognitive 16): advancedQueryEditor.setCaretOffset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (walk). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This file is where this pass\u0027s cognitive complexity CONCENTRATES: assets/js/hooks/advancedQueryEditor.js holds 3 of the 7 methods over the threshold \u2014 including the worst \u2014 and 38 of the 72 points over it (53%), 2.4\u00D7 the next-largest file (assets/js/hooks/advancedQueryEditor.js at 16). 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":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"397864d4f3b76d091ef72f5e4f50de69c53c8a9d58a3b72a20c0a3480992933b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_page/details_tab.ex: FileTooLong \u2014 1266 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 functions. The bar is 500 significant lines; this is 766 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/device_page/details_tab.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac67009a36fe5133fbc4c6f9ba84b6bfbc8983823635d6915f2b453c08cb6db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: devices/index.ex: FileTooLong \u2014 1026 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 526 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/devices/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f7a4ced9c60f959e18784302166e0f7e7cd3db161d822ea13e4c3721db7cfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nerves_hub/firmwares.ex: FileTooLong \u2014 924 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 79 functions. The bar is 500 significant lines; this is 424 over it, 1.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/firmwares.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a70255923632d8fcf1851230cd07544c3ef8b2cdb4e4af7d59440c6d6ed91a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nerves_hub/managed_deployments.ex: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 66 functions. The bar is 500 significant lines; this is 412 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/managed_deployments.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33adebfc971d6749e4d8715be3bc9933823dab143aa0ef590666080b9fa6e419"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nerves_hub/accounts.ex: FileTooLong \u2014 906 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 93 functions. The bar is 500 significant lines; this is 406 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/accounts.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8062ffb2e4df2b7e61334cf0bd2ff1e4f13f7c08fb4f3c493331c7041f7539a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Messages: TooManyFunctions \u2014 51 functions. The bar is 30 functions; this is 21 over it, 1.70\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":"lib/nerves_hub/integrations/slack/messages.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aed7c32d35da89889371d0dca210f2302b9b26f78ad890dce6f6bbb1ee49f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nerves_hub/devices.ex: FileTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 68 functions. The bar is 500 significant lines; this is 347 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/devices.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd37e198029f5585ef1a0e24c71cbcf35ce233c6dd2f505c02eef5c060500fac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Workflows: TooManyFunctions \u2014 48 functions. The bar is 30 functions; this is 18 over it, 1.60\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":"lib/nerves_hub/managed_deployments/workflows.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6147c64a3b9b711462ee0e612f726a520468cfed993fc261204ab4b35c253673"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deployment_group_page/summary.ex: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 242 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/deployment_group_page/summary.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae1402270a04d91528c4ed8329e550455a1c374f681893161b4c3883ee89a64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deployment_group_page/releases.ex: FileTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 206 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/deployment_group_page/releases.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0bed33492c763fbaa27f749d19fe6588f2152eb49a1759f595b8bd79328688"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: EspIdf: TooManyFunctions \u2014 42 functions. The bar is 30 functions; this is 12 over it, 1.40\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":"lib/nerves_hub/firmwares/update_tool/esp_idf.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9283f2cea41f748c3a136d8254facf073248e8da23d581d38756c3f31b988344"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/core_components.ex: FileTooLong \u2014 671 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 171 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/core_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ea37a285e1138c8c65ff48f0df53e663212b36f9b1f8b3ab62f260650c0b25"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AtomVM: TooManyFunctions \u2014 40 functions. The bar is 30 functions; this is 10 over it, 1.33\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/firmwares/update_tool/atom_vm.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b14fc614ed8880dbf88fbf4a7f2c3bfe38ee0b833440292cbb78af95efb44e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Embeds: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0b0321cf4b0812e7bb00b4a9bacc3f17688bdb543795b7c5ee5b2ab81a6e11"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Cards: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/teams/cards.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adcdd80390a0a322fb040e113bd48e52bffb870e4bbf25cf38a3c7f9ff47016"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nerves_hub/device_link.ex: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 57 functions. The bar is 500 significant lines; this is 140 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/device_link.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e22e58ef93a39ca088ac1be679e78f312f9f15666586dbe75f05d68090dfb27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_page/settings_tab.ex: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/device_page/settings_tab.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e7288d398d8189affcbcddec7aeb7802f35406dbe6c63c13248f3bc26c366e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Updates: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\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":"lib/nerves_hub/devices/updates.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a911e6fb8f0e7f9bd3e06ca4727f3ca72f98c1e5a9bab54a1d9a36812fe3fed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: NetworkIdentities: 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":"lib/nerves_hub/devices/network_identities.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8c5ffefe00e1948a04ea102cd10bebf9676a1993df29e1176766666a8616b5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Rauc: 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":"lib/nerves_hub/firmwares/update_tool/rauc.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cac0879d6d768e0122d586df8c7506d7b1623e85948a5bf17fbccdf33d27d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Products: 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":"lib/nerves_hub/products.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d58f41df5496991e8b672e606426b2e2293f6af658b40eb8f375913d39656a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/nerves_hub_web/components/device_page/console_tab.ex:136-169 | lib/nerves_hub_web/components/device_page/local_shell_tab.ex:85-117 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"lib/nerves_hub_web/components/device_page/console_tab.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9f5daed7b84cd12e3d0b13981f888928a08b33e526e46f2b6e6af82af395c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): lib/nerves_hub/devices/bulk_actions.ex:82-87 | lib/nerves_hub/devices/bulk_actions.ex:104-109 | lib/nerves_hub/devices/bulk_actions.ex:123-128 | lib/nerves_hub/devices/bulk_actions.ex:312-319 | lib/nerves_hub/devices/bulk_actions.ex:330-335 | lib/nerves_hub/devices/bulk_actions.ex:346-351 | lib/nerves_hub/devices/bulk_actions.ex:369-374 | lib/nerves_hub/devices/bulk_actions.ex:391-399 | lib/nerves_hub/devices/bulk_actions.ex:410-415 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/devices/bulk_actions.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c506150c7a6d4bdf34693309a8d94de3f695f2fd5ffcaced6e0aa5a185bd20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): lib/nerves_hub/devices/connections.ex:323-339 | lib/nerves_hub/devices/update_history.ex:295-315 \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":"lib/nerves_hub/devices/connections.ex"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3928cfdda555f809249cfb6f0001cdc8dbed9fb5472a71f784a34513ebe658a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/nerves_hub_web/live/deployment_groups/show.ex:190-210 | lib/nerves_hub_web/live/deployment_groups/show.ex:242-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/deployment_groups/show.ex"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a2c5ceabca5c32cf552ce7b5cd4276c63ea8d850149bc616d28a839d2d8f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): lib/nerves_hub/devices/connections.ex:260-274 | lib/nerves_hub/devices/update_history.ex:246-264 \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":"lib/nerves_hub/devices/connections.ex"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"21008901e0f590629e90f4c7e8bdee2450a7fdf5f50461e7c25edc201b5bab7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/nerves_hub_web/components/device_page/console_tab.ex:147-165 | lib/nerves_hub_web/components/device_page/local_shell_tab.ex:95-113 \u2014 before extracting anything, compare \u0060lib/nerves_hub_web/components/device_page/console_tab.ex\u0060 and \u0060lib/nerves_hub_web/components/device_page/local_shell_tab.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"lib/nerves_hub_web/components/device_page/console_tab.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"457b0f4ab8214f7cfd5f4e6221611dda69c6b52eb0e1d0bae59cc2a7362bee92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): lib/nerves_hub_web/live/org/integrations/chat_webhook_section.ex:153-169 | lib/nerves_hub_web/live/org/integrations/slack_section.ex:180-192 \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":"lib/nerves_hub_web/live/org/integrations/chat_webhook_section.ex"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3b4f1b9b328e748e35853b6d80067c9eb6cecf8434107fa64091f68a87c61b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/nerves_hub_web/live/devices/index.ex:349-364 | lib/nerves_hub_web/live/devices/index.ex:434-449 \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":"lib/nerves_hub_web/live/devices/index.ex"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d973187c124a89291b21f62478fd7fa6a5b950580d2a380ee4941822b256bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/nerves_hub/integrations/chat_webhooks.ex:307-321 | lib/nerves_hub/integrations/slack/subscriptions.ex:330-344 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/chat_webhooks.ex"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"de29c69c54f132c1e625136903551fd189a6a5ab47b8c450748bc904a42d86ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lib/nerves_hub/product_notifications.ex:282-296 | lib/nerves_hub/product_notifications.ex:311-323 \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":"lib/nerves_hub/product_notifications.ex"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"553a1ec0dbd4cf1bd1e125f0cebc5064012a18fdf452758f8d739b610f84996c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/nerves_hub_web/live/devices/index.ex:956-977 | lib/nerves_hub_web/live/devices/index.ex:983-996 \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":"lib/nerves_hub_web/live/devices/index.ex"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea28d484e12077ae5219d14d6f2af67e18db55b7ef2a827268ce14408fca7dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lib/nerves_hub_web/components/deployment_group_page/releases.ex:731-743 | lib/nerves_hub_web/components/deployment_group_page/releases.ex:748-760 | lib/nerves_hub_web/live/deployment_groups/new.ex:163-175 \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":"lib/nerves_hub_web/components/deployment_group_page/releases.ex"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc9305334205fa3cd6766c17c5fb9d09a3c804d483ebb072933e546ede2693d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/nerves_hub/certificate.ex:136-148 | lib/nerves_hub/certificate.ex:157-169 \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":"lib/nerves_hub/certificate.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7c4e4cb8f423e5c50db6b7e787d92a233ba58f700c09ffd1d0f9675345846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/nerves_hub/devices/device_filtering.ex:281-293 | lib/nerves_hub/scripts/script_filtering.ex:31-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/devices/device_filtering.ex"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce3425409da74d883901ce66dfc92335820888ce179de7db991d20b26bb6807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/nerves_hub/devices/update_stats.ex:32-44 | lib/nerves_hub/devices/update_stats.ex:87-99 \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":"lib/nerves_hub/devices/update_stats.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde8f95841c69535ee0337f68e9546b455142ccd6950ee04b017734cbed79750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/nerves_hub/managed_deployments.ex:1284-1295 | lib/nerves_hub/managed_deployments.ex:1319-1330 \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":"lib/nerves_hub/managed_deployments.ex"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"258996a8097b1a2db3111d42e4adbddf33731b6870307f3b22aa8585652a1445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/nerves_hub_web/components/deployment_group_page/settings.ex:527-538 | lib/nerves_hub_web/live/deployment_groups/show.ex:126-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/deployment_group_page/settings.ex"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47ba240ac06e94691137e64764430dbb293a86d0c5f429e2dfa52f32a4656be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/nerves_hub_web/live/deployment_groups/new.ex:149-159 | lib/nerves_hub_web/live/support_scripts/edit.ex:38-48 | lib/nerves_hub_web/live/support_scripts/new.ex:31-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/deployment_groups/new.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e64e9d0f7e2cc5e9d9a90d8bbcbbd631da86d0fe5836235f3f333e491a20645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/nerves_hub/analytics/buffer.ex:218-228 | lib/nerves_hub/error_reports/group_buffer.ex:404-413 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/analytics/buffer.ex"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8f8461166e9810e3549d2aac8aed513706014a11352d610398ef4ac13d6864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/nerves_hub_web.ex:113-121 | lib/nerves_hub_web.ex:176-186 \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":"lib/nerves_hub_web.ex"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"593707849fd7b7fdee70785cf41cb441c90c129785b8e4c825d967a7b6d8d579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/nerves_hub_web/components/device_page/details_tab.ex:264-274 | lib/nerves_hub_web/components/device_page/details_tab.ex:536-546 \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":"lib/nerves_hub_web/components/device_page/details_tab.ex"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba50c545ab72e1ac58167b146bef64fe6d2b127b95e7f76ea0f7c7503eb69a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/nerves_hub_web/components/device_page/details_tab.ex:368-377 | lib/nerves_hub_web/components/device_page/details_tab.ex:409-419 \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":"lib/nerves_hub_web/components/device_page/details_tab.ex"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c909dbd1d903180a63dba012471dd536decd4501ee0aa9eb61a75b41997882cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/nerves_hub/device_link.ex:606-614 | lib/nerves_hub/device_link/authentication.ex:138-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/device_link.ex"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"49784718f63c8395734a8099ee8fc3bba3e5413e4a0d935a1994095c9fa17ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): lib/nerves_hub/integrations/teams/cards.ex:277-284 | lib/nerves_hub/integrations/teams/cards.ex:292-301 \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":"lib/nerves_hub/integrations/teams/cards.ex"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee976859b716c0b956dbc6b1b120b7b076d868133b22f80769c6cc54252ee6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/nerves_hub_web/channels/user_console_channel.ex:121-130 | lib/nerves_hub_web/channels/user_local_shell_channel.ex:51-60 \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":"lib/nerves_hub_web/channels/user_console_channel.ex"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d27a65f8c33a8e15d584b5ce57bbe7589d9e1e2d54ff96620c13c04193b08a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/nerves_hub/archives.ex:32-40 | lib/nerves_hub/firmwares.ex:160-168 \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":"lib/nerves_hub/archives.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d22295cd52b19ec7af002639c6a59e560a3bc292798758b7c1272a719730592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/nerves_hub/firmwares/update_tool/esp_idf.ex:471-478 | lib/nerves_hub/firmwares/update_tool/fwup.ex:291-298 \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":"lib/nerves_hub/firmwares/update_tool/esp_idf.ex"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"603ac3ba48b4a44cad734d7790e77bc5d7f19e8275ea89adb77efff7ba991dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/nerves_hub/devices.ex:87-93 | lib/nerves_hub/devices.ex:154-160 \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":"lib/nerves_hub/devices.ex"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fffe9f4239b92798c2be3df2200f234c29644adbe2e2bd1fdab4846232d9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub/devices/deployments.ex:43-48 | lib/nerves_hub/managed_deployments.ex:578-583 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/devices/deployments.ex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5128dde5ce98ab027ba7505b4985c186057bed83fa277ad0f5d521754d0ae8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): lib/nerves_hub/integrations/discord/embeds.ex:80-85 | lib/nerves_hub/integrations/slack/messages.ex:90-93 | lib/nerves_hub/integrations/teams/cards.ex:76-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3d2b70c1342b9619ed3195990e9eb43a7808577a46af609f7304b21eb11a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub/managed_deployments/deployment_group.ex:146-151 | lib/nerves_hub/managed_deployments/deployment_release.ex:66-71 \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":"lib/nerves_hub/managed_deployments/deployment_group.ex"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"027a0c74d6b0b6ab86e30fb02921f9d9129ec891fe6eb3099949184d0b9e7fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub_web/components/device_page/console_tab.ex:136-142 | lib/nerves_hub_web/components/device_page/local_shell_tab.ex:85-90 \u2014 before extracting anything, compare \u0060lib/nerves_hub_web/components/device_page/console_tab.ex\u0060 and \u0060lib/nerves_hub_web/components/device_page/local_shell_tab.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"lib/nerves_hub_web/components/device_page/console_tab.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40631771c675755ca93abc093e1771c2972872f3e5a70e6162bcd9bd2157e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub_web/controllers/api/ca_certificate_controller.ex:120-125 | lib/nerves_hub_web/controllers/api/device_certificate_controller.ex:138-143 \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":"lib/nerves_hub_web/controllers/api/ca_certificate_controller.ex"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"42165cea7d31a102949fb0d9b86a5884a74ef20753f0f096746d7068decde86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/nerves_hub/integrations/discord/embeds.ex:106-110 | lib/nerves_hub/integrations/slack/messages.ex:110-114 | lib/nerves_hub/integrations/teams/cards.ex:101-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d499fcfcfda0924878b1c0c0f1b3a9643e085c10f143cd2e11e600f2809fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub/devices.ex:1011-1015 | lib/nerves_hub/devices.ex:1023-1027 \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":"lib/nerves_hub/devices.ex"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba2c84f7398a7b4b56ad9d5d721cd71a62cb9feecfb17e45f9721b0b7134f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub/devices/bulk_actions.ex:203-207 | lib/nerves_hub/devices/bulk_actions.ex:256-260 \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":"lib/nerves_hub/devices/bulk_actions.ex"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c5f9802de85dd3ad5ef703daae03c2a39262f1f9af3fe894daedfa95b4fc92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub/integrations/discord/embeds.ex:183-187 | lib/nerves_hub/integrations/teams/cards.ex:170-174 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bf55fcbb4622594e94184b951702cb9f7faead0c5cd3d58daddfa14ec4b3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub_web/components/core_components.ex:508-512 | lib/nerves_hub_web/components/core_components.ex:657-661 \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":"lib/nerves_hub_web/components/core_components.ex"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c72069cced0aaee8dc22ab1ac038cb14fe9a8aa4d59c0b3942ad9f5cc4a153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub/archives/archive.ex:77-82 | lib/nerves_hub/firmwares/firmware.ex:114-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/archives/archive.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8072227bea309eea2144a30e640894e75463c4d8af3663e76ad6e44179d6f8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lib/nerves_hub/extensions/alarms.ex:188-196 | lib/nerves_hub/extensions/error_reports.ex:118-126 | lib/nerves_hub/extensions/metrics.ex:180-188 \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":"lib/nerves_hub/extensions/alarms.ex"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f3292d0b022382bd87df8a54dc7bf66fd9ebed4e206ee99874aa2a26a24527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub/extensions/health.ex:132-138 | lib/nerves_hub/extensions/metrics.ex:162-166 \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":"lib/nerves_hub/extensions/health.ex"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9edae9662d49bde20ec2fe7b866becf812bcac79634366ad856da07d3b8f6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/nerves_hub/extensions/health.ex:142-148 | lib/nerves_hub/extensions/metrics.ex:265-271 \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":"lib/nerves_hub/extensions/health.ex"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"890343665efa670049cb997fcd066d396e0d3595b9ecd57fe3a776a862746b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/nerves_hub/firmwares/update_tool/atom_vm.ex:573-582 | lib/nerves_hub/firmwares/update_tool/esp_idf.ex:724-733 \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":"lib/nerves_hub/firmwares/update_tool/atom_vm.ex"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12ee6ac407cca80f293f2f4afaf1878b4e8b7f5214b32bfe46b0f55297b9120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/nerves_hub/integrations/cache.ex:90-101 | lib/nerves_hub/products/health_profiles/cache.ex:85-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/cache.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e1b75b323c951fc48e417bb2501cad1500cde512c9a380d6a466495bf9c600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/nerves_hub/integrations/discord/embeds.ex:127-136 | lib/nerves_hub/integrations/slack/messages.ex:128-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"920305e266a8dcb1e03e195effe215907e3c2bb2e2aaca49c48af0d3ea845c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub/integrations/discord/embeds.ex:202-206 | lib/nerves_hub/integrations/teams/cards.ex:182-186 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9c63c823ef9212da9121fa23f52bf79584c53c9264f9f7b149941f4098467e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/nerves_hub/integrations/discord/embeds.ex:326-331 | lib/nerves_hub/integrations/slack/messages.ex:381-386 | lib/nerves_hub/integrations/teams/cards.ex:330-335 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a239cc871e75033bab27534700e9d3296b092b33415731fa3d088c1e2f097d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub_web/components/device_page/console_tab.ex:173-177 | lib/nerves_hub_web/components/device_page/local_shell_tab.ex:121-125 \u2014 before extracting anything, compare \u0060lib/nerves_hub_web/components/device_page/console_tab.ex\u0060 and \u0060lib/nerves_hub_web/components/device_page/local_shell_tab.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"lib/nerves_hub_web/components/device_page/console_tab.ex"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf864c936c95cf19615297f3883e4e7397b3324babc9a14aa15060c5c7af73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/nerves_hub_web/components/filter_sidebar.ex:100-106 | lib/nerves_hub_web/components/list_settings_sidebar.ex:98-104 \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":"lib/nerves_hub_web/components/filter_sidebar.ex"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdb9243e8f7f398a2fdd5aaa8642371411cb3a82082744e9452649e3d97f3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub_web/components/layouts.ex:39-43 | lib/nerves_hub_web/live/devices/show.ex:480-484 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/layouts.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4ab6ae2452d46da3db4fbbcb90f075f7412f16fc3d8b971537684830ce600b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/nerves_hub_web/controllers/api/device_log_controller.ex:102-110 | lib/nerves_hub_web/controllers/api/device_metric_controller.ex:93-101 \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":"lib/nerves_hub_web/controllers/api/device_log_controller.ex"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"08da018e06443dea374705adcfde1675aa12f2a64bf6277c48c8c9cc1c0c3153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/nerves_hub_web/controllers/deployment_group_controller.ex:20-30 | lib/nerves_hub_web/controllers/device_controller.ex:27-37 \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":"lib/nerves_hub_web/controllers/deployment_group_controller.ex"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9368737903ef8d375b57b4ac8d7f63f95020821cb4cb3bb764e23939c50010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub_web/integrations/slack/device_cards.ex:144-149 | lib/nerves_hub_web/integrations/slack/script_runs.ex:165-170 \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":"lib/nerves_hub_web/integrations/slack/device_cards.ex"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b72c75cd9d1b50d6366aa56537744c0480df5fe590484246283d42c39ab0abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): lib/nerves_hub_web/live/archives.ex:71-75 | lib/nerves_hub_web/live/deployment_groups/index.ex:102-106 | lib/nerves_hub_web/live/devices/index.ex:192-196 | lib/nerves_hub_web/live/firmware.ex:103-107 | lib/nerves_hub_web/live/support_scripts/index.ex:77-81 \u2014 \u0060lib/nerves_hub_web/live/deployment_groups/index.ex\u0060 and \u0060lib/nerves_hub_web/live/support_scripts/index.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 38 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/archives.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9059a1dc36e7fb01bc8add0bdf23db80f39040590ea2783985cb39a89968d73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): lib/nerves_hub_web/live/archives.ex:83-91 | lib/nerves_hub_web/live/deployment_groups/index.ex:130-138 | lib/nerves_hub_web/live/devices/index.ex:163-171 | lib/nerves_hub_web/live/firmware.ex:114-123 | lib/nerves_hub_web/live/support_scripts/index.ex:98-106 \u2014 \u0060lib/nerves_hub_web/live/deployment_groups/index.ex\u0060 and \u0060lib/nerves_hub_web/live/support_scripts/index.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 38 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/archives.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"265bfb155402a05beb0d6057334382d017bc122f691e4c33e52095e6f21e2153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): lib/nerves_hub_web/live/archives.ex:206-212 | lib/nerves_hub_web/live/deployment_groups/index.ex:188-194 | lib/nerves_hub_web/live/devices/index.ex:1131-1137 | lib/nerves_hub_web/live/firmware.ex:328-334 | lib/nerves_hub_web/live/support_scripts/index.ex:188-194 \u2014 \u0060lib/nerves_hub_web/live/deployment_groups/index.ex\u0060 and \u0060lib/nerves_hub_web/live/support_scripts/index.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 38 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/archives.ex"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfd73d57748495c2746ebdd1a482b8ba5991ecbaf7e3c35670d9d418d11f995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/nerves_hub_web/live/deployment_groups/index.ex:143-147 | lib/nerves_hub_web/live/devices/index.ex:176-180 | lib/nerves_hub_web/live/support_scripts/index.ex:112-116 \u2014 \u0060lib/nerves_hub_web/live/deployment_groups/index.ex\u0060 and \u0060lib/nerves_hub_web/live/support_scripts/index.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 38 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/deployment_groups/index.ex"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2dd666f552f7e81a5436a143da69a87bb3d5ad9fc2105cc7a175750f075af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/nerves_hub_web/live/org/integrations.ex:234-238 | lib/nerves_hub_web/live/org/integrations/chat_webhook_section.ex:246-250 | lib/nerves_hub_web/live/org/integrations/slack_section.ex:297-301 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/org/integrations.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ab64ddef38a20e60da0317a923a852acb393b27fdcb332a76bcb8bc6f7266b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub_web/live/org/integrations/chat_webhook_section.ex:28-32 | lib/nerves_hub_web/live/org/integrations/slack_section.ex:31-35 \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":"lib/nerves_hub_web/live/org/integrations/chat_webhook_section.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f88bafc2a8745a214168d657f7782cc17d063f78bdf1748cc3b4d3fcab91bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/nerves_hub/accounts.ex:528-534 | lib/nerves_hub/products.ex:139-145 \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":"lib/nerves_hub/accounts.ex"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0b8a82806f73d18440818b77f4df44fd39647257c7aaa557eb968e4924830e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/nerves_hub/firmwares/update_tool/atom_vm.ex:535-541 | lib/nerves_hub/firmwares/update_tool/esp_idf.ex:225-231 \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":"lib/nerves_hub/firmwares/update_tool/atom_vm.ex"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b41209ef3d30d09869332fe914cfd56cf73fb7d0d2561c5b976bc6eede74430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/nerves_hub/integrations/chat_webhooks.ex:167-173 | lib/nerves_hub/integrations/slack/subscriptions.ex:169-175 | lib/nerves_hub/webhooks.ex:182-188 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/chat_webhooks.ex"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"053089f46ec2281fc45426fce13b50f16d850ec901e1c5bff05a6519b641dd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub/integrations/chat_webhooks.ex:372-377 | lib/nerves_hub/integrations/slack/subscriptions.ex:396-401 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/chat_webhooks.ex"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e17ddf05e9db2078174636b005b9c193a6760806ed2d5384d9c0fab80e3ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub/workers/post_chat_webhook_events.ex:30-35 | lib/nerves_hub/workers/post_slack_events.ex:30-35 \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":"lib/nerves_hub/workers/post_chat_webhook_events.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff049d06bf5db297a18d077cbe6aa966d82d4178c2ee9b806ca9cf217c9266f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub_web/components/device_page/activity_tab.ex:9-14 | lib/nerves_hub_web/components/device_page/firmware_history_tab.ex:9-14 \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":"lib/nerves_hub_web/components/device_page/activity_tab.ex"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"101d2c1383bbb6682bd85b306acf7904a7b41c24eb784ac9779686e3dc77c745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/nerves_hub_web/components/device_page/console_tab.ex:117-124 | lib/nerves_hub_web/components/device_page/local_shell_tab.ex:227-234 \u2014 before extracting anything, compare \u0060lib/nerves_hub_web/components/device_page/console_tab.ex\u0060 and \u0060lib/nerves_hub_web/components/device_page/local_shell_tab.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"lib/nerves_hub_web/components/device_page/console_tab.ex"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"08027d1bc301902be052e04c93448ab830b04fd1cac0998c1b3a124bcfefe1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/nerves_hub_web/integrations/slack/actions.ex:286-295 | lib/nerves_hub_web/integrations/slack/workflow_steps.ex:150-157 \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":"lib/nerves_hub_web/integrations/slack/actions.ex"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"967cafdc71c7f1c0bd2d591705e12903491c8fdbcca298a644a16ffa755c67c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/nerves_hub_web/live/deployment_groups/index.ex:174-184 | lib/nerves_hub_web/live/support_scripts/index.ex:158-168 \u2014 \u0060lib/nerves_hub_web/live/deployment_groups/index.ex\u0060 and \u0060lib/nerves_hub_web/live/support_scripts/index.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 38 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/deployment_groups/index.ex"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0398fb1d4433998f3b23e6780afb3884a103ed53cc987e13c6fdbc1fd178c557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub/accounts.ex:488-493 | lib/nerves_hub/products.ex:83-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/accounts.ex"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd81bf0a38dfd245ffd8771d399c0dd23ab4ab1fbe7aac99908fc9bf868c5378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/nerves_hub/devices.ex:80-85 | lib/nerves_hub/devices.ex:142-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/devices.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6218c2f15046ce1834fa8489d00f3d71cf6c98c1539c437dda824a99f8b8437a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): lib/nerves_hub/devices/bulk_actions.ex:83-87 | lib/nerves_hub/devices/bulk_actions.ex:105-109 | lib/nerves_hub/devices/bulk_actions.ex:124-128 | lib/nerves_hub/devices/bulk_actions.ex:315-319 | lib/nerves_hub/devices/bulk_actions.ex:331-335 | lib/nerves_hub/devices/bulk_actions.ex:347-351 | lib/nerves_hub/devices/bulk_actions.ex:370-374 | lib/nerves_hub/devices/bulk_actions.ex:395-399 | lib/nerves_hub/devices/bulk_actions.ex:411-415 \u2014 all 9 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":"lib/nerves_hub/devices/bulk_actions.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a2db9d95a8f2da2fcd6de33f3e0b60015b487d0b73d24202d6504310b5610b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/nerves_hub_web/channels/user_console_channel.ex:32-36 | lib/nerves_hub_web/channels/user_console_channel.ex:46-50 \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":"lib/nerves_hub_web/channels/user_console_channel.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"985592df162be37f07bb5169f817f6cf46580ebc841624e2e6ca145850f06e0c"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating source dependency: opentelemetry_oban: Runtime dependency \u0060:opentelemetry_oban\u0060 is fetched from source in mix.exs and tracks a branch \u2014 the declaration pins no immutable revision, so \u0060mix deps.update\u0060 moves this dependency to code nobody reviewed. Pin it with \u0060ref:\u0060 (a full commit SHA) or \u0060tag:\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"29c046dcc888924127686f1c016504c2678b8407ac425537951d956a7cf1d8eb"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51a4794cf20cfad63d58bf27b658cdae057529f207f0c754d3a26509c101fef6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06ae98cb9941134bcb070ef6a7c03ec5e1bfc1d7afd37c3e5ed3186202ab1505"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38fcc0bc1553f1aac5c41a555e8a3fdb2d63d107b4c88d77e7f7d8077b70cad3"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d90e4a4adf383a8429fd895d4ad4f7619294650ef3b4b158dcbdcb378ef143df"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 79 significant file(s) lose their only recent owner: lib/nerves_hub/managed_deployments/workflows.ex, lib/nerves_hub/firmwares/update_tool/esp_idf.ex, lib/nerves_hub/firmwares/update_tool/rauc.ex, lib/nerves_hub/devices/network_identities.ex, lib/nerves_hub/product_notifications.ex, lib/nerves_hub/firmwares/update_tool/atom_vm.ex, lib/nerves_hub/firmwares/update_tool.ex, lib/nerves_hub/error_reports/group_buffer.ex (\u002B71 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f424faf9df22f25af25d66dee1c3efcdadca7cb6d94d7b9bc62d7f41d8e7b236"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (80 single-owned of 291 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 291 of the 759 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: lib/nerves_hub_web/briefly_upload_writer.ex."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Maybe check for cert expiration \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":"lib/nerves_hub/ssl.ex"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3932bb634feee7e7796e560327a1ca10b294697eb369c3d73a01d3e5ae7b63c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support device allowing multiple public keys? \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":"lib/nerves_hub/ssl.ex"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6079f3c4c146e5794cef3e1279dfed0fd30456b8e36f7ae32ab6a2a897f91aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: check on other return signatures \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":"lib/nerves_hub/archives.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce30a2afe8d223c2208af44137aa98dfbb639ddabbd72b38719dcb1f31cfef36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This first match is the V1 token that will need to be removed when deprecated \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":"lib/nerves_hub/accounts/user_token.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2595d7ef472fba2763e4a7e610c598a0343e83f97557381ba5d98f3797e8a347"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: look into removing :password \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":"lib/nerves_hub/accounts/user.ex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"be14ee0fabee31d641160c4e3c1c34d9afe6f772b12fbefd4e48f85588314a1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support JITP profile here to decide if enabled or what tags to use \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":"lib/nerves_hub/device_link/authentication.ex"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9c6346cfb083e063454cb79b69a3303d684eaf89e59a047277855a3a239b54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this \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":"lib/nerves_hub/devices/device_certificate.ex"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6cf695e208cb2ea14a07c0225ca103f3348a27fa9d6c1149060ecb395ee89b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add this - But lots of tests would need fixing first \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":"lib/nerves_hub/devices/device_certificate.ex"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bcafe3dc6b7ecd900be07b958c77356f8615cf9e89c3a160cfb544babe8086"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: (joshk) this column is unused, remove after 1st May \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":"lib/nerves_hub/managed_deployments/deployment_group.ex"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"54db73c3b680e3b30cb1138edcc51ac178da994677d3b755ac48ee8e99bb68f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: is this an API we need to document in link? \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":"lib/nerves_hub_web/components/device_location.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba4c240a73f83dd03528379699174754ddd912b5c270d704379d1f651ef3020"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: can be removed when we remove our use of Phoenix.HTML.Form \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":"lib/nerves_hub_web/components/core_components.ex"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80fcb18bb358bb9ff61d79f7e3d45d0cdf0036b5afd824a0e735111122e3feb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this is duplicated code, find a new way to reuse it \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":"lib/nerves_hub_web/components/device_page/details_tab.ex"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1f3af8983da4067f9e7d1e70c127177c99048f02e372519f509a33af16ec61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support cert expiration and test 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":"test/nerves_hub/ssl_test.exs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945625609550eb81463907af5f3907408d0c139adff0a0d161bf1b6d2f3c3a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add test for UpdateTool.device_update_type default implementation in Fwup \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":"test/nerves_hub/firmwares/update_tool_test.exs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e829fbcb6cdd1aa60e78b597d5e500d3ccaaee5eaf467453fb0dcd170e626"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove when DERs are saved \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":"test/nerves_hub/products/products_test.exs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f894efc81983350f1714585059766fe222d0d757848a0346014c78390e18c98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove when DERs are saved \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":"test/nerves_hub_web/controllers/product_controller_test.exs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"836b299cd98f470bfe3c7c53f15026dc2c60b289b2ddf4080dc0c238c70ed0ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove testing JSON when DERs saved \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":"test/nerves_hub/products/products_test.exs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e3a9ef9cdd98bff48a6675699bbdc078397079866c0aac78b42daa3ac51974"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove testing JSON when DERs saved \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":"test/nerves_hub_web/controllers/product_controller_test.exs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1d5ec954642bbb00abb031c69c75fc83b347f2a06915e745d41c88d88bc47e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: (nshoes) \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":"test/nerves_hub_web/live/devices/index_test.exs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99af003b8260304de674772acf904550353710f4009371e89c064dbc08c5ad6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: (nshoes) \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":"test/nerves_hub_web/live/new_ui/devices/index_test.exs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47f8104f190f7e74d9f917e5a036e22366750ae604b42b7885a0330ce2b1d46"}},{"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 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (63700 LoC, 586 module-visible types across 68 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":"a5589c3eb4972c2be5f0b7aade914b710b4b7f6242410ab59d7742cfb60c9e7a"},"properties":{"commitSha":"7e6fba4a70f2a5c63e13ee9ea528b99631bb9031"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"eb057d6f8dc14318098ac73f39fa144fcadfe000e9a19617c8d1be0eed036dfa"},"properties":{"commitSha":"469dbedcb9d6a0520ca38125d9992957145a9241"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"dd9e8d9e3631b651f83ea9881dc8bd57584998b3f5460d6e261e7706d75f4e66"},"properties":{"commitSha":"5be48f29060cb8eaa573b42c33c5b5aaadacf196"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"339d3651f65953a4ff27c12e7134c74216f6cad664d6112f43b01bbc3ae96d64"},"properties":{"commitSha":"e3c34913c8ae4b143e9c0ce173574a225e8fe887"}},{"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":"732e683592de050ea850d5a3cb871fa1aa9f86d1bb4cd8e06b4d2887970b9dff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a619a6fac3c87513eee8c2f95072932e19dd25628fc90a2382445d68d58a0b8a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e2b3183f3c5ad97f177713bca5c6c922c0c4de61a0673d5a699bd50b5586c2c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00c93046034ebae5ef6058da95b6e03589be8ee23c72883b3ebc48d8d3aff6dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e97c7e216d2e92ee81d6106ec033eece371ebba64ba7d9b2db4a8c7bb2ffd933"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de24fb5b2f9808dee7349e0f8b4bf4e8fc0b77a05b8578184e5f23b813b48863"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33394ee39f39770f7a430febd0131f24983c2f80ad8e34937c28618fa87f07ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f19fc865c57216518582aaae5939801ded8e425f8e1c3772a07b58b8f7b10068"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ffcc1b724469248fcd864b1901b4fb0cedf5b911fb5d6075b57cf61232c29e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0c83793ab31bf3bc4e3cc0017a93931cc44a534267eefc63c9d22d4546750e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1628972a2256e3db1a84c557ad86ea62f94b02ad21839bf65426eb6748757d45"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96f88121b035a898a6759141862415469563ae4858d3bd2449d90d5e5ba04a57"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"879baaad9e946ea0e39a50b2cdc5f9029d901f7eac797a35ba687023b6f8a8c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c56c8f9c909ad6ae9511a19a007d973d620dbf480ce02acf90a7a01720caab19"},"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":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c50a685f4fad5b200529e3248eb29b9b6e51307ffee44e1dcee64bd5be5c7681"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92ba10973c548a4efb695f72c0545f01d089f3d47e749ee40741df024e4afc7c"},"properties":{"dependency":{"package":"http-cache-semantics","version":"4.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a7bc1de23b9725e05f0654745fb78da1f31e6ebcfca3b03df2934996635b298"},"properties":{"dependency":{"package":"@faker-js/faker","version":"5.5.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"3c2cad15b486f71fd381b047425911aa7d686939489f41549e6e33b66b813749"},"properties":{"dependency":{"package":"phoenix","version":"1.8.7","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"assets/js/app.js","line":2}}}},{"ruleId":"D30","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":"4ce5802548ce5bc0ce8d9f723cbcd8b0d634659dea4a3ab9c4ddfb04e0960dc9"},"properties":{"dependency":{"package":"react-router","version":"6.30.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"a70fd225759adf29cb92a6b1017c0fe7ea9452e3ac8da20b91dc5ae32e351cfd"}},{"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":"29c5a69517bdc6be0a7652682ca771529e34db120953e1081b916d925f128c1c"}},{"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":"3733dde7eacca42e7c0cccef587531001dcbbe49a8c8232fc194a6dc6cfd4569"}},{"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":"cb3c79acfec7e86e2389a4eb68259ea3f90c5cc210e2567ef38ba831bd27f5ef"}},{"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":"fd86485610495857efdc1e6fd171960783b809d09263ab0acee6ecfcba81af9e"}},{"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":"04e6facb7f520332bc27bda770daafae2bbd91111f5cdac2c97297d0ef229a86"}},{"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":"7e926e34f5e245b07ddebfc9abf65563cc717d44b2881f392e0e9b66bcde89de"}},{"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":"f61414b58a25ce3b42dfd6d87499c83540b42f20c85247be0c7e6d9fc366bcf6"},"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":"e0d8343507773d3f005372d37eb3923bf9807c22ba3ccdff8c81d4f8daf22493"},"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":"c5540a5434e422fe75348f550a6dfbe840df84bb40a2e88ed69eabcfcef20201"},"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":"4c13c7c598cd25ead98827b1ac3074ffde871f96a32fd84a0199266730214a6f"},"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":"4a962564194e57185648e45399cf566ef1f59f7ac061e6f41b042cae70e546a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"bba8729622ac1adc480237067f5c9e5e2ad4dc15e3648f3be686fe5a2f219bd5"},"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":"cf542e4563553790089921376167e13c5769125673b62f73d5ac61e4f707abe8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"846c52d67e3aca67d0a8fc77db867635af25e3a6d7279756096ec6c431f1f11d"},"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":"9c344c1726ae4d36815166cc0f899f3c6ea2922db240ec672c573a5f43c05419"},"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":"1fa5b6a72d8ed91004e2e86dd8bb5257482825c2be934d511d7756460cc2d5e6"},"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":"99494d732b2148768f10d7f159eca1ca5e9a3389e313e5efc033a9b86b97452c"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 of 291 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 291 of the 759 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: priv/repo/seeds.exs, lib/nerves_hub_web/channels/presence.ex. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/repo/seeds.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28191ce97ff21cf6549cc301ff954df22c37774c1054aeef8d6fbf920044691"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/channels/presence.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3d3e80bb40465fe9c2e82bd57ee06a4b884ad301874bdb48aeb6a1db3bfc1e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: archives.ex \u2194 firmware.ex: \u0060lib/nerves_hub_web/live/archives.ex\u0060 and \u0060lib/nerves_hub_web/live/firmware.ex\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060f3821b24\u0060 Build fwup 1.17.1, and say when firmware needs a newer fwup (#3111); \u0060ce87b4fd\u0060 4 small UI improvements (#3044); \u0060599da8d4\u0060 Write firmware uploads directly to the temp dir (#2791) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/archives.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b397643d495cf9797e1085e2d1d6fcb6b4d731a88c3ecca36b426acd187f3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: authorization.ex \u2194 router.ex: \u0060lib/nerves_hub_web/helpers/authorization.ex\u0060 and \u0060lib/nerves_hub_web/router.ex\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060f9601ebb\u0060 Connect Slack workspaces to an organization (#3119); \u0060f91b2550\u0060 Require users to accept organization invitations (#3027); \u00602f9fbb8e\u0060 Let a person or an organisation hold an identity, and add a page to m\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/helpers/authorization.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42775bdb9d088b3a401564f6081dc0cd360d36595f545609ad9ee58339d32db4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.ex \u2194 index.ex: \u0060lib/nerves_hub_web/live/deployment_groups/index.ex\u0060 and \u0060lib/nerves_hub_web/live/devices/index.ex\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060c42b8290\u0060 Simplify and improve the filter and settings sidebars (#2797); \u0060c909a6a5\u0060 Add support for customizing the columns listed (#2763); \u0060c2b1e32e\u0060 Fix cases where a logged in user could cause atom exhaustion (#2655) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/deployment_groups/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fc55de16ec6879d2b5b0d438459e83f1eef0ff98f44f133e857c59dae9e455"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ca_certificate.ex \u2194 ssl.ex: \u0060lib/nerves_hub/devices/ca_certificate.ex\u0060 and \u0060lib/nerves_hub/ssl.ex\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060fb0b0258\u0060 Register CA certificates that have no Authority Key Identifier (#3115); \u00607e740942\u0060 Allow trusted expired CA signers by default (at that commit the file was still \u0060lib/nerves_hub_device/ssl.ex\u0060); \u00601854db25\u0060 add Just In Time Provisioning for Devices (at that commit the files were still \u0060apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices/ca_certificate.ex\u0060 and \u0060apps/nerves_hub_device/lib/nerves_hub_device/ssl.ex\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/devices/ca_certificate.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b677992b8caf381c7e1de5aa85cf23c6b0b0123b4c81ff8079a720179220b79"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/error_group.html.heex"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f793277480224613dd6518d419fa100cd07d425a25a8eb0f6c85a4475dba0cb1"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/insights.html.heex"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b8aabe38d93d58dd616a0e4847c485c49f86579ac35e9fa63fb0c0f4d53a69"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/insights.html.heex"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0fa15085b7a0617b8423410d74c9d523e7ac6fa1431aa68929bf1a9bd6deea"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/insights.html.heex"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dd8471ac24b5659d80731d0d61cbb53f5091169aec3613fa762663c27799b6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/devices/index.html.heex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4dfb6d53aa1a33292c417bd1162c2c000064f54e024475dcbd096ecd7b6eaa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/devices/index.html.heex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"881decd7d01daf7cadef16f19f403e295b26577ba753454aa41c04bd77fea8af"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/org/user_templates/invite_template.html.heex"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fb82ee3af4900f522dea6757639e882bf0fc4e943e7bdc6c93f0fbe6401329"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/errors.html.heex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d268cb2255f66855f829b5035cb9f9e28a425ce4c2aa01659056445671c133a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/health_profiles.html.heex"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb988b5d9d76b19ae3b3ba193a485aefff4713af06e9d885f83dfe211519527"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/health_profiles.html.heex"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdd47be90f4ef9d86e7335b834f626362f5fa1b63eba63f3b3cab7702406b8c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/settings.html.heex"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f5df65cac34628f23f297b03189549a8ecb653bcb0e61138b04ab2c0f44576"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/settings.html.heex"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b31e4c2c7866139f0b9caa5ba5801568753a50e530036258f33d931a0fdd7d3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/settings.html.heex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b375cb97ceec6d85934f7955d5d6ad4e402d27227ac8667f543366e6efb0e3f1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/product/settings.html.heex"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46affdd12ab9dc533c9ec0db9bee8007692346fa8d230135170c8a30f29ae77"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/products/new.html.heex"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf8e5d2d5030d3657ff499f97738b7c56a689e1a3bb04e616bba052f11bae73"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/layouts/root.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1047af20c03860b2ebbd003ec1a1455cd8acc4d2cf23f5f2259923d16b05109a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/components/layouts/root.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"04390fc45d7b88898c9655a5a552d55bc64cf710ae6639cef43f41f0776277f0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/controllers/error_html/400.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9ef20c1205f7a241c9e1c06bc77951c56739c9d012a6ef802c138c2b24ea50"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/controllers/error_html/404.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34af95bada6b9f6343f9daff37ff0d162f0e1543f18d40793f648399b8bc734"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/controllers/error_html/500.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a51b605fb0408ca4cb4beaa208aa47f88b953f591b9254cb7d79ba46e50d16"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/org/certificate_authority_templates/new_ca_template.html.heex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba19b6e5de9e75cc12a32d2a79e6613cd801f545b9471cf78f6331b46aae9713"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/org/delete.html.heex"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bb956b2fc3ab0b4f7442ab606bff862ab7c262c444f67a64e7ca8c16b140a0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/org/settings.html.heex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e586f1a802c8187113a4f68a751c4dbb98f9a5f26b5046e024b95797b4c18eb0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/org/signing_keys.html.heex"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2f18fa8a69dc1b861280c93cf7672359d85df7641b17b4ac0d1332152694d6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub_web/live/orgs/index.html.heex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0f70c16a98b8350d9f293ca423590f30d28b2291921692d10d1c123e2fec29"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 59 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C3","level":"note","message":{"text":"Partial audit-trail evidence: An audit mechanism is present, but the trail is not yet complete \u2014 missing: a write-side hook every change flows through (ExAudit.Repo, PaperTrail, AshPaperTrail, Carbonite, a Commanded middleware recording each command, or an event-sourced store), per-model coverage (a change-history library on each model that needs a who-changed-what trail, or an event-sourced aggregate)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"274a04e524f3228d241c99316455563739cb06cfd10a01e446d00b8a14956083"}},{"ruleId":"C4","level":"note","message":{"text":"Partial data-retention evidence: A retention mechanism is present, but the data-lifecycle is not yet complete \u2014 missing: an expiry limit \u2014 a declared maximum age / TTL after which the data is no longer kept, a documented retention period / data-expiry."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6c843eccaff7ffcfe5241125b74768c2364055ab6678b12b10d47f44086afa4"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/atomvm_support.md names \u0060priv/application.bin\u0060, but no file or folder \u0060priv/application.bin\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/atomvm_support.md"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b85cc33fb114800c331cdcd6f46cfe9b7f8c08a959565247694e310029b8a8"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Req.get!(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/firmwares/update_tool/atom_vm.ex"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8069ab480cb9f3b4709885396c1ebddc3f1816017cf5daab605a02e1776d4539"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Req.get!(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/firmwares/update_tool/esp_idf.ex"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bf4213b710cf1d868e214e70b07b18e2680422e61f3984078a90398f79df4f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Req.get!(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/firmwares/update_tool/fwup.ex"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0c59103d28ac4cd634274c04e774a44a4601ac1c7062c06877b4940978a6bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Req.new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/chat_webhooks/client.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbc938e6635b7a2bb76719c824697e4db0d8bcbfbcdef21e75d3f7415db20a7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Req.request(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/integrations/chat_webhooks/client.ex"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcc387b54c36c05d24dc49d1ae9a1d5487437ee287b769bfec297d8089a2884"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Req.new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/webhooks/delivery.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedc211e1f3cf39815ba179aaf000c50e2af665ccdf1ca0fa6de17e302938258"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Req.request(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/webhooks/delivery.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"21506d5d5ca0fd2af71997b4ef8679401c0d66a0b9e368ab8b240b2ba697321d"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 34 plain JS \u2014 the untyped files are assets/js/app.js, assets/js/helpers/mapStyle.js, assets/js/helpers/mapStyle.test.js, assets/js/helpers/terminal.js, assets/js/helpers/timeAxis.js, assets/js/hooks/advancedQueryEditor.js (\u002B28 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (82 matched lines \u00D7 2 locations): assets/js/hooks/scriptAutocomplete.js:45 \u00B7 assets/js/hooks/tagAutocomplete.js:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 467 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/scriptAutocomplete.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caf10a4ea009a04fc33f2c1ed6bb6f0863311d9388068cb6f779083c0006742"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): assets/js/hooks/console.js:9 \u00B7 assets/js/hooks/localShell.js:8 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/console.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cb5aafcb3a3c90f6022b397f071ca4d2550071d57c65f41e595611b53e494a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/js/hooks/console.js:118 \u00B7 assets/js/hooks/localShell.js:62 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/console.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7886fd13b306b24085414e4e415adbbf2c211cc2565d05897cdf64e10e608c72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): assets/js/app.js:152 \u00B7 assets/js/app.js:164 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace9a95ff1790586b788a454f42a9b827bee294d82c46760353ca89b02b4007a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/js/hooks/scriptAutocomplete.js:21 \u00B7 assets/js/hooks/tagAutocomplete.js:29 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/scriptAutocomplete.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d300f8f65508c467b6233becf9f5978c13b31f941a577d5dad86c3853dc3be36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): assets/js/hooks/barChart.js:64 \u00B7 assets/js/hooks/updateOutcomesChart.js:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/barChart.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"437fa2b44925b294d5bf5d691f4b77a31c1bd9bcd5f9f0d78c2eb41ccc9b16ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): assets/js/hooks/chart.js:165 \u00B7 assets/js/hooks/chart.js:177 \u00B7 assets/js/hooks/chart.js:190 \u2014 all 3 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/chart.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec25a58cff0ce6dce0560d44be11c10a237825ecb873896f82951b8857bc7600"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeydown (cyclomatic 20, cognitive 31): handleKeydown has cyclomatic complexity 20 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5466b577f0961b267f9d617f76136e2d1438a65f4f05eea00c4dc15895f5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 19, cognitive 35): classify has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1b45fd423fe56987d90704e8b00e4d9b4deff3ed0bdc8d360e449c295e77c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenize (cyclomatic 15, cognitive 32): tokenize has cyclomatic complexity 15 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a3263503708b382a89cb78ebd2ee196801383578ae548d2337aacb48d907c5"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/js/hooks/advancedQueryEditor.js: 692 lines of code: assets/js/hooks/advancedQueryEditor.js has 692 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"068466553e7a639e8af2b4bfe1df21ee1607caeba882d6edb479055293032236"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/chart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9901fc9539f2f2d656053a8ee178d2e4c3f541ef2debaabaf6f00df9a52f27b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe4583edc5df959a84c61e2055b5ef8709c41f024c538f328ffcf3933a2d1e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/console.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f163b02d2c82fc491c46113baa92b037b873b8f01c0154e604c7f684a1880444"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/tagAutocomplete.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7322a88546089c66202c659f7059aeab4deb174859f46c6af62e1f2fb759b1b4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/scriptAutocomplete.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f02043b5da52871b39f8bf0b692880ab316ddc24e9080c7dc8783b7d1c8465"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/barChart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a953b90161a73224b52d1b662da4fc8c6a00fada19fc4a76733124d9b97023"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/updateOutcomesChart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d72e4e2481fbf55e05168bef4364fed7f2b69594910b89a67c3ea247d328ec"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/helpers/terminal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89622e3a3a976c63e705bb8034f26816b6f49249412480687f1ebfcc2bb5c51"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/worldMap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbd71873687ac2e5dd28e4a3c3e3d1bd86d4d5e068b4ab7a893918c1fe67f8d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/helpers/timeAxis.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adacc9cd18ff932da539d2af6fabadd63e5ad3b75e887245bee754f0f90b779"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/workflowDiagramFit.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11ecab1d5b3dbbf35c2396df6672a1b5847301ad248f60be1a78220d7916fe9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/donutChart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a5a8d179a9156954f99508bcd2b76c959dc4657c6f4fccf41a5c4605f7de50"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/deviceLocationMapWithGeocoder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b877785e0aed056b8e3cb1992eb3703ceb4c1830c8a315e2d24d66070c701723"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/toolTip.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1a6a5a1ca815eaf53859e79108483ec0e4a2c550db053a9bdff420aa72fb4d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/localShell.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8b332c3f2779f67b6ecbabc588aaf25be524a89220f4ca8d23eac90b46438e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/supportScriptOutput.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe11681f7ee04c99cc4c38ab6888430bf97e649fce132b4a4868d458c4e54e61"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/copyToClipboard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f8f69a58984103cfc3547f36541da9dee7bf6b12dea5aa2cc2965f4b8c98c0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/deviceLocationMap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de4aa790bd75caf3777c5099138ae9b61c686da1cb521045a35247b34ca160"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/deviceDetailsLayout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad45c1758d63758c3a6e32287b7c7d7ce6c11abb83f7b42afc18ddc4a5569f69"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/themeSwitcher.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7db74d44ee293e691e57cb6b504bdced0e1854f2d62ddeeb9c89f9ab1cdc11"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/sharedSecretClipboardClick.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa93c26d40958f6bf73b2b9cad47ec961dc8d51d359174a5b72becb0002825"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/updatingTimeAgo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8505dca1b774434838353301e62095ba80e0402fd25169122cc2183441901c65"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/pageVisible.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139a4d250cbec871601f5eb696a87bda6a7374f67cb5ff3a9efa404d46192260"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/flash.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108311bb0c1ecf2e08e8d92e221c05a3d5b3e091ff37a8d7d7cd7ac35e24d77b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/sidebarToggle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fc2f1da676f556d921ec89622c73a9fb2625fdafe82a615256a1feade38bd8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/stoplight.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063a1f62ab0f36a3cbcaaa018116a17458f26c862d1cc09c769263e3eb409c6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@xterm/addon-search\u0027: Declared in assets/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d033e95aae97d94f4178c8e1c9eb13ecd499aab3939dca41cb127c00c663e1f2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027popper.js\u0027: Declared in assets/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0dfaaedff65790622e320d23a5fa7b8bad7149cbb8ba138c6dc3ffbc039432a2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tailwind-scrollbar\u0027: Declared in assets/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b9c65922dd7b531bd74996ef0aeeac22e2c5c1dc1c7b0934e8e75a16314858fc"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: \u0060secret_key_base\u0060 is the secret key and is a compile-time constant, so the secret this operation depends on is published with the source. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller \u2014 one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/config.exs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ea99fa18afcc8a7c04ce2fee63528d6a864b491a06ac4217ea9e65c6c80928"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: \u0060verification_token_context\u0060 is the token-signing key and is a compile-time constant, so the secret this operation depends on is published with the source. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller \u2014 one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/devices/ca_certificate/csr.ex"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c09f843bb56d4abe484b37e7162e4e68a1e1298ff63cd2a3a73be7289028ed0"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060:crypto.hash(:sha256, data)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/nerves_hub/certificate.ex"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"33292c996b5f2ea4a3ef2d7d5d9c79c3706c5462225ccd75b0fc3659fe3be2a7"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: Content-Security-Policy, Referrer-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Permitted-Cross-Domain-Policies. Missing: X-Frame-Options \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each.(\u22120.5 on this card.) The server: lib/nerves_hub_web/device_endpoint.ex:3 \u2014 \u0060Phoenix.Endpoint\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9931804dbad8b1657857c9b88c05b8faeff182b6e2bb88641bd59bac687876e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Application.get_env(:nerves_hub, :devices_websocket_url) || URI.parse(NervesHubWeb.Endpoint.url()).host\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub_web/live/devices/index.ex, lib/nerves_hub_web/live/product/insights.ex. 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":"lib/nerves_hub_web/live/devices/index.ex"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"642edc9259847f7ceed8335ff85c9d49e90b4640780be26afb63d6d05dc6e985"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conn.assigns.current_scope \u0026\u0026 conn.assigns.current_scope.user\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub_web/auth.ex, lib/nerves_hub_web/controllers/account_controller.ex. 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":"lib/nerves_hub_web/auth.ex"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea2ceb8e9a9f61fa11bda499d62e0b55b0c7059babff2a3b02b86c2072be754"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.product_id == d.product_id and f.uuid == fragment(\u0022?-\u003E\u003E\u0027uuid\u0027\u0022, d.firmware_metadata) and is_nil(f.deleted_at)\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub/devices/deployments.ex, lib/nerves_hub/managed_deployments.ex. 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":"lib/nerves_hub/devices/deployments.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f392c650a4b54f2ebb16954b7e624d7f9b86cbdeb4b6e1824affcbdc316ef5a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fd.source_id == f.id and fd.target_id == tr.firmware_id\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub/devices/updates.ex, lib/nerves_hub/managed_deployments.ex. 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":"lib/nerves_hub/devices/updates.ex"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b7d53a09897a26d844ebccb05f365f1a5bdd2495723f4b270cabdb85ee5676"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get_in(data, [\u0022deployment_group\u0022, \u0022name\u0022]) || \u0022a deployment group\u0022\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub/integrations/discord/embeds.ex, lib/nerves_hub/integrations/teams/cards.ex. 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":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac50e6bf79e6b03724463159eef639ca2c6b0d1288397a3f36020132092b93e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get_in(data, [\u0022step\u0022, \u0022name\u0022]) || \u0022a step\u0022\u0060 appears character-identically in 3 files \u2014 lib/nerves_hub/integrations/discord/embeds.ex, lib/nerves_hub/integrations/slack/messages.ex, lib/nerves_hub/integrations/teams/cards.ex. 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":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8fd69beed9dbb020361aba69d3ea61c796680c8260d92e305b1e9e88043d1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get_in(event, [\u0022device\u0022, \u0022identifier\u0022]) || \u0022a device\u0022\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub/integrations/discord/embeds.ex, lib/nerves_hub/integrations/teams/cards.ex. 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":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef2290e13bd015c37b08ad5bf11f6c81994e9d743207c6c7fb78c4a1d1c788"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(team_id) and is_binary(slack_user_id)\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub_web/integrations/slack/actions.ex, lib/nerves_hub_web/integrations/slack/commands.ex. 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":"lib/nerves_hub_web/integrations/slack/actions.ex"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2867726b3c0bee6fff45c53ac1fa0b25e6e06978d146876d6c75ebcc8fb1b6ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(number) and is_integer(steps)\u0060 appears character-identically in 3 files \u2014 lib/nerves_hub/integrations/discord/embeds.ex, lib/nerves_hub/integrations/slack/messages.ex, lib/nerves_hub/integrations/teams/cards.ex. 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":"lib/nerves_hub/integrations/discord/embeds.ex"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"519595c6ea84ac603a83cd80e390432d6d4c8f54f2bebd881b69a09047d52a77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_nil(connection) || connection.status != :connected\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub_web/components/device_page/details_tab.ex, lib/nerves_hub_web/live/devices/show.ex. 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":"lib/nerves_hub_web/components/device_page/details_tab.ex"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"534ad04f48d4d517b5df73fcffa3cc51ba18577912f1fb96e06fb46ed5f17b26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pagination_opts[\u0022sort\u0022] || \u0022inserted_at\u0022\u0060 appears character-identically in 2 files \u2014 lib/nerves_hub_web/live/archives.ex, lib/nerves_hub_web/live/firmware.ex. 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":"lib/nerves_hub_web/live/archives.ex"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cb3d1f44d0752434d585ae86535ab3ac0788e2f54db283e7b7dfbf2c41d527"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060index\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/advancedQueryEditor.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"0070f664fadad30e265cc68110c3084363a91ff35b7030be8e2dd6b4a88853d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/copyToClipboard.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f12a317f4a693c80b07261772f2d7f81d2e89d17b1c4087f204856447037bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/hooks/copyToClipboard.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bf0e8911222cf1f70d008128045332845fe917d6af03d4c64d4b13a55ac94b"}}],"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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":61,"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."]}]}