{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D42","name":"Runtime Threat Enforcement","shortDescription":{"text":"Runtime Threat Enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/D42"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"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":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"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":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessSSHConsole.Component (cyclomatic 152): RemoteAccessSSHConsole.Component has cyclomatic complexity 152 (threshold 15). Of this number, 83 points are the body\u0027s own statements and 69 belong to 20 function literals inside it that branch. 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":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88ab26e452dab1431fbb16189ebba965c3a2495a8923c6f4f3d187767cfcdb9"}},{"ruleId":"D1","level":"warning","message":{"text":"_renderSvgOverlay (cyclomatic 140): _renderSvgOverlay has cyclomatic complexity 140 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 123 belong to 32 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f90f948365500d444d11487c28bc49b381ecf5092827af3177285f09908ecb"}},{"ruleId":"D1","level":"warning","message":{"text":"_draw (cyclomatic 133): _draw has cyclomatic complexity 133 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 80 belong to 33 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowSankeyChart.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"813c405046ef868fdac4c24a0567617b987e13b87dfbea3d627252478d32d0b7"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::observe_mdns (cyclomatic 124): serviceradar_netprobe_ebpf::observe_mdns has cyclomatic complexity 124 (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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a087276d7b6ff7eafdaa32d0e8adb84771754cb14e9e7d16e419b62060c729a"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::flows::filters::apply_filter (cyclomatic 96): srql::query::flows::filters::apply_filter has cyclomatic complexity 96 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/filters.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a9570f088516d366e2e6dca97b5f66b0c5bb4fe1d4613d999322b1f0e4dbe1"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::field_survey::field_sql (cyclomatic 94): srql::query::field_survey::field_sql has cyclomatic complexity 94 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/field_survey.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8ab501a945e60c77b4c51f68ecfa421bf7cb6925278e4e3526e65b2d98f21a"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_scene.validateTopologyScene (cyclomatic 92): layout_elk_scene.validateTopologyScene has cyclomatic complexity 92 (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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d39ca6f04987d07f1a26def925893358cd5c7711de31639d8fc1cc3755e7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::wifi_map::field_sql (cyclomatic 91): srql::query::wifi_map::field_sql has cyclomatic complexity 91 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/wifi_map.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ba24e2a9a82b01b5aaa30aa578f1d3b7ac5a00d1fd9cc30bc51c645dbbcf5a"}},{"ruleId":"D1","level":"warning","message":{"text":"renderSelectionDetails (cyclomatic 85): renderSelectionDetails has cyclomatic complexity 85 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 25 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ef8df1cd33cd2773fb293f4730dbbe680be33d8cd48b92b7c4e0f85f872053"}},{"ruleId":"D1","level":"warning","message":{"text":"Converter::convert_ipfix (cyclomatic 80): Converter::convert_ipfix has cyclomatic complexity 80 (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":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"712f145ff267e5bcbb3d7aa33b20eacbd3df76b3164d9593c2e4ee07027ff9d4"}},{"ruleId":"D1","level":"warning","message":{"text":"buildTopologySceneEdgeData (cyclomatic 80): buildTopologySceneEdgeData has cyclomatic complexity 80 (threshold 15). Most of this is not in the body itself: 10 of the 80 points are its own statements and the rest belongs to 30 function items inside it that branch ((anonymous), (anonymous)::metadataNumber, classBucketForEdge, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac5e02d6f393a10ce8a3d6e121e9aedb1fc7f8b0c473e9f0232a2cdedd24ccc"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::flows::stats::filters::build_stats_filter_clause (cyclomatic 68): srql::query::flows::stats::filters::build_stats_filter_clause has cyclomatic complexity 68 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/stats/filters.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3f52b3a0d89b1922e344e2690abb32949aa3175c1df7cce04ea1599a697b7"}},{"ruleId":"D1","level":"warning","message":{"text":"buildTransportAndEffectLayers (cyclomatic 68): buildTransportAndEffectLayers has cyclomatic complexity 68 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 44 belong to 45 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ed0b6be8bc4f303b2dc3c3ecd0fc2c1c52fb8a00ebee2d28f8c44e6830eeac"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::virtualization::filter_predicate (cyclomatic 62): srql::query::virtualization::filter_predicate has cyclomatic complexity 62 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/virtualization.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f9c2e0cfdf35a807483a97e6a60fd295f0295750f260abf1b2767d9ba7339a"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::downsample::fields::series_expr (cyclomatic 62): srql::query::downsample::fields::series_expr has cyclomatic complexity 62 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/downsample/fields.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33541eda9d2fed6f6306b92407f29c0bf90ef1fd25442550cf63fa68bdaeacb"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessDesktopSession.Component (cyclomatic 62): RemoteAccessDesktopSession.Component has cyclomatic complexity 62 (threshold 15). Most of this is not in the body itself: 14 of the 62 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 432, 681, 628, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaf373719d618cfee2ed92aff79d5a3e594d15f6284fe65dcbcd9a2f041d4f0"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_radial_overview.validateTopologyOverview (cyclomatic 62): layout_elk_radial_overview.validateTopologyOverview has cyclomatic complexity 62 (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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"32992c7fac4ebee1eed33aaebb0c10d413cf9049f3126008191b09ceaf8d1a87"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::translate::translate_request (cyclomatic 60): srql::query::translate::translate_request has cyclomatic complexity 60 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/translate.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d253c772a2a90b46c65e5d6a9fb244dc43a81fd9f0756b0aaa1e1b3794d9b127"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregateVisibleEdges (cyclomatic 59): aggregateVisibleEdges has cyclomatic complexity 59 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 30 belong to 8 function items inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8912054ab4694893148388e8cb8961a0a4d4478cf563a9ea2e2c386a1ac274f"}},{"ruleId":"D1","level":"warning","message":{"text":"god_view_acceptance_geometry_observer.acceptanceGeometrySnapshot (cyclomatic 58): god_view_acceptance_geometry_observer.acceptanceGeometrySnapshot has cyclomatic complexity 58 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 38 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"837f0748ea7524b3ace4c64c4a5f1190e832a0f09ce39cbc45831126e5e43672"}},{"ruleId":"D1","level":"warning","message":{"text":"validator.field (cyclomatic 57): validator.field has cyclomatic complexity 57 (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":"config/manager_validator/go/validate.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"204d1b0b533aba6908dfcbe91ec7676de17f630115b37b088b150246d416785a"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::devices::filters::apply_filter (cyclomatic 53): srql::query::devices::filters::apply_filter has cyclomatic complexity 53 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/devices/filters.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"096138c3f4259da38d520b85063532eee991018cb59fedcfa3a0c7179909f650"}},{"ruleId":"D1","level":"warning","message":{"text":"main.parseProxmoxProviderRef (cyclomatic 49): main.parseProxmoxProviderRef has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/proxmox/console.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99f5cd6b8b9aa6b437fa05497232397bc2812a304b90b35905fa7dc7d0ffdb4"}},{"ruleId":"D1","level":"warning","message":{"text":"browserModuleApi (cyclomatic 49): browserModuleApi has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 4 of the 49 points are its own statements and the rest belongs to 34 function items inside it that branch (arrowBytes, pushSrqlQuery, pageFrame, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"9930a01f65e1c165c43d6a4751f3215c4147a249a30d468e0582c53164cb4c8f"}},{"ruleId":"D1","level":"warning","message":{"text":"Converter::convert_v9 (cyclomatic 46): Converter::convert_v9 has cyclomatic complexity 46 (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":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"267678341fbb55f34c01894662b3e6d8d70b14e25f5887b229a8db14c35b0e5a"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::downsample::fields::resolve_value_column (cyclomatic 45): srql::query::downsample::fields::resolve_value_column has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/downsample/fields.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d5525b7c68880ea10322872836922a4592d969f1a3e758cc0524fda6cfdc00"}},{"ruleId":"D1","level":"warning","message":{"text":"buildPacketFlowInstances (cyclomatic 45): buildPacketFlowInstances has cyclomatic complexity 45 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5ed43e60c4b48ce708db6bd5a14083e75a3a3b06b7fb4fcf7db0d67fb36d04"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessDesktopSession.createRdpLauncherRuntime (cyclomatic 44): RemoteAccessDesktopSession.createRdpLauncherRuntime has cyclomatic complexity 44 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaf8f0e665e3500084df5592c0fc399f002fc1e169c5879b36b3384eeb16bcf"}},{"ruleId":"D1","level":"warning","message":{"text":"_showFlowDetails (cyclomatic 44): _showFlowDetails has cyclomatic complexity 44 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"da61f006c6c3385c4f2a41b6c505f7d88ccd39b3f2c00c24c846c9980de0568a"}},{"ruleId":"D1","level":"warning","message":{"text":"SurveyView.body (cyclomatic 43): SurveyView.body has cyclomatic complexity 43 (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":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0057b8b4c218ae93dac7a5942a7284125251d0a2ee0da6e01fedc5b5fd42fc"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessApplication.Component (cyclomatic 43): RemoteAccessApplication.Component has cyclomatic complexity 43 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c314b3a1ea93e8f866a705c11bd42e583cf31aae94cc00b340698e2a6980a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationsTrafficMap.normalizeTrafficLinks (cyclomatic 43): OperationsTrafficMap.normalizeTrafficLinks has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 211, 285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28b5713aa50c0cc9ccf5c6353798b81b91f31be850ab0be9924a2cabce8aec9"}},{"ruleId":"D1","level":"warning","message":{"text":"buildVisibleGraphData (cyclomatic 42): buildVisibleGraphData has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bf6078f1d504e12adea78a8f1f282531a10f31f4cf1c7719a9eea5bee4e015"}},{"ruleId":"D1","level":"warning","message":{"text":"bindChart (cyclomatic 42): bindChart has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 14 function items inside it that branch (formatValue, showTooltip::(anonymous), formatBytes, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/TimeseriesCombinedChart.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"54964a821d099d1268900d04af837410e218ce1dad40ba0fe6def83cd4865564"}},{"ruleId":"D1","level":"warning","message":{"text":"validator.evaluate (cyclomatic 41): validator.evaluate has cyclomatic complexity 41 (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":"config/manager_validator/go/validate.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"561df07d338f0ca9f911d5f61e22a604bf3bc6c892559497b31dca3e019bded8"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::capacity_forecasts::apply_ordering (cyclomatic 40): srql::query::capacity_forecasts::apply_ordering has cyclomatic complexity 40 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/capacity_forecasts.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf75f1c5dfd6d4f90a58cdeaae546dbb4b417c33f264351a8c90c6c783a7e828"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessTerminal.Component (cyclomatic 40): RemoteAccessTerminal.Component has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 5 of the 40 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 217, 101, 259, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessTerminal.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4477277986491bd4945eaa74a65722611c0cd06c23f18f06a393fdc8dce31582"}},{"ruleId":"D1","level":"warning","message":{"text":"admitNodeLabelsForViewport (cyclomatic 40): admitNodeLabelsForViewport has cyclomatic complexity 40 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 15 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"63763bd4d22d3587bd638cb26cb15fd75bac0625911c47072e53c5e82b8476c0"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::validate (cyclomatic 39): Config::validate has cyclomatic complexity 39 (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":"rust/flow-collector/src/config.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed228fe6517ea4f7f82a2a9b8132e6d3db2b32b402ed3d05d2b54f41d1ce7d5"}},{"ruleId":"D1","level":"warning","message":{"text":"Lifecycle.validate_scope (cyclomatic 38): Lifecycle.validate_scope has cyclomatic complexity 38 (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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"df78b38cd0e0f9a09c548a7755ba2a9eb99f0f99da36f30f0f6cbacc09751604"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_config_validator::evaluate (cyclomatic 38): serviceradar_config_validator::evaluate has cyclomatic complexity 38 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/manager_validator/rust/src/lib.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"78565f16272bd207f440a59f269d0e39818005b2affdb7b53445a54d5f5ecebd"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::starrocks::field_sql (cyclomatic 36): srql::query::starrocks::field_sql has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ee59fd276f4dab5ebaa5cf7d664078109248bca23b33531a979850005817e3"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::flows::stats::query::build_grouped_stats_query (cyclomatic 36): srql::query::flows::stats::query::build_grouped_stats_query has cyclomatic complexity 36 (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":"rust/srql/src/query/flows/stats/query.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c400421a8670e464261d7a6dfcbda6507ac7f37bcee1e172779e9e0cf12acfa"}},{"ruleId":"D1","level":"warning","message":{"text":"handleSnapshot (cyclomatic 36): handleSnapshot has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd99fbf5485b11e97ab55d60b2745b234fa541cee64ec91fa6978267e822aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"SYNScanner.runRingReader (cyclomatic 35): SYNScanner.runRingReader has cyclomatic complexity 35 (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":"go/pkg/scan/syn_scanner_ring.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c527232f68d3acf28af1ec4e53bf204de800c15b4b8aa34887111f650ca787f"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectorEngine::evaluate_inner (cyclomatic 35): DetectorEngine::evaluate_inner has cyclomatic complexity 35 (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":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0534500908bb42198dfb3f2800df18a0c3685648ead3c254c1f2bd168428b0c3"}},{"ruleId":"D1","level":"warning","message":{"text":"harness.instantiateDashboardWasm (cyclomatic 35): harness.instantiateDashboardWasm has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 8 of the 35 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 274, 270, 290, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/harness.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b73ea2c1d5d4f039d4a583c8571fcc8707711f486a65489b764aa0bdafce49"}},{"ruleId":"D1","level":"warning","message":{"text":"Context.grant_matches? (cyclomatic 34): Context.grant_matches? has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"776dd471c789d27025ce2bacdbcea7f74f14d2c930073852181e2c8866b2f3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"getNodeTooltip (cyclomatic 34): getNodeTooltip has cyclomatic complexity 34 (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":"elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9cc45238cc6fce749963d7647a2e0e048619f7ad61034c4aedd0f19562b5dd"}},{"ruleId":"D1","level":"warning","message":{"text":"bindChart (cyclomatic 34): bindChart has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 10 function items inside it that branch (formatValue, formatBytes, formatHz, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"032ba494f24783300e12a3b8528bdc99bffbf6c61fab55858e77f7ca6b699162"}},{"ruleId":"D1","level":"warning","message":{"text":"runConfig.normalize (cyclomatic 33): runConfig.normalize has cyclomatic complexity 33 (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":"go/cmd/tools/mapper-baseline/main.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25d15170b9766b4d65850ee9643da0532384eec948385d1f51f820a70317cdc"}},{"ruleId":"D1","level":"warning","message":{"text":"edgeonboarding.EnrollAgentFromToken (cyclomatic 33): edgeonboarding.EnrollAgentFromToken has cyclomatic complexity 33 (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":"go/pkg/edgeonboarding/agent_enroll.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"69da98df05a35a588ef43bd3a6df5fd039df2d926eaba3ec871655acb7ae81a5"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::observe_l2_device (cyclomatic 33): serviceradar_netprobe_ebpf::observe_l2_device has cyclomatic complexity 33 (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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0b0a7215ac66d41af57e7c868a16027b055c08b79bd19d35fde19e64baa842"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::devices::filters::params::collect_filter_params (cyclomatic 33): srql::query::devices::filters::params::collect_filter_params has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/devices/filters/params.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb8a97c57e9608194cca1a99d3580b7605499754e1f6a26150be77cf4025648"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::capacity_forecasts::apply_filter (cyclomatic 33): srql::query::capacity_forecasts::apply_filter has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/capacity_forecasts.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7555924a49f750faea0bed5a0cafe3347c8a0c028cc9f8377e16319ab6420b"}},{"ruleId":"D1","level":"warning","message":{"text":"importsFor (cyclomatic 33): importsFor has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 30 function items inside it that branch (framePayloadBytes, emitRenderModel, encodedFrame, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"b000e21bc7c7f17d898f1b733cd8bc8a5a66dee534c8860bf912dd334355e97e"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_rdp_connector_probe::probe::connector::validate_service_radar_open_request (cyclomatic 32): serviceradar_rdp_connector_probe::probe::connector::validate_service_radar_open_request has cyclomatic complexity 32 (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":"rust/rdp-connector-probe/src/probe/connector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0485ccdc3bddc885a338a53eebbfadb1d0c6e2cb2031b0f351c0cf9bc64155"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_radial_overview.decodeElkRadialOverview (cyclomatic 32): layout_elk_radial_overview.decodeElkRadialOverview has cyclomatic complexity 32 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90018bd18e7d7c68380e11e8901725df2588dd74be72544c0238af1ed4e56db"}},{"ruleId":"D1","level":"warning","message":{"text":"login.runDeviceCodeFlow (cyclomatic 32): login.runDeviceCodeFlow has cyclomatic complexity 32 (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":"js/cli/src/auth/login.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c68f497e0995c4016d7d408d624bbc56e9bca5dbe930ca1a113c9e8f5107f4d"}},{"ruleId":"D1","level":"warning","message":{"text":"_applyBrandBasemapTint (cyclomatic 32): _applyBrandBasemapTint has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be6d94742e3f2afd3f7f984f5e779eab590c3c79ffe446dac352b7227385b13"}},{"ruleId":"D1","level":"warning","message":{"text":"_draw (cyclomatic 32): _draw has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to 22 function items inside it that branch (colorFor, (anonymous), (anonymous), \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowTalkersIcicle.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7ad39acb4546e3215da8178be239572be80caaeb47d34525550792faa1cdbe"}},{"ruleId":"D1","level":"warning","message":{"text":"_draw (cyclomatic 32): _draw has cyclomatic complexity 32 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 10 belong to 33 function items inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"143494f6af387de0630c621473a94c1ebc827a12a2291081f6f39bf879d0e9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"main.projectAWXSurveyField (cyclomatic 31): main.projectAWXSurveyField has cyclomatic complexity 31 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2842}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a1f593547798a18471a6539cc0578531864e79845b54bc7c727835626103cf"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsView.body (cyclomatic 31): SettingsView.body has cyclomatic complexity 31 (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":"swift/FieldSurvey/FieldSurvey/Views/SettingsView.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"44be2d2bd2abb5636fa1c7c6acf2e609b19ca4dd758f7071aa1b34c055bfc472"}},{"ruleId":"D1","level":"warning","message":{"text":"god_view_nif::core::layout::layout_nodes_layered (cyclomatic 31): god_view_nif::core::layout::layout_nodes_layered has cyclomatic complexity 31 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/native/god_view_nif/src/core/layout.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b386c6d6b0eb40149b90261aaf92940deb07d7495dd18c91368d0dbde63afa"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessTCPText.Component (cyclomatic 31): RemoteAccessTCPText.Component has cyclomatic complexity 31 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. 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":"elixir/web-ng/assets/component/src/RemoteAccessTCPText.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"174b65c71aa92ecb7b507b3024d6b96e80c7fd6cbdb2829617de3aa1fd045875"}},{"ruleId":"D1","level":"warning","message":{"text":"publish.publishCommand (cyclomatic 31): publish.publishCommand has cyclomatic complexity 31 (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":"js/cli/src/dashboard/publish.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1675131896209734853c59977b7228a6b77b73fcc5d561d0fe606054fad5bf2a"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.applyCommand (cyclomatic 31): apply.applyCommand has cyclomatic complexity 31 (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":"js/cli/src/plugin/apply.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cea36fd8d61e947219d0009eb5a994e1ec1481ce2d217d1a4a834536278283"}},{"ruleId":"D1","level":"warning","message":{"text":"createContext (cyclomatic 31): createContext has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to 10 function items inside it that branch (swapFixture, loadFrames, mount, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/dev.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bebc3a14030e0fedf6a1523bf0fd56692997d714f7971ba5214c63bc980af14"}},{"ruleId":"D1","level":"warning","message":{"text":"decodeArrowGraph (cyclomatic 31): decodeArrowGraph has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_decode_methods.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b904ab7005f35d160f3c0b0f9fa16fc1d3daeed0edcba4104d32259691d4c732"}},{"ruleId":"D1","level":"warning","message":{"text":"Ubuntu.validate_fingerprint (cyclomatic 30): Ubuntu.validate_fingerprint has cyclomatic complexity 30 (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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1da3a9e01984ff995f22095381c64af1f7ba16adc6094e63fecb4e256065ea"}},{"ruleId":"D1","level":"warning","message":{"text":"main.runBGPSimulator (cyclomatic 30): main.runBGPSimulator has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/cmd/faker/bgp_sim.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"681e8c8bdb009c5e5dacbddf7fbadc0ac479e71c252184dde7a88967ba93ec99"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.Validate (cyclomatic 30): Config.Validate has cyclomatic complexity 30 (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":"go/cmd/faker/main.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2747a9cfb11f4906e7a870542b9b0999aa7dece4e0fe0684bcd988645fe83680"}},{"ruleId":"D1","level":"warning","message":{"text":"main.projectPreparedPass (cyclomatic 30): main.projectPreparedPass has cyclomatic complexity 30 (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":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bce3f2c3b4c1d8e111e1dfb55ab636cd0842b651991ea8818b4967f9c5ca823"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.proxmoxInventoryPathAllowed (cyclomatic 30): agent.proxmoxInventoryPathAllowed has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1387311bb0f6f8d8f0663ac4b620279ab7d6124834a30d11f993a2013646a7cf"}},{"ruleId":"D1","level":"warning","message":{"text":"edgeonboarding.EnrollCollectorFromToken (cyclomatic 30): edgeonboarding.EnrollCollectorFromToken has cyclomatic complexity 30 (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":"go/pkg/edgeonboarding/collector_enroll.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b5082a2b37c9a23402be73e62b6827388fe993270df0f7697247910f091608"}},{"ruleId":"D1","level":"warning","message":{"text":"resourceDefinition.save (cyclomatic 30): resourceDefinition.save has cyclomatic complexity 30 (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":"go/pkg/terraformprovider/attributes.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6eedbd226c98e1c97045f6d334876e8258e6bc858b6dfe8054822108dbd406"}},{"ruleId":"D1","level":"warning","message":{"text":"RPerfRunner.runTest (cyclomatic 30): RPerfRunner.runTest has cyclomatic complexity 30 (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":"swift/RPerfClient/Sources/RPerfClient/RPerfClient.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba3e44e0bff26a6c67b9c94369c41f5fae52b1ff0d0e3f8d8766f413891c273"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::logs::filters::apply_filter (cyclomatic 30): srql::query::logs::filters::apply_filter has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/logs/filters.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9bc94c2fa46907c0dedbaf811c3291914386d08238f61f7629e14571da1b62"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveAwxLaunchPreflight.membership_request_host (cyclomatic 29): LiveAwxLaunchPreflight.membership_request_host has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"16792158e741ec3c405eb65772c7b486cb9bd2e11f7b5de80045a151e96e9191"}},{"ruleId":"D1","level":"warning","message":{"text":"main.parseRunConfig (cyclomatic 29): main.parseRunConfig has cyclomatic complexity 29 (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":"go/cmd/tools/mapper-baseline/main.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ea3252226f0116befacac52ede4ea7e19909ae8b6609c2f0ecf4f94843bbe1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.validateOSVAffected (cyclomatic 29): main.validateOSVAffected has cyclomatic complexity 29 (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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a451f271445372f7da78fb0bcbd4e40dda0fafe541890c404f991d07140e2e01"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.hostHTTPRequest (cyclomatic 29): pluginExecution.hostHTTPRequest has cyclomatic complexity 29 (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":"go/pkg/agent/plugin_runtime_http.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec69f40ce06aa7e8469b135a9f2758840d2a1304d51bd9a55cf72c6a47365649"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.RunEdgePackageDownload (cyclomatic 29): cli.RunEdgePackageDownload has cyclomatic complexity 29 (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":"go/pkg/cli/edge_onboarding.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"261c0f51d3ce7f6cac4d7ade024bd722c1fd3058cefd0687285eedf8fe73b27f"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher::publish_pending (cyclomatic 29): Publisher::publish_pending has cyclomatic complexity 29 (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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c75f8b7ce6e3c0a4d56ec8ae2ce0669333b5290254ce2e947af196535acf3"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_flow_collector::publisher::ensure_flows_stream (cyclomatic 29): serviceradar_flow_collector::publisher::ensure_flows_stream has cyclomatic complexity 29 (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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c800d209a0f8fa16ffff555322436f61a6a149c177f1731fdd8666f627918db"}},{"ruleId":"D1","level":"warning","message":{"text":"god_view_acceptance_geometry_observer.renderedRouteStrokeWidth (cyclomatic 29): god_view_acceptance_geometry_observer.renderedRouteStrokeWidth has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 136, 138, 135). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9c2ed5b6b8cc2fb0c0e5e71519aa56a06f0bee55ca7d68cb65f916299e598"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_topology_state_methods.detailTopologySceneFromGeometry (cyclomatic 29): layout_topology_state_methods.detailTopologySceneFromGeometry has cyclomatic complexity 29 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"019a12c201fc3fe42c91dcc03d168ae8123e8250c008ced8a56e871923a4c3dc"}},{"ruleId":"D1","level":"warning","message":{"text":"buildNodeAndLabelLayers (cyclomatic 29): buildNodeAndLabelLayers has cyclomatic complexity 29 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 8 belong to 28 function items inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"15341f23725d1fa1bbe2bc47bdb55b8a3e331879d4f3762f61b9830b3a83db80"}},{"ruleId":"D1","level":"warning","message":{"text":"SecureExecutionCurrentAuthority.exact_approval_snapshot (cyclomatic 28): SecureExecutionCurrentAuthority.exact_approval_snapshot has cyclomatic complexity 28 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1684511000e95a1458b873a351957b692b03df1bb66dd8cac7ab436f30a29fd0"}},{"ruleId":"D1","level":"warning","message":{"text":"main.buildLaunchBody (cyclomatic 28): main.buildLaunchBody has cyclomatic complexity 28 (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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f9ddc273fa879e6602a828203627bfebfd48561eda42333484cfae0ef8882e"}},{"ruleId":"D1","level":"warning","message":{"text":"Collector.Collect (cyclomatic 28): Collector.Collect has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"go/cmd/wasm-plugins/opentext-nom/collector.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8664e30b8657a263c2b514c2f0e4060f2a661db226f90968d4d75118f28850"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validateProxmoxConsoleBindingTargetIDs (cyclomatic 28): agent.validateProxmoxConsoleBindingTargetIDs has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc524d193d289a0c4aea8ceaf3dc1e01576f16ecaa7b9a50a3e7f2771db82962"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.hostWebSocketConnect (cyclomatic 28): pluginExecution.hostWebSocketConnect has cyclomatic complexity 28 (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":"go/pkg/agent/plugin_runtime_network.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aecdd87064d86fa5d21fcff7605e23b5a845ebff55816eb0e2cc13c27edfb89"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.applyEffectiveAddonAssignmentsWithActivationBlocks (cyclomatic 28): PushLoop.applyEffectiveAddonAssignmentsWithActivationBlocks has cyclomatic complexity 28 (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":"go/pkg/agent/push_loop_addons.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6917c5a041963f7b7515a4cbe9a1ef0fcd72852ceeeb6210265a058a65a2a2"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteaccess.validateDesktopFrame (cyclomatic 28): remoteaccess.validateDesktopFrame has cyclomatic complexity 28 (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":"go/pkg/agent/remoteaccess/desktop_frame.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ac485e961a0b2d2b1bcbe5b525fb55b2ecc075be842060f7ba88315fd5a4c1"}},{"ruleId":"D1","level":"warning","message":{"text":"Driver.Sync (cyclomatic 28): Driver.Sync has cyclomatic complexity 28 (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":"go/pkg/agent/syncsources/armis/driver.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f823e842177a1efcef0534ee8c669f5009c737a95ddfa4b9b36b739c18e544"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.querySNMPL2Neighbors (cyclomatic 28): DiscoveryEngine.querySNMPL2Neighbors has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 53, 102, 118). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_l2_query.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ebbf237068aeffa21177f449bba9c7a5a195741a35884d34cfd8ed1f18883c"}},{"ruleId":"D1","level":"warning","message":{"text":"Tracer.matchProbeResponse (cyclomatic 28): Tracer.matchProbeResponse has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mtr/tracer.go"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5ef4a12176c6a9d56f164e19b5a967822e72337da79ce35dd52764052e892d"}},{"ruleId":"D1","level":"warning","message":{"text":"configurationResource.ModifyPlan (cyclomatic 28): configurationResource.ModifyPlan has cyclomatic complexity 28 (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":"go/pkg/terraformprovider/resource.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3cf1bff6d1f41403dc0e9e7d8bbeb75eb620f0dae75e50e361ba971902135e"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrowType.fromCDataFormatId (cyclomatic 28): ArrowType.fromCDataFormatId has cyclomatic complexity 28 (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":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowType.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e0ff29ef650c2d8e5bef97880e207bc7b9399c71517b8e921e91ed9359418c"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::cagg::cagg_column_for_entity (cyclomatic 28): srql::query::cagg::cagg_column_for_entity has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/cagg.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e8520d896b2f5a2e097308ae6c3c68993b444a841c956764ff735ff4fa2a21"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardBuilderCanvas.MiniVisual (cyclomatic 28): DashboardBuilderCanvas.MiniVisual has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5296b18c2fe17cbf762d1aa05a6f771c75e9336ae0bfa4f09cfb895e7f30217"}},{"ruleId":"D1","level":"warning","message":{"text":"handlePick (cyclomatic 28): handlePick has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"964afb0b4b31754cffdd70923d76ffcd970bf505ffb38d15699becad42972bbf"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.parseMtrCheckConfig (cyclomatic 27): agent.parseMtrCheckConfig has cyclomatic complexity 27 (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":"go/pkg/agent/mtr_checker.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb3d19a468e5c7630a0712f78e10fdc8bcf77a2cefe0d0f81293a006688b431"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiSweepService.UpdateSweepGroupsContext (cyclomatic 27): MultiSweepService.UpdateSweepGroupsContext has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/agent/multi_sweep_service.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aeb6989c4caa0bfe5fa7c1a83549ca59ea745893b47e4b70a3fbe247c9b6fa"}},{"ruleId":"D1","level":"warning","message":{"text":"k8sinventory.matchSliceTargets (cyclomatic 27): k8sinventory.matchSliceTargets has cyclomatic complexity 27 (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":"go/pkg/k8sinventory/build.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"787c86b372eeb8ec46bb4b3408485eeb721ef60a2be669983761ab758f7b1c59"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrowArrayBuilders.loadBuilder (cyclomatic 27): ArrowArrayBuilders.loadBuilder has cyclomatic complexity 27 (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":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowArrayBuilder.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ee86892ac0137f8a111f9648d51ff9aa4d3a4fdde23047540c65d1501b6690"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrowUnkeyedDecoding.decode (cyclomatic 27): ArrowUnkeyedDecoding.decode has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowDecoder.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b775c10d4d3a7420f54c82ded7ca3b179bd0983e4dffb2e48cebb3e982b4f547"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrowType.cDataFormatId (cyclomatic 27): ArrowType.cDataFormatId has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowType.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed427834cf3dbb738b981162ff500589278c3abfaee7bdffaa01d52a3e25d23a"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::agents::apply_single_order (cyclomatic 27): srql::query::agents::apply_single_order has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::agents::apply_secondary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/agents.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"354614a10bd24f11ffa7856ad481ec3e4ac81d15c074cc16ce3b2463d8854b84"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::agents::apply_secondary_order (cyclomatic 27): srql::query::agents::apply_secondary_order has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::agents::apply_single_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/agents.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b82c083067eb6d03cffdcf1780c2650098ebd6021a78b016c5f7a384082adc"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::parser::parse (cyclomatic 27): srql::parser::parse has cyclomatic complexity 27 (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":"rust/srql/src/parser.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fd7456dcf30227792372bb20f8372cb86f70ec104cc9d593ee5709027a56dc"}},{"ruleId":"D1","level":"warning","message":{"text":"expandableEndpointClusterId (cyclomatic 27): expandableEndpointClusterId has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf1c9a613459fc29ad92accaecd79e390847a55776176895d40227d7d33e806"}},{"ruleId":"D1","level":"warning","message":{"text":"focusClusterNeighborhood (cyclomatic 27): focusClusterNeighborhood has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4981e0a3ddcf6f58b698f2c663215ee06e7a8ec178aaa39f8dbb05e9738e60e9"}},{"ruleId":"D1","level":"warning","message":{"text":"Ubuntu.validate_assertion_kind (cyclomatic 26): Ubuntu.validate_assertion_kind has cyclomatic complexity 26 (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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e06922e3e3935adef664df91f7088ad11ff02ad15a6a04086315710afd9c0d8"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessStreamHandler.handle_in (cyclomatic 26): RemoteAccessStreamHandler.handle_in has cyclomatic complexity 26 (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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cf021a5a67cd95138146fabaa48c91a625bc1002e05ec235854c463c752020"}},{"ruleId":"D1","level":"warning","message":{"text":"main.normalizeCallbackCredentialType (cyclomatic 26): main.normalizeCallbackCredentialType has cyclomatic complexity 26 (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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef67a59a778b92159adf9685df4c003ffda76b52ce08c0748c50f663d941eda"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validateProxmoxPublicParams (cyclomatic 26): agent.validateProxmoxPublicParams has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 487). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d70b9709f3c6bdbe4faa2fdcc81ecdfd82c264936294574f8cc8f269f2bf84c"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.trustedProxmoxConsoleSSHConfig (cyclomatic 26): pluginExecution.trustedProxmoxConsoleSSHConfig has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"430afb90942b3aa3d5327dc7a404a120d56d7b20a4a5f7fefbe57c8823b1a504"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.authorizeCredentialBrokerHTTPRequestBody (cyclomatic 26): pluginExecution.authorizeCredentialBrokerHTTPRequestBody has cyclomatic complexity 26 (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":"go/pkg/agent/plugin_runtime_http_body_policy.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b666d9e8662bddc21f635379bf4b98765fa63fd7056baa00ef619434747e90"}},{"ruleId":"D1","level":"warning","message":{"text":"agentgateway.reassembleConfigChunks (cyclomatic 26): agentgateway.reassembleConfigChunks has cyclomatic complexity 26 (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":"go/pkg/agentgateway/gateway_client.go"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f986e3628878c32cfcaac315f1cf2969def753392c4ac839b40201e011e901"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrowArrayBuilders.isValidBuilderType (cyclomatic 26): ArrowArrayBuilders.isValidBuilderType has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowArrayBuilder.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce56d9add9565e7de9c681c36f74d20a62cc54a63e9eb0e01280c3761da2be0"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrowArrayBuilders.loadBuilder (cyclomatic 26): ArrowArrayBuilders.loadBuilder has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowArrayBuilder.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6293ad7f835e734f3af2dfe7f121d7e59e06413004f98835452503c0e0786e"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::virtualization::order_column (cyclomatic 26): srql::query::virtualization::order_column has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/virtualization.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d52127a02f672deee3f8ad04894c3e57c8b2fda96979507affa074f7b872449"}},{"ruleId":"D1","level":"warning","message":{"text":"NetflowGridChart.gridPanelAtPointer (cyclomatic 26): NetflowGridChart.gridPanelAtPointer has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"434a0f6d9aff015c77e93d22283cda5bbce3c7ba27eb2fa8b4885bb003653d2a"}},{"ruleId":"D1","level":"warning","message":{"text":"dev.devCommandHmr (cyclomatic 26): dev.devCommandHmr has cyclomatic complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/dashboard/dev.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd10eabaa48699844cd4d87865417895ae8ed2e1a8ff89f335e8a4ad00954ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"edgeEnabledByTopologyLayer (cyclomatic 26): edgeEnabledByTopologyLayer has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_topology_methods.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"782a94526fc20c64a0e025d5a4c346b419990cb3b001a6a584ca213b14544cc4"}},{"ruleId":"D1","level":"warning","message":{"text":"clusterEdges (cyclomatic 26): clusterEdges has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to one function literal inside it that branches (line 170). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87f200da24cd8607a61b61cd70b5f5ec6b3a66308fb211d628aaca2a21edcca"}},{"ruleId":"D1","level":"warning","message":{"text":"ControllerProvenance.exact_command_payload (cyclomatic 25): ControllerProvenance.exact_command_payload has cyclomatic complexity 25 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a475e60cf093f740ff832d44294380d2cb03f2a0465a62dd0b474f528691b8"}},{"ruleId":"D1","level":"warning","message":{"text":"main.normalizeLaunchPreflightAddress (cyclomatic 25): main.normalizeLaunchPreflightAddress has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf3f9c81009de6a7c04cd694ac9a4187901745889554c08e125ac09fdd483d8"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validCallbackURL (cyclomatic 25): agent.validCallbackURL has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: agent.validateAWXCallbackCredentialBinding (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/awx_callback_credential.go"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"598ca7eba36ffcf5a587df5950cb06cc9fd953978138a62ad484cf9b7df23218"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.intLikeFromAny (cyclomatic 25): agent.intLikeFromAny has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function taking that case\u0027s concrete type, so the dispatch reads one line per case. These arms are selected by TYPE rather than by value, so there is no key a lookup table could be built on; where you own the matched types, giving them one shared interface method and calling that is the form a table would have taken, and where you do not, keep the cases \u2014 they stay explicit and reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/metric_envelope.go"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"207800fc641aab60358af9521534cb767aa96d5a01f7930a4c185820f35e4d9f"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validatePluginHostAuthorityBinding (cyclomatic 25): agent.validatePluginHostAuthorityBinding has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6176c83fb6814816bc888ffae9e18514141aa66fc64723b6111007e36ff75a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.buildSweepResultsChunks (cyclomatic 25): agent.buildSweepResultsChunks has cyclomatic complexity 25 (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":"go/pkg/agent/push_loop_sweep_results.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f56b06a59206f424390ba6474a299d9d4e09960c7bb2545b19b7907b095350"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.handleMtrBulkRun (cyclomatic 25): PushLoop.handleMtrBulkRun has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"go/pkg/agent/mtr_bulk.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6aabaef51b47993ece887d18b984bd379a2e09614454abb16cc388dee5fc53"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreServiceConfig.Validate (cyclomatic 25): CoreServiceConfig.Validate has cyclomatic complexity 25 (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":"go/pkg/models/config.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1259a6b428f06b423e72dbccc7ed08412c80cda4ff8517fb1ffba17ceebac8c"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher::connect_once (cyclomatic 25): Publisher::connect_once has cyclomatic complexity 25 (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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"28757d3fbc3846a011b40e96150421674fd71cd0f5bff2b5d7236bfb280c0199"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_scene.decodeElkScene (cyclomatic 25): layout_elk_scene.decodeElkScene has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 691, 638, 726, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaf1f787c92648bbc12f2138ac1be2dba7b5ef31578b71595e5c49a57b1cb49"}},{"ruleId":"D1","level":"warning","message":{"text":"publish.errorHint (cyclomatic 25): publish.errorHint has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/dashboard/publish.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee687cfd07fc1e768e6710fb48bb1a8519d961fc05c946f51a471fdb0da0edf"}},{"ruleId":"D1","level":"warning","message":{"text":"mounted (cyclomatic 25): mounted has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 16 function items inside it that branch (initDeck, setEmptyState, resizeDeck, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/SpatialSurveyMap.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"db42f00ed0e1e86965c3605d29fc1852326b799bbd19bdb96751327adb08611a"}},{"ruleId":"D1","level":"warning","message":{"text":"renderSvgFallback (cyclomatic 25): renderSvgFallback has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 9 function items inside it that branch (labelFor, (anonymous), (anonymous)::(anonymous), \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4675367211bc5fa1cfb923b06912c715c5e3902b8534f6a5066d01ac1bc604b"}},{"ruleId":"D1","level":"warning","message":{"text":"selectNodeLabels (cyclomatic 25): selectNodeLabels has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 10 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fb7b1440c8fc2de68fa647b01c16f91be8884e324d2fcfc73a778e76c6abfd"}},{"ruleId":"D1","level":"warning","message":{"text":"Context.new (cyclomatic 24): Context.new has cyclomatic complexity 24 (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":"elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eedabfec85249225d1b80019703bda1cddd61fc0f30727d2f80f11c5bf39d0"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.trusted_assertion_provenance? (cyclomatic 24): EndpointVulnerabilityAdjudicator.trusted_assertion_provenance? has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2173f47cfd41e2a9def169e6e6506e7f4a0dc34abbc4f91f5b8e9fe4866c1e0"}},{"ruleId":"D1","level":"warning","message":{"text":"main.reviewedAWXSurveyVariable (cyclomatic 24): main.reviewedAWXSurveyVariable has cyclomatic complexity 24 (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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"158819a2186bfc4e565201d11d6d25eb2d288f9ae1bbb407cefb96f6726c412e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.streamAxisRTSP (cyclomatic 24): main.streamAxisRTSP has cyclomatic complexity 24 (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":"go/cmd/wasm-plugins/axis/rtsp_stream.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fc291a1a14ebc5f332ee88ccc91276e988ce9caf2b8c127228ae2ae7ed740e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.streamProxmoxAPIConsole (cyclomatic 24): main.streamProxmoxAPIConsole has cyclomatic complexity 24 (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":"go/cmd/wasm-plugins/proxmox/console.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b7a729257ae87f3294afe763c4975e3af216541dc58dbe582249dc62ab26ea"}},{"ruleId":"D1","level":"warning","message":{"text":"main.ensureCanonicalPURLSize (cyclomatic 24): main.ensureCanonicalPURLSize has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 1619). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"079fccac727a98682341a4b72c1cbdcb4e153ace1be1c0ba7c7e0249e27fb6dc"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.runOnce (cyclomatic 24): runner.runOnce has cyclomatic complexity 24 (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":"go/pkg/agent/addon/manager.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a342962272539be16354af1a0b9d6c2a31cd129da8e8b53a38c8d44f02c4da76"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validatePluginActionGrantAllow (cyclomatic 24): agent.validatePluginActionGrantAllow has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_actions.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"de033c7f8e98de3aa3641431f72a4c74ed0f67bfa3d3df3af34f10109031630d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validateCredentialBrokerRequestBodyPolicy (cyclomatic 24): agent.validateCredentialBrokerRequestBodyPolicy has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_actions.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b964d65a30f7df92c66fedce831802dc1384738512b3b1354ac37644e440f861"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.newConsoleSpecAuthorityState (cyclomatic 24): agent.newConsoleSpecAuthorityState has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"20014d6225bb3f436cc269abfd63e2c9546209ff48dab13fc0c7361146e2337b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.parseSystemdUnitStatusOutputForUnit (cyclomatic 24): agent.parseSystemdUnitStatusOutputForUnit has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_capabilities.go"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"1371423708e1ff08068923ca3a22309548b007a6ae1cb5f58251d44ada0221a2"}},{"ruleId":"D1","level":"warning","message":{"text":"otlpRelayPump.run (cyclomatic 24): otlpRelayPump.run has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. 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":"go/pkg/agent/addon_otlp_relay.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"92765fce1bc0af43a9a39bd39b97500fb4b7b720d0c5302b6aa057574965c53b"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.handleAdhocScan (cyclomatic 24): PushLoop.handleAdhocScan has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"go/pkg/agent/adhoc_scan.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"912d3e9abb8e4fa7be158b095ab35cf8308e8b6abbea050d0656e12fa0b6bf16"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.pushStatus (cyclomatic 24): PushLoop.pushStatus has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7701f7ae3c278d512b1eddf7e5e54b7bd2f64877c92920df58d0a050584eccf5"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.applyConfigResponseWithSequence (cyclomatic 24): PushLoop.applyConfigResponseWithSequence has cyclomatic complexity 24 (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":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa7f43733785bfef5f2b514aef95f3fbec6bd7469f71c32a7fcab7c60779266"}},{"ruleId":"D1","level":"warning","message":{"text":"endpointinventory.validateConfig (cyclomatic 24): endpointinventory.validateConfig has cyclomatic complexity 24 (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":"go/pkg/endpointinventory/config.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba98bcded51bc3505aefc187bff83e0322e825ace249f3a86c71b712a916c7e"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.runDiscoveryJob (cyclomatic 24): DiscoveryEngine.runDiscoveryJob has cyclomatic complexity 24 (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":"go/pkg/mapper/discovery_run.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8379cf0ea0c06e80989dff84b053c7bd9812ca9c93b30d425ffdbc07d865d3"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkSweeper.runSweep (cyclomatic 24): NetworkSweeper.runSweep has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. 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":"go/pkg/sweeper/sweeper_run.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a030e15e9e6c7b84d3104d68bfdbc5209bf845f165ed49986530bf74466942a"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_anomaly_addon::frame::process_frame (cyclomatic 24): serviceradar_anomaly_addon::frame::process_frame has cyclomatic complexity 24 (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":"rust/anomaly-addon/src/frame.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c2297ba53bd7b4a0c78b4ad353237c03ddb64f0f4d43a441f36b6eeb802aff"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::downsample::sql::build_sql (cyclomatic 24): srql::query::downsample::sql::build_sql has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/downsample/sql.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"faffb633b273670d2e7db0e9201c296ac8942be8c6b3efb5f50b168acb5d8026"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationsTrafficMap.topologySchematicLinks (cyclomatic 24): OperationsTrafficMap.topologySchematicLinks has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 173, 147, 161, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5a0ca66cd6446772492de64c6ef8b67bd326294615a840fd87ebf6c3789e33"}},{"ruleId":"D1","level":"warning","message":{"text":"buildMtrPathEdgeData (cyclomatic 24): buildMtrPathEdgeData has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 369, 403). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2680c4fed7eaa2634f72a4c4f8092d4c2868b5e071cf7108ac220c2debe9b405"}},{"ruleId":"D1","level":"warning","message":{"text":"handleDetailsPanelClick (cyclomatic 24): handleDetailsPanelClick has cyclomatic complexity 24 (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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"940034f1f084a10a2164c4beeea4dde981b0a4baedbcee9c1881b238d17dbad9"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxLaunchPreflightAttestation.verify_evidence (cyclomatic 23): AwxLaunchPreflightAttestation.verify_evidence has cyclomatic complexity 23 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af528fe8c2c96a8da7622fb8024dd7bd0b09416d687f65985ca30398ee845d"}},{"ruleId":"D1","level":"warning","message":{"text":"HardenedLaunchPlan.build (cyclomatic 23): HardenedLaunchPlan.build has cyclomatic complexity 23 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2ad3caa5c74c0c91d161ace807c4879fe38bf19b325475dacb86f766f1ee2f"}},{"ruleId":"D1","level":"warning","message":{"text":"CurrentAuthority.current_approval_snapshot (cyclomatic 23): CurrentAuthority.current_approval_snapshot has cyclomatic complexity 23 (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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96f94c54396a3e127214887078c9b8a3e78f900271e6437136742c25b179a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"check_extension_abi.main (cyclomatic 23): check_extension_abi.main has cyclomatic complexity 23 (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":"docker/images/check_extension_abi.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"da57523af1bbbdb27cae6a76631a5682286212a0ac9fbb912dfe3d1223415276"}},{"ruleId":"D1","level":"warning","message":{"text":"main.projectAWXTemplate (cyclomatic 23): main.projectAWXTemplate has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb0e65274d56952a3f8164758b58b3f449da8e3ddd515e153f45ae78ddccfde"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 23): main.run has cyclomatic complexity 23 (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":"go/cmd/tools/armis-api-probe/main.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff8e089f16c1b5b8ac36fa0782fdb9a7df03ea1bb2ded7024ace3d0e0b4a4b1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.validateManifestInventory (cyclomatic 23): main.validateManifestInventory has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: main.validateLimits (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"0888a6e8a495ff6d8a99818bf07d0360d53155d01a255acd6ac9e01dd66c6f04"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.proxmoxHostAuthorityForHTTPRequest (cyclomatic 23): pluginExecution.proxmoxHostAuthorityForHTTPRequest has cyclomatic complexity 23 (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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"164401d1b2ac2a185b19080667824f811d120d9b7919396764cec611f7da651c"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.collectAllStatusesSeparated (cyclomatic 23): PushLoop.collectAllStatusesSeparated has cyclomatic complexity 23 (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":"go/pkg/agent/push_loop_status.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d281a45ace4892e44549d8cde28a929ab77ce2fb4184f20dba4bd9039a7df7"}},{"ruleId":"D1","level":"warning","message":{"text":"armis.buildMetadata (cyclomatic 23): armis.buildMetadata has cyclomatic complexity 23 (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":"go/pkg/agent/syncsources/armis/update.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9f39ad2651e7a7d86e8e0190589082250a0ce424a61a4e71c2c3d06269394"}},{"ruleId":"D1","level":"warning","message":{"text":"mapper.applyTopologyEvidenceClass (cyclomatic 23): mapper.applyTopologyEvidenceClass has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/discovery_topology_evidence.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8c6bcde25e71a8327fef39440af850013ee2cba0b95b34ac500858a07b8d92"}},{"ruleId":"D1","level":"warning","message":{"text":"Tracer.sendProbes (cyclomatic 23): Tracer.sendProbes has cyclomatic complexity 23 (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":"go/pkg/mtr/tracer.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae64b13762e8e22d06e9103ae66bc7bad3e985a1a0f5bb21fa62c30d939f89f"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::live_capture::run_capture (cyclomatic 23): serviceradar_fieldsurvey_sidekick::live_capture::run_capture has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. 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":"rust/fieldsurvey-sidekick/src/live_capture.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffe693379d1a8d5ae7d05ecf014d22787df6e0baceae87ea4ee73152d32d76b"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_flow_collector::main (cyclomatic 23): serviceradar_flow_collector::main has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/main.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb14b287fc588e25821359649fe12e525afe8823cfb8eed53599ac061336269"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::mtr_traces::apply_primary_order (cyclomatic 23): srql::query::mtr_traces::apply_primary_order has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::mtr_traces::apply_secondary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/mtr_traces.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ad2b5f312055f7f2758bea28b4f535a96e7c4f455aef2c671ba4be7661d26"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::mtr_traces::apply_secondary_order (cyclomatic 23): srql::query::mtr_traces::apply_secondary_order has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::mtr_traces::apply_primary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/mtr_traces.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b68ccdc6d444181a0dde53d456233f4b18404b640d6dbef7d6066676a91ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::flows::filters::apply_threat_filter (cyclomatic 23): srql::query::flows::filters::apply_threat_filter has cyclomatic complexity 23 (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":"rust/srql/src/query/flows/filters.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f03d4354b2d19172b96e02c1b3220db9261896eee9235fca12311f66bbd23"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::endpoint_packages::apply_single_order (cyclomatic 23): srql::query::endpoint_packages::apply_single_order has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::endpoint_packages::apply_secondary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/endpoint_packages.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca1ea6ec63d9cfb2d13a721e662861e9720194d600465c5b4c776b911b02c7e"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::endpoint_packages::apply_secondary_order (cyclomatic 23): srql::query::endpoint_packages::apply_secondary_order has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::endpoint_packages::apply_single_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/endpoint_packages.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc78c39a78e25127ea9fe2914031e52ab2739e353d917ec7d065a8385e42dbf0"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_topology_state_methods.overviewTopologySceneFromGeometry (cyclomatic 23): layout_topology_state_methods.overviewTopologySceneFromGeometry has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"060545c134974a1e30eef3002766effd2651e1c4c0ef0a7280cb33ecdeaab8d9"}},{"ruleId":"D1","level":"warning","message":{"text":"rendering_graph_view_methods.managedRouteSeparationConstraint (cyclomatic 23): rendering_graph_view_methods.managedRouteSeparationConstraint has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f711d2e32442d57664d1b726e1b07adbe263c965af6c9980de6d5f88be04f83f"}},{"ruleId":"D1","level":"warning","message":{"text":"mounted (cyclomatic 23): mounted has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 13 function items inside it that branch (extractTimeToken, maybeRestore, cookieGet, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/SRQLTimeCookie.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99785e981f8b1827b66f1339dc0457c527d3bcf4ab17e4234f28c0a633f954"}},{"ruleId":"D1","level":"warning","message":{"text":"draw (cyclomatic 23): draw has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/FlowDonut.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"46da289e4cc68a8be4fe9406f2c0904b5f4cf3d61831c43d00d59687839cb1ff"}},{"ruleId":"D1","level":"warning","message":{"text":"CallbackCommandContract.broker_matches? (cyclomatic 22): CallbackCommandContract.broker_matches? has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"54926aae139b301dc525852e5685a6e8bd0212b564cf30e61ac538b85922dfc3"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveAwxLaunchPreflight.validate_controller_security_snapshot (cyclomatic 22): LiveAwxLaunchPreflight.validate_controller_security_snapshot has cyclomatic complexity 22 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c688df90396a03af32b64c9ceba26160decd51a71b97e8493b08d65af91e369"}},{"ruleId":"D1","level":"warning","message":{"text":"CurrentAuthority.rebuild (cyclomatic 22): CurrentAuthority.rebuild has cyclomatic complexity 22 (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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8446643e7551fd4f7332e069ff382aa02fd66f98692e48a4f762d0fdc7df98fa"}},{"ruleId":"D1","level":"warning","message":{"text":"CurrentAuthority.current_policy_snapshot (cyclomatic 22): CurrentAuthority.current_policy_snapshot has cyclomatic complexity 22 (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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee002f84b956dd1b30f617dea9eeaee1e5d4f6d8b950ddeb1da649a171ad47c2"}},{"ruleId":"D1","level":"warning","message":{"text":"Packages.create_from_upload (cyclomatic 22): Packages.create_from_upload has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f54b0b6ac2062b3fc5d94a2990f6960b4fc5da41d17071c547376e65aa0f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.Validate (cyclomatic 22): Config.Validate has cyclomatic complexity 22 (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":"go/cmd/wasm-plugins/opentext-nom/config.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ac3a8252008ae477f8fbe60aa7db9011b4a17a6b3936157c34f8f6abcc5cdc"}},{"ruleId":"D1","level":"warning","message":{"text":"main.enrichGuests (cyclomatic 22): main.enrichGuests has cyclomatic complexity 22 (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":"go/cmd/wasm-plugins/proxmox/inventory_fetch.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ed6c4a98d0e2b5cb5fd7c94f257bf3d9862a970a7a2948a118f165e8a90af4"}},{"ruleId":"D1","level":"warning","message":{"text":"main.validateWindowsPackages (cyclomatic 22): main.validateWindowsPackages has cyclomatic complexity 22 (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":"build/release/platform_artifacts.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85ba520287814b786aeb43b44dae7efc4d67723a26a187c6afab2d8948857f5"}},{"ruleId":"D1","level":"warning","message":{"text":"auditFrameWriter.Write (cyclomatic 22): auditFrameWriter.Write has cyclomatic complexity 22 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.validateLimits (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4289bf78a2ead39dac10171c8bc5fb3cf426f45f5b4d68cdee05fa2495f0e2"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.canonicalAWXControllerOrigin (cyclomatic 22): agent.canonicalAWXControllerOrigin has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_awx_inventory_credentials.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"323285773d598f80332cf8843b1c303ac55ddb283f008892084b7137c64ae946"}},{"ruleId":"D1","level":"warning","message":{"text":"awxCallbackCredentialMemoryInput.consumeInputs (cyclomatic 22): awxCallbackCredentialMemoryInput.consumeInputs has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: agent.validateAWXCallbackCredentialBinding (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/awx_callback_credential.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c35d4bc8ca1c77df204368c0acf27f07dbcee46cdaa97c235ba59531d0304d0"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteaccess.NormalizeDesktopCredentialGrantAt (cyclomatic 22): remoteaccess.NormalizeDesktopCredentialGrantAt has cyclomatic complexity 22 (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":"go/pkg/agent/remoteaccess/desktop_credential.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8848e62396b8bc2f7c7562d40eacab0eb5439e8b90a21bd697e9936749e828"}},{"ruleId":"D1","level":"warning","message":{"text":"models.filterRecursively (cyclomatic 22): models.filterRecursively has cyclomatic complexity 22 (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":"go/pkg/models/utils.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c95e55443d8f7cd3fd0f1008c9e65b094f31a31cba0a0dd2c7300eb4e1753c"}},{"ruleId":"D1","level":"warning","message":{"text":"apiClient.request (cyclomatic 22): apiClient.request has cyclomatic complexity 22 (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":"go/pkg/terraformprovider/client.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3437dd3d54eeef84ab6bcb23f85546924d44a7529f153555dbc97b18fc9b5d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Coordinator.monitorFrameLiveness (cyclomatic 22): Coordinator.monitorFrameLiveness has cyclomatic complexity 22 (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":"swift/FieldSurvey/FieldSurvey/Views/CompositeSurveyView.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac5d1dcf5499674bd8f136c68647e70f38d73b1a9353ab296e308227b8109ab"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher::run (cyclomatic 22): Publisher::run has cyclomatic complexity 22 (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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dbff518161a9aca6bfb9cd02c38588598be71ad567538d02e9b320e6e137ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::parse_primitive (cyclomatic 22): Parser::parse_primitive has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/capture/filter.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6031627de6edda0155357b3e6044a3682257e08886c877ad9af63753e49c02"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardBuilderCanvas.Component (cyclomatic 22): DashboardBuilderCanvas.Component has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 505, 364, 411, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"05753f57f357a7bd6ec3770068691600cddbe4e2c6c53da43f4afde59734e251"}},{"ruleId":"D1","level":"warning","message":{"text":"god_view_elk_scene_acceptance.playwright.assertScene (cyclomatic 22): god_view_elk_scene_acceptance.playwright.assertScene has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e09dd2048bc1010725c67591bf14fa071b1f83da5f64e3349a9af0b126975a"}},{"ruleId":"D1","level":"warning","message":{"text":"rendering_label_collision.admitTopologyLabels (cyclomatic 22): rendering_label_collision.admitTopologyLabels has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_label_collision.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dafa57859503f7b3719f8ba36511d160c04547593ca11cdaab631f5c5f2bde1"}},{"ruleId":"D1","level":"warning","message":{"text":"security_findings.dashboardHtml (cyclomatic 22): security_findings.dashboardHtml has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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":"elixir/web-ng/assets/js/dashboards/security_findings.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7a1af23a00868adf528be7e6aad98b1acd645db2ce1da8b2301ad34fb637fc"}},{"ruleId":"D1","level":"warning","message":{"text":"validation.validateSampleFrames (cyclomatic 22): validation.validateSampleFrames has cyclomatic complexity 22 (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":"js/cli/src/validation.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3531ffe4b156b0638bc50edd33783c1042529d6db7b35f91a46e60b67ab5b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"autoFitViewState (cyclomatic 22): autoFitViewState has cyclomatic complexity 22 (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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e0056eb59aa2cb503c140d26cda7dab76d6fcfe7f313cd18283f534479a638"}},{"ruleId":"D1","level":"warning","message":{"text":"requestTopologyProfileLayout (cyclomatic 22): requestTopologyProfileLayout has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b685045ba739f32971059386c5e669ebd2b22adf0b86e8ef6922de34bccc0ad8"}},{"ruleId":"D1","level":"warning","message":{"text":"_draw (cyclomatic 22): _draw has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 7 function items inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a691216594ce213f4dd562b8ab4246e7ac31feaa6d3dc73072233e3b7b92b503"}},{"ruleId":"D1","level":"warning","message":{"text":"draw (cyclomatic 22): draw has cyclomatic complexity 22 (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":"elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"540e9e475e16828b486072071490397ea96cc3a7f5480a929ac82af2d7522f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxClient.valid_launch_args? (cyclomatic 21): AwxClient.valid_launch_args? has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b262eb3f7060a62ed87265c1e4d372d5237b26357c0c5424831cece0284c78b4"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxLaunchPreflightAttestation.verify_persisted_internal (cyclomatic 21): AwxLaunchPreflightAttestation.verify_persisted_internal 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f5adcf08c52427da1afd69c0bcc66b86e90e495c11f9b83604e472bf38935d"}},{"ruleId":"D1","level":"warning","message":{"text":"Lifecycle.prepare_draft (cyclomatic 21): Lifecycle.prepare_draft 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"deba2615f4ff9bf691515fcc2945fedb84f23786260463dac8d359610f54151e"}},{"ruleId":"D1","level":"warning","message":{"text":"Ubuntu.validate_product_fields (cyclomatic 21): Ubuntu.validate_product_fields 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"894e2e3066b160d38a59b49b8f20f0b7607993690665b6f5b42c5cc5b59300aa"}},{"ruleId":"D1","level":"warning","message":{"text":"AddonFleet.build_row (cyclomatic 21): AddonFleet.build_row has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_fleet.ex"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b08e3ecb19876445e6b12541fc5fc0a632a3aa2cea6045f64e755d871e6fa"}},{"ruleId":"D1","level":"warning","message":{"text":"FirstPartyImporter.import (cyclomatic 21): FirstPartyImporter.import 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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8715fa94dde5997ebdeaa5de93700b9e9cb4c2f214b17e017d53fea606f7cae2"}},{"ruleId":"D1","level":"warning","message":{"text":"main.listRecentJobsBounded (cyclomatic 21): main.listRecentJobsBounded has cyclomatic complexity 21 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e90e08bacd1f6b3c184c1562977b02b347ec2801164463b10576aa080f45c2"}},{"ruleId":"D1","level":"warning","message":{"text":"main.validateVEXStatement (cyclomatic 21): main.validateVEXStatement 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d0d7593aec1b516bfa235ce153f00e9fd73bbceb0e101e426dc38b5d92be91"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.marshalSweepMetricEnvelopeFromMap (cyclomatic 21): agent.marshalSweepMetricEnvelopeFromMap has cyclomatic complexity 21 (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":"go/pkg/agent/metric_envelope.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1be10b0ba309c5d2a7c99824243c24108b01bea7b2722a99c0c27fc65e70e0"}},{"ruleId":"D1","level":"warning","message":{"text":"cameraRelayManager.runSession (cyclomatic 21): cameraRelayManager.runSession has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. 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":"go/pkg/agent/camera_relay.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9efa5ecced957a37d1382764a1cf2e1ed6ec81e72fbddca94aaad5a120b943"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.RunSpireJoinToken (cyclomatic 21): cli.RunSpireJoinToken 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":"go/pkg/cli/spire.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d197162cfad8968e5484ec28ea22c48eb5686e0e872635abe2a245033585169"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.UploadObject (cyclomatic 21): Server.UploadObject has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. 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":"go/pkg/datasvc/server.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"87529cd455b443bcf628dafc7b048686cb2205f68b92e585f0b265032eda96b2"}},{"ruleId":"D1","level":"warning","message":{"text":"endpointinventory.applyDefaults (cyclomatic 21): endpointinventory.applyDefaults 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":"go/pkg/endpointinventory/config.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cace54a365fec6baa92a317819761f6edd503286d64c0a25d07e0b4afd5bb146"}},{"ruleId":"D1","level":"warning","message":{"text":"k8sinventory.endpointsFromGateway (cyclomatic 21): k8sinventory.endpointsFromGateway has cyclomatic complexity 21 (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":"go/pkg/k8sinventory/build.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6fac715db5f7a8c7f5e73516c6445e8a6b97cef74a5a616b9b6b9633259df5"}},{"ruleId":"D1","level":"warning","message":{"text":"k8sinventory.LoadConfigFromEnv (cyclomatic 21): k8sinventory.LoadConfigFromEnv has cyclomatic complexity 21 (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":"go/pkg/k8sinventory/config.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4e95055477852009c546f0639aef291b24c4ca3424d69ac999c1ab1374ebc1"}},{"ruleId":"D1","level":"warning","message":{"text":"god_view_nif::core::causality::evaluate_causal_states_with_reasons_impl (cyclomatic 21): god_view_nif::core::causality::evaluate_causal_states_with_reasons_impl has cyclomatic complexity 21 (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":"elixir/web-ng/native/god_view_nif/src/core/causality.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"646dc774d6f6e21ee0b96a1d5ec3b19e2f1128da2c8633380f38bc00b7894619"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectorEngine::apply_metric_class_override (cyclomatic 21): DetectorEngine::apply_metric_class_override 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":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"6134774a8a4ce25998fc67709329162a0267c6a12112e90e353630a450da5905"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher::drain_retries_until_empty (cyclomatic 21): Publisher::drain_retries_until_empty has cyclomatic complexity 21 (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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d7637a2e188e0c19e82855f433cea51e7f1da0c9313b1c7f9cb5bab54b59b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceRadarCollector::handle_traces (cyclomatic 21): ServiceRadarCollector::handle_traces has cyclomatic complexity 21 (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":"rust/otel/src/lib.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d86aa93239eb54baba5c6263116b4b7cdb29b5dbee4f0943d638fd8891dfaf9"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_rdp_adapter::protocol::validation::validate_open_payload (cyclomatic 21): serviceradar_rdp_adapter::protocol::validation::validate_open_payload 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":"rust/rdp-adapter/src/protocol/validation.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff06cfa64b61bb77ecc1ca6de0692d1dc96989e87a5eb9c6da5fe85029f997a"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::endpoint_inventory_scans::apply_single_order (cyclomatic 21): srql::query::endpoint_inventory_scans::apply_single_order has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::endpoint_inventory_scans::apply_secondary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/endpoint_inventory_scans.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4fe4e818a4cbe6a11c4cc6130b582c4bba9a44f33a9f8c736bb2846aa53b5b"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::endpoint_inventory_scans::apply_secondary_order (cyclomatic 21): srql::query::endpoint_inventory_scans::apply_secondary_order has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::endpoint_inventory_scans::apply_single_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/endpoint_inventory_scans.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ee3c4ef8cfaeeb42ecbb3b9a88bb63c96e343279be8eefd3a2db6a4aba921a"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::traces::apply_ordering (cyclomatic 21): srql::query::traces::apply_ordering has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/traces.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa102b30898255e96f73f32cb9379e475da783f4e67122b5155f49234139a382"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::endpoint_package_catalog::apply_single_order (cyclomatic 21): srql::query::endpoint_package_catalog::apply_single_order has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::endpoint_package_catalog::apply_secondary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/endpoint_package_catalog.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"0593e1b97411efa3606dc4c8409faf798c6c3d2c339b83e3c58b9aef3ae0425e"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::endpoint_package_catalog::apply_secondary_order (cyclomatic 21): srql::query::endpoint_package_catalog::apply_secondary_order has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::endpoint_package_catalog::apply_single_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/endpoint_package_catalog.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ad86f661149417da86777ad83c3b4641c3bb8dd3e9406ac368df7e2b2f2c2c"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::starrocks::filter_sql (cyclomatic 21): srql::query::starrocks::filter_sql has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"812fbcc7e06adca7ee9951fbd9cecd6627a941f2863cd8f2b968893a4cd72e45"}},{"ruleId":"D1","level":"warning","message":{"text":"acceptance_geometry_assertions.transportLayerRouteIdViolations (cyclomatic 21): acceptance_geometry_assertions.transportLayerRouteIdViolations has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6f277347e4a8d76065b9ad90b278a87f5964e8f143c76e44cf3b17535c104e"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_scene.decodedManifolds (cyclomatic 21): layout_elk_scene.decodedManifolds has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 538, 580). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"83434fd61b2c761c54337faae7b2354cadb2ef7460749f3686e445531557d1f1"}},{"ruleId":"D1","level":"warning","message":{"text":"rendering_style_edge_particle_methods.packetFlowStamp (cyclomatic 21): rendering_style_edge_particle_methods.packetFlowStamp has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c665879169dc49d367501cf8d9abdccabe122a11540cfda2d4b75134a0434082"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationsTrafficMap.endpointNodes (cyclomatic 21): OperationsTrafficMap.endpointNodes has cyclomatic complexity 21 (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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3e1c593352cc71c49da41410ed96a1be8b92a24c81035460b987d3a51d4670"}},{"ruleId":"D1","level":"warning","message":{"text":"harness.browserModuleApi (cyclomatic 21): harness.browserModuleApi has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 106, 151, 100, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/harness.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d40b5edf0bbc42df6bb1f13cbaf43ee94d366478bef8488ab8627cea9348c0e"}},{"ruleId":"D1","level":"warning","message":{"text":"connectWebRtc (cyclomatic 21): connectWebRtc has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/CameraRelayStatusStream.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88bf91091f56a2f5b372ba1ddc4ef3a26b090cfb439dc5f941938caf655b13a"}},{"ruleId":"D1","level":"warning","message":{"text":"computeTraversalMask (cyclomatic 21): computeTraversalMask has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_bitmap_methods.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"972378bbcb88256e5c116ad366d71273c729f57ebd4a7ebf6eecd102c53fc71b"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxLaunchContract.validate_template (cyclomatic 20): AwxLaunchContract.validate_template has cyclomatic complexity 20 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"683eaa2e280f0d8af3dd40c24ee10b3987e7bdcca9d298d8d0ca8db4e41b5dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveAwxLaunchPreflight.attest (cyclomatic 20): LiveAwxLaunchPreflight.attest has cyclomatic complexity 20 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3460b137bfcc3c3d5eb2935cbe49e73bf387e8c1d733cda65f2d11c9725bd919"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointVulnerabilityMatcher.load_fixed_vex_version_scopes (cyclomatic 20): EndpointVulnerabilityMatcher.load_fixed_vex_version_scopes has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aa52deefdeb21f9a18fdd8f6a73202fdc989cee5adfce9c158d7d6f45cb901"}},{"ruleId":"D1","level":"warning","message":{"text":"AddonRolloutView.fleet_health (cyclomatic 20): AddonRolloutView.fleet_health has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_rollout_view.ex"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b67c4cbbfffd7c4429b85e0586fb8d0d58e58708221307f78aea02b12baccf9"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessStreamHandler.credential_broker_opts (cyclomatic 20): RemoteAccessStreamHandler.credential_broker_opts 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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f5cee2d9d51f8054afa025c51fb7f011d8ac6ace7548c9108ba8f5ff7117d3"}},{"ruleId":"D1","level":"warning","message":{"text":"main.launchPreflightJSONWithoutNumbers (cyclomatic 20): main.launchPreflightJSONWithoutNumbers 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. This is NOT this file\u0027s highest cyclomatic complexity: main.projectLaunchPreflightTemplate (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"14834e21add3c029a27eec7c3577b596ebbbfddc8f27b662d25a62463f2e21b8"}},{"ruleId":"D1","level":"warning","message":{"text":"main.validatedJobEventPairs (cyclomatic 20): main.validatedJobEventPairs 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. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd1ff847e4ba1bd86d11c2729e7d99e08a126b80de8c272da437d6253dfd2cc"}},{"ruleId":"D1","level":"warning","message":{"text":"main.runProxmoxCheck (cyclomatic 20): main.runProxmoxCheck 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":"go/cmd/wasm-plugins/proxmox/check.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"da77fa330dbaf75d4fdd0104a705875aa65d3b250114ce446714f8014ccbb16f"}},{"ruleId":"D1","level":"warning","message":{"text":"builder.build (cyclomatic 20): builder.build has cyclomatic complexity 20 (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":"build/packaging/agent/macos/package.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"868938a0472c07034b477e4e2d7d5c0f50a23ebd44f6a2434dddeaaeaec4bc8e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.validateMacOSPackage (cyclomatic 20): main.validateMacOSPackage has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/release/platform_artifacts.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edc8503316e6ab6adabd8f868fbc884070438511cc1c95b1e1dbc109a597564"}},{"ruleId":"D1","level":"warning","message":{"text":"main.writeCanonicalJSON (cyclomatic 20): main.writeCanonicalJSON 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":"build/release/publish_packages.go"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aa79942805d38d9401c83ac6869d6952b9668d7078ef39db41f1cd1abd26dc"}},{"ruleId":"D1","level":"warning","message":{"text":"main.projectOSV (cyclomatic 20): main.projectOSV 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"6620480689992dec9f890e18f3b7f4ebc21afbd1c162b73262dcbea9bbfa74cd"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.InstallAddonSystemdUnits (cyclomatic 20): agent.InstallAddonSystemdUnits has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/agent/addon_systemd.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a15e99ceba20c4d5fbeb3d661d81e1fd7a460cb41be52809be2c20695004f8b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.applyCredentialBrokerFormInjection (cyclomatic 20): agent.applyCredentialBrokerFormInjection 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":"go/pkg/agent/plugin_runtime_actions.go"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd8c80efc16c202d746a0d627b2d12404eb92193f5c3abf48c9db3574d3e05"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.writeCanonicalJSON (cyclomatic 20): agent.writeCanonicalJSON 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":"go/pkg/agent/push_loop_status_signature.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"86605b8c6cb16161893dce6c5652f6d995e9d9913ece21f8906686496dea477e"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.proxmoxHostAuthorityForWebSocket (cyclomatic 20): pluginExecution.proxmoxHostAuthorityForWebSocket has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a047f1836c1926a4448bc120d2aaa2bbfdb3a8ab531bbf6526b8c55cbe113d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"SNMPCollector.processValue (cyclomatic 20): SNMPCollector.processValue 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":"go/pkg/agent/snmp/collector.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c318b20904ff9968b844088a2563d281f11af71c66119c4a5e0822c4aa4b23fd"}},{"ruleId":"D1","level":"warning","message":{"text":"endpointinventory.FinalizeFullScan (cyclomatic 20): endpointinventory.FinalizeFullScan has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 219). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/endpointinventory/cache_commit.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"96386cbe5626d48dde0acfe4cb2ca40a65dab3ef786fba1175b0455cac578a29"}},{"ruleId":"D1","level":"warning","message":{"text":"mapper.buildSNMPL2LinksFromNeighbors (cyclomatic 20): mapper.buildSNMPL2LinksFromNeighbors 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":"go/pkg/mapper/snmp_l2_query.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c5246611d71849c389885eb31b3bddbfbb26c0d8e82023229813c0d043a1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.enrichSNMPVLANFingerprint (cyclomatic 20): DiscoveryEngine.enrichSNMPVLANFingerprint has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. 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":"go/pkg/mapper/snmp_fingerprint.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dad93b279c76d679cd9006b7d43d35b7bc5006259f39fb4b9a12227ebaacc5f"}},{"ruleId":"D1","level":"warning","message":{"text":"SidekickRelay.start (cyclomatic 20): SidekickRelay.start 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":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d962c9cd62d3214fe3c6ebeeacdf85961eccaffb32d053564c61f4d41002a808"}},{"ruleId":"D1","level":"warning","message":{"text":"SidekickRelay.startRadioRelay (cyclomatic 20): SidekickRelay.startRadioRelay 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":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"4401cb502dd4beb3aee45dd5acb09248b1c39d48c89214f64ba3e5b24e7d06ce"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectorEngine::evaluate_transition_with_seasonal_key (cyclomatic 20): DetectorEngine::evaluate_transition_with_seasonal_key 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":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"939aa483297398ab91a83b96a556c1faa4725513fc95ebb481e6bdae98a89332"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe::kernel_layout::parse_btf (cyclomatic 20): serviceradar_netprobe::kernel_layout::parse_btf has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/kernel_layout.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"768143d31935e0604adf83447048bdf5ca6d68649e5454f056b7a6082002e138"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe::mdns::parse_mdns_payload (cyclomatic 20): serviceradar_netprobe::mdns::parse_mdns_payload 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":"rust/netprobe/src/mdns.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"610de6001fa3310b400cbd1791b49b4eae6205e586bf7a1b83b52a0dffff1923"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe::attribution::drain_ring (cyclomatic 20): serviceradar_netprobe::attribution::drain_ring 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":"rust/netprobe/src/attribution.rs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"2911632d5d5205d887e1e8f7276a796ec930d7aa3b7e51b6fe1bb959b40ba797"}},{"ruleId":"D1","level":"warning","message":{"text":"otel::http_server::handle_otlp (cyclomatic 20): otel::http_server::handle_otlp has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel/src/http_server.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5750c93be02a436ca4ae8c17f20681ba3e7c647e3f3d8c3b95f54ef0ca51d46"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_rdp_adapter::protocol::validation::validate_credential_grant (cyclomatic 20): serviceradar_rdp_adapter::protocol::validation::validate_credential_grant has cyclomatic complexity 20 (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":"rust/rdp-adapter/src/protocol/validation.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"092f3c30eb136a02e187b99e1ba73122bfe7c7ae874a88f90c22d74320970f72"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::alerts::apply_ordering (cyclomatic 20): srql::query::alerts::apply_ordering has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/alerts.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ab7927522e8abe8a562a1c0b96df1c76a2805a06ab02b506ac0e409119a8bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::validate (cyclomatic 20): Config::validate 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":"rust/trapd/src/config.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"733117ce14dad8a2fc806c44e28f3c3b58bb4c5780dc2c5bb484d3e0a6b11eef"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_scene.elkManifoldBindings (cyclomatic 20): layout_elk_scene.elkManifoldBindings 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea86ed0026958e25e3abb252c94695f03d37fe58ee19515e4be39e989a16c31"}},{"ruleId":"D1","level":"warning","message":{"text":"rendering_scene_view.focusScene (cyclomatic 20): rendering_scene_view.focusScene has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 418, 402, 414, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b904a1ecc1fd846726dcaeb48e12118d0e9a34c321e31df321b3314313f423"}},{"ruleId":"D1","level":"warning","message":{"text":"doctor.doctorCommand (cyclomatic 20): doctor.doctorCommand 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":"js/cli/src/doctor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f16b81ef485329a77cf549fb2081e71aee913e9bc974338707ad111dfba80e"}},{"ruleId":"D1","level":"warning","message":{"text":"manifest.manifestErrors (cyclomatic 20): manifest.manifestErrors has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/plugin/manifest.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d673d7b89dca9be94ee97f7f4250a7e74e6b08a7f412be4abadc2968fd49a1"}},{"ruleId":"D1","level":"warning","message":{"text":"_initOrUpdate (cyclomatic 20): _initOrUpdate has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cf9492714628733808e4c3667cdd286d4fd0e7071f3fc375d99a44805025a0"}},{"ruleId":"D1","level":"warning","message":{"text":"stateReasonForNode (cyclomatic 20): stateReasonForNode 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":"elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bd94ebe281e07d4b4792c70bc951dc3b4549388cf9e9fa473f5ba6310a2df6"}},{"ruleId":"D1","level":"warning","message":{"text":"nodeTypeHeroIcon (cyclomatic 20): nodeTypeHeroIcon has cyclomatic complexity 20 (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":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e71f43cf576908899fac62172a2506938175179cecec51be81580fe2d67e81c"}},{"ruleId":"D1","level":"warning","message":{"text":"selectManagedDensityForScale (cyclomatic 20): selectManagedDensityForScale has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c13d1921c407e507eb396d35fc6f0511e50b7028f1858ffe5938ea5f8845f0"}},{"ruleId":"D1","level":"warning","message":{"text":"createDeckInstance (cyclomatic 20): createDeckInstance has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 8 function items inside it that branch (onError, onViewStateChange::applyViewState, onViewStateChange, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9c1484fdf6003628c1c63d6d6b8527a0e7738de95be091b8625dc22842d693"}},{"ruleId":"D1","level":"warning","message":{"text":"_draw (cyclomatic 20): _draw has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 13 function items inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc0cd7fc062d7dba10c5afd14570600956af97ddb6ea274331ee219205dbcc"}},{"ruleId":"D1","level":"warning","message":{"text":"SecureExecutionCurrentAuthority.current_principal (cyclomatic 19): SecureExecutionCurrentAuthority.current_principal has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aec2f22b87036120d2958c23a6b91704db89379bfe228f9db6bb0442948cd03"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxCleanup.build_plan (cyclomatic 19): AwxCleanup.build_plan has cyclomatic complexity 19 (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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3b7958a75fd4d526e675535ef0ec8a521f58c59ec7d0b9221d7694b210a74e"}},{"ruleId":"D1","level":"warning","message":{"text":"CleanupReconciler.handle_command_result (cyclomatic 19): CleanupReconciler.handle_command_result 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fccffe0dd216245d3383a9fa52ca76223acec2c8698bbb3fbbe040ac434e147"}},{"ruleId":"D1","level":"warning","message":{"text":"Ubuntu.validate_provenance (cyclomatic 19): Ubuntu.validate_provenance has cyclomatic complexity 19 (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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddd23bd34440ad54e7eaa90fbe78c16780274f9ab84e91aab67668e36ff0526"}},{"ruleId":"D1","level":"warning","message":{"text":"Ubuntu.validate_assertion (cyclomatic 19): Ubuntu.validate_assertion has cyclomatic complexity 19 (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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba29390e2e10d8ef347a07b18fafc80a0db15f11bd5c84f5fd7119342b014bc2"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.version_scope_product? (cyclomatic 19): EndpointVulnerabilityAdjudicator.version_scope_product? has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c7c8a437030e2c2a7f83be8d91785c675b8f0deaeb503dd01a998985bd15f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Manifest.validate_producer_schedule (cyclomatic 19): Manifest.validate_producer_schedule has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12171d3ae9c92b04dbce1425e9a9225c79b9698edcae2d90d6b22cc8313d3a4"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeGraph.canonical_edge_to_runtime_row (cyclomatic 19): RuntimeGraph.canonical_edge_to_runtime_row has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"169c3547dd68622d2305e9ff7bcc2cd83be8f166fd1e28fd28e8b5d5aea46cfd"}},{"ruleId":"D1","level":"warning","message":{"text":"main.runFetchLaunchPreflight (cyclomatic 19): main.runFetchLaunchPreflight has cyclomatic complexity 19 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.projectLaunchPreflightTemplate (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b07ffdd3d239aa7b225389a63b9dd4ebcbe167de9575bd10c7e11daa485d1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.projectAWXSurveyChoices (cyclomatic 19): main.projectAWXSurveyChoices has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb4b70e9b817f7e2b7443a3c1100f0d497216a05110a9e1bb4e2ddc09bf811c"}},{"ruleId":"D1","level":"warning","message":{"text":"main.streamProtectRTSP (cyclomatic 19): main.streamProtectRTSP has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/cmd/wasm-plugins/unifi-protect/rtsp_stream.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3b27cd5db9b7efd42f90190c2eb5b57e3bf1540ae551ec730b2c2014c78b82"}},{"ruleId":"D1","level":"warning","message":{"text":"builder.verifyPayload (cyclomatic 19): builder.verifyPayload has cyclomatic complexity 19 (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":"build/packaging/agent/macos/package.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"933f158abc4339f39f034f1f76bb1fadadfc06948628164f85991a33bc384c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"builder.buildArch (cyclomatic 19): builder.buildArch has cyclomatic complexity 19 (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":"build/packaging/agent/windows/package.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff3bb666c3b29bff897476531ebc4ef3da4f66212d8fb68c73ca0de152f6de"}},{"ruleId":"D1","level":"warning","message":{"text":"BGPSimulationConfig.UnmarshalJSON (cyclomatic 19): BGPSimulationConfig.UnmarshalJSON has cyclomatic complexity 19 (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":"go/cmd/faker/main.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc7720526563cb82f1b3b4dc9a5416ad35fa9138686ad7830b913393646f707"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.systemdAddonUnitStatusWithReader (cyclomatic 19): agent.systemdAddonUnitStatusWithReader 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":"go/pkg/agent/push_loop_capabilities.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f3eac5362aa9e51392936143f42abba82d4e93902d08ecf84c68c85b8799d6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.stageAgentRelease (cyclomatic 19): agent.stageAgentRelease has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/agent/release_update.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6fde9293f9f6692a02baac8ef954d3319965bff9cc8c5014e8b31599c88fc6"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.applyCredentialBrokerOAuth2Bearer (cyclomatic 19): pluginExecution.applyCredentialBrokerOAuth2Bearer has cyclomatic complexity 19 (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":"go/pkg/agent/plugin_runtime_oauth.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d38b8ce71f4916bcece950437c77ad802e2ae1979be2620d2a98366939a187"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.applyBumblebeeConfig (cyclomatic 19): PushLoop.applyBumblebeeConfig 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":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aff5d799923d203fc0b31e94da5cf55f514937d7e32d462238cb616ea634ce"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.pushNetprobeResults (cyclomatic 19): PushLoop.pushNetprobeResults 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":"go/pkg/agent/push_loop_mapper_netprobe.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aacf9abe014867fe2eaab2e914b156e710b5ecd023b33d9a5fd2e23de0fd9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewayClient.Connect (cyclomatic 19): GatewayClient.Connect 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":"go/pkg/agentgateway/gateway_client.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5f89662be831996770e370ed6f14b79907237ba924b17e3e469b9d241a1330"}},{"ruleId":"D1","level":"warning","message":{"text":"Bootstrapper.loadPackageFromArchive (cyclomatic 19): Bootstrapper.loadPackageFromArchive has cyclomatic complexity 19 (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":"go/pkg/edgeonboarding/download.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83542b4322ccb8fd514f3fe87620646a6da775a640606d0661d35be383b6d89"}},{"ruleId":"D1","level":"warning","message":{"text":"UniFiUplink.parentPortIndex (cyclomatic 19): UniFiUplink.parentPortIndex has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/ubnt_normalizers.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"939618ac39353e785dc4886137afddc9b4d045f92981bb2777f75d291f1e1023"}},{"ruleId":"D1","level":"warning","message":{"text":"Tracer.Run (cyclomatic 19): Tracer.Run has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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":"go/pkg/mtr/tracer.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3067c9c533b68514dbb7482a637a5f16a82d7fe032f950d29fe58afb0706dd7f"}},{"ruleId":"D1","level":"warning","message":{"text":"scalibrinventory.applyDefaults (cyclomatic 19): scalibrinventory.applyDefaults has cyclomatic complexity 19 (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":"go/pkg/scalibrinventory/config.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e75efae169c42a3437ab9e7d222767f5386b37c5d05155a727043407cf0e04"}},{"ruleId":"D1","level":"warning","message":{"text":"SurveySetupPhaseView.body (cyclomatic 19): SurveySetupPhaseView.body has cyclomatic complexity 19 (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":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2cfe7300f8f1036c3a8bed2463316aaa09e020c36c0527316f94749d52796b"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionLibraryView.uploadSavedArtifacts (cyclomatic 19): SessionLibraryView.uploadSavedArtifacts 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":"swift/FieldSurvey/FieldSurvey/Views/HomeShellView.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d07bf06587c7c18e33dda8d1413b77c997e0c1cda7387b4a994ba9a9135319"}},{"ruleId":"D1","level":"warning","message":{"text":"god_view_nif::core::layout::count_crossings_between_layers (cyclomatic 19): god_view_nif::core::layout::count_crossings_between_layers 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":"elixir/web-ng/native/god_view_nif/src/core/layout.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07d5109649d83cb12c317c45a4321c3ec84524d5d2938d248afcec48e117989"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_anomaly_disposition::bin::disposition-backtest::parse_args (cyclomatic 19): serviceradar_anomaly_disposition::bin::disposition-backtest::parse_args has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-disposition/src/bin/disposition-backtest.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"19693d7b0a83a84d9f2ada910a5860e1ebebb8354534ac042d7ed60cf2b6fb82"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe::fingerprint::recog_observations (cyclomatic 19): serviceradar_netprobe::fingerprint::recog_observations has cyclomatic complexity 19 (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. This is NOT this file\u0027s highest cyclomatic complexity: serviceradar_netprobe::fingerprint::signal_name (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/fingerprint.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63e22c182278260719cb9f22cc2e7c8b10e1ffef409cb63201697bf0134da76"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe::ja4::parse_tls_client_hello (cyclomatic 19): serviceradar_netprobe::ja4::parse_tls_client_hello has cyclomatic complexity 19 (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":"rust/netprobe/src/ja4.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9919e3fb743d78d6b9dd61200d50018e83965ddfcffd0ed715f999e1c5190f"}},{"ruleId":"D1","level":"warning","message":{"text":"otel::nats::stream::ensure_stream (cyclomatic 19): otel::nats::stream::ensure_stream 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":"rust/otel/src/nats/stream.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7840b4a3e57576c2cf314359fe3ee1e6b5a1f8102044fcfeb71521d18b18efc"}},{"ruleId":"D1","level":"warning","message":{"text":"OtelCollectorAddon::configure (cyclomatic 19): OtelCollectorAddon::configure 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":"rust/otel-addon/src/addon.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"63796bfed0057b3e9a37eb2437e4389ea5a1094d484fb81fe448e84e176698f0"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_rdp_adapter::runtime::process_frame (cyclomatic 19): serviceradar_rdp_adapter::runtime::process_frame 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":"rust/rdp-adapter/src/runtime.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"19adcbf63cb617dd6306f7b570cdc7cbff32db0f2ba8c1fda9f64c1f4ccf92c0"}},{"ruleId":"D1","level":"warning","message":{"text":"tokenizer.inferSlot (cyclomatic 19): tokenizer.inferSlot 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":"elixir/web-ng/assets/js/lib/srql/tokenizer.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3652852f3bbf679a9b566222069f0812adb6cf39dee7df412884b6cf9972752"}},{"ruleId":"D1","level":"warning","message":{"text":"SrqlEditor.Component (cyclomatic 19): SrqlEditor.Component has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 47, 15, 56, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/SrqlEditor.jsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aea4963b7900653cc416c844f95acd2dd0e12dbf73ad3cdddbd75dce3ee310f"}},{"ruleId":"D1","level":"warning","message":{"text":"acceptance_geometry_assertions.groupGeometryViolations (cyclomatic 19): acceptance_geometry_assertions.groupGeometryViolations has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e713a17043eb307a685d27f817c9ddce75629eef162b36a5789a34fd6797b357"}},{"ruleId":"D1","level":"warning","message":{"text":"dev.watchProjectForValidation (cyclomatic 19): dev.watchProjectForValidation has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"js/cli/src/dashboard/dev.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"021a6bcd213fc9d8586847f95f70732dcd88a930260e7f470146856109ebf5ee"}},{"ruleId":"D1","level":"warning","message":{"text":"_rangeOptions (cyclomatic 19): _rangeOptions has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (viewPoint, continuationXForEvent, formatStatus, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowTrafficTooltip.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"314ad3149e2bfb5d3070745cf43f579a5aa944ec2037717e93d15c4cc42a9388"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomationResultSanitizer.job (cyclomatic 18): AutomationResultSanitizer.job has cyclomatic complexity 18 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1a7e493c03134d5ffcb3bd328350882616c74a797dd80892fad0d4611309c8"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxBindingReview.normalize_request (cyclomatic 18): AwxBindingReview.normalize_request has cyclomatic complexity 18 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_binding_review.ex"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc2bb15376744abb27d0dd798048b480c01ddf03d1ad9572c383b1f75e81fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"SecureChildLauncher.load_launch_state (cyclomatic 18): SecureChildLauncher.load_launch_state has cyclomatic complexity 18 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d4bd1f34d96099783c26dabbc59f9b544e6ad7b74f1e20493d46890ef94836"}},{"ruleId":"D1","level":"warning","message":{"text":"AshStore.validate_cleanup_reconciliation (cyclomatic 18): AshStore.validate_cleanup_reconciliation has cyclomatic complexity 18 (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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7eb58dee8a9a3706e2f4b4c008edf25f4e7784e3de85281924f84e0b20410b"}},{"ruleId":"D1","level":"warning","message":{"text":"UbuntuAdapter.validate_inventory (cyclomatic 18): UbuntuAdapter.validate_inventory has cyclomatic complexity 18 (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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/ubuntu_adapter.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e7ff61d51914895962a7de170c57973f324adb7a25e7d6f4df00bac8dc6353"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.version_scope_parent_context? (cyclomatic 18): EndpointVulnerabilityAdjudicator.version_scope_parent_context? has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c5bcf71e52c3db8f26b2a6ed9d92819035debc77755e169d10ad69ea44c6af"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeEngine.do_merge_devices (cyclomatic 18): MergeEngine.do_merge_devices has cyclomatic complexity 18 (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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/merge_engine.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a67c139bd9f6c8df60547e10f6ff617029e2d9aabdceb51166ae94c2a143eab"}},{"ruleId":"D1","level":"warning","message":{"text":"ensure_k8s_node_alerts.main (cyclomatic 18): ensure_k8s_node_alerts.main has cyclomatic complexity 18 (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":"js/cli/ensure_k8s_node_alerts.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"892e65ed4d6a2c369e7924f0c49cb8942c94d7b112887d5c013108a1e8986c6a"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.applyDefaults (cyclomatic 18): Config.applyDefaults has cyclomatic complexity 18 (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":"go/cmd/wasm-plugins/alienvault-otx/main.go"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"7137624fead39f61500568a1da76915cb27cdeb0bdb7aead239933cef40c900b"}},{"ruleId":"D1","level":"warning","message":{"text":"otxJSONScanner.readString (cyclomatic 18): otxJSONScanner.readString has cyclomatic complexity 18 (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":"go/cmd/wasm-plugins/alienvault-otx/main.go"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6845392cb77dfa5b9b46650b3d84f15c09b3f577ac44e3af3dcffe44c54057"}},{"ruleId":"D1","level":"warning","message":{"text":"main.listAWXPathBounded (cyclomatic 18): main.listAWXPathBounded has cyclomatic complexity 18 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8779989f9dc55531b5ab6c927ace2712a0950582d6e6bfe9a55a9ced8e6cc62"}},{"ruleId":"D1","level":"warning","message":{"text":"main.awxSurveyVariableTokens (cyclomatic 18): main.awxSurveyVariableTokens has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"c144007aa177e230d0ef464c78b436ce8a1b18ab1220d8d4647892dae2b77c67"}},{"ruleId":"D1","level":"warning","message":{"text":"Query.UnmarshalJSON (cyclomatic 18): Query.UnmarshalJSON has cyclomatic complexity 18 (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":"go/cmd/wasm-plugins/opentext-nom/config.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d5592af04b5b7d0f607b9bfb5942f159ff135410f67c529313510aa306b60e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run_check (cyclomatic 18): main.run_check has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 15). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/unifi-protect/main.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7592b5614d776aeb859bb16a11093a5f0085de1d3f6c9b6a9ad8721174dce70"}},{"ruleId":"D1","level":"warning","message":{"text":"options.validate (cyclomatic 18): options.validate has cyclomatic complexity 18 (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":"build/packaging/agent/macos/package.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ef0a894673f22e43dd419d9527679e4b1eed1d49350d6992899d9d46a680e2"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.trustedProxmoxSSHTimeout (cyclomatic 18): agent.trustedProxmoxSSHTimeout has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 2136). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7b9d703d95a1e18e50dbfec8604fd2d873c8f920461400c57e312a3f835e1a"}},{"ruleId":"D1","level":"warning","message":{"text":"controlPlaneAutomationLaunchEnvelopeResolver.Resolve (cyclomatic 18): controlPlaneAutomationLaunchEnvelopeResolver.Resolve has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/automation_launch_envelope_resolver.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b630bdf4d67ec1ff8746011f9ff88a706dc6107c684f5870802001701d4b2a"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginManager.credentialBrokerCacheDecision (cyclomatic 18): PluginManager.credentialBrokerCacheDecision has cyclomatic complexity 18 (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":"go/pkg/agent/plugin_runtime_http.go"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7aa812f3b78baa4fbcaf703b6660e8f6dc66ee4013d61ff76ac83f20bc89cd"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.controlStreamLoop (cyclomatic 18): PushLoop.controlStreamLoop has cyclomatic complexity 18 (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. This is NOT this file\u0027s highest cyclomatic complexity: PushLoop.handleCommand (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/control_stream.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3e15ccffb2b42b7a2578914f85dad8b3dbb5df3832ff8d477da64b4db64ab4"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.pushFlowAttribution (cyclomatic 18): PushLoop.pushFlowAttribution has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/agent/push_loop_flow_attribution.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"30892fd515e4df179e330d3d6c52eacf04b343b1717c3055a5f86249b2cdbc5e"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.pushSweepResults (cyclomatic 18): PushLoop.pushSweepResults has cyclomatic complexity 18 (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":"go/pkg/agent/push_loop_sweep_results.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cda279321636dd3e025a72cafb9d333da390eca7227852f708a026c929a721e"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.RunEdgePackageList (cyclomatic 18): cli.RunEdgePackageList has cyclomatic complexity 18 (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":"go/pkg/cli/edge_onboarding.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccff84adffb6240f7c2dfd2f8d9bf929b7ab05f9a991c1be74de6d4f08b7daa"}},{"ruleId":"D1","level":"warning","message":{"text":"edgeonboarding.extractBundle (cyclomatic 18): edgeonboarding.extractBundle has cyclomatic complexity 18 (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":"go/pkg/edgeonboarding/agent_enroll.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f668cbe2377e3d16994ae903311d7c0990fa8d8305687f26967df483cf43dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"archiveMetadataFile.toModel (cyclomatic 18): archiveMetadataFile.toModel has cyclomatic complexity 18 (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":"go/pkg/edgeonboarding/download.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"99937215a95393d52abffcb0bebe7539b213ee35d982cef68777a88029b44f63"}},{"ruleId":"D1","level":"warning","message":{"text":"endpointinventory.ApplyRuntimeProfile (cyclomatic 18): endpointinventory.ApplyRuntimeProfile has cyclomatic complexity 18 (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":"go/pkg/endpointinventory/config.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcd5a49f2411419e82f4ae7d74498cf90321c3422e78829ba52268856ec274a"}},{"ruleId":"D1","level":"warning","message":{"text":"k8sinventory.RouteFromUnstructured (cyclomatic 18): k8sinventory.RouteFromUnstructured has cyclomatic complexity 18 (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":"go/pkg/k8sinventory/gateway_unstructured.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b9f5850a5bb724f181cc79f97ca20b82352dd44f6490b2961e236f36818e90"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.handleUniFiDiscoveryPhase (cyclomatic 18): DiscoveryEngine.handleUniFiDiscoveryPhase has cyclomatic complexity 18 (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":"go/pkg/mapper/discovery_unifi_phase.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bc4fb07692355100a8cbfac800d59f92ffae441dfec9cee7c37333dfce5af2"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.enrichSNMPBridgeFingerprint (cyclomatic 18): DiscoveryEngine.enrichSNMPBridgeFingerprint has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/mapper/snmp_fingerprint.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"874edf367056264443f5575a498cc84e11c93c740672ac540f6d35b782a48154"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.observedFDBMappedNeighbors (cyclomatic 18): DiscoveryEngine.observedFDBMappedNeighbors has cyclomatic complexity 18 (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":"go/pkg/mapper/snmp_l2_observed.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"775f67967aeb4f08478def309eab6aea2aad551f4bf571ed4f2ea8ff089b72f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CA.SignUserCertificate (cyclomatic 18): CA.SignUserCertificate has cyclomatic complexity 18 (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":"go/pkg/remoteaccess/sshca/sshca.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad7d4d91e78252d82f00e55e2cf5d2a3e275669e8a5c3461c4bafa43929b22"}},{"ruleId":"D1","level":"warning","message":{"text":"sysmon.firstUsableIPv4 (cyclomatic 18): sysmon.firstUsableIPv4 has cyclomatic complexity 18 (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":"go/pkg/sysmon/host.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"65724f96f5a282c99bdaf01e525b51988d016aa23683c911b0064c423c85d410"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_anomaly_disposition::disposition::peak_profile::evaluate_peak_profile (cyclomatic 18): serviceradar_anomaly_disposition::disposition::peak_profile::evaluate_peak_profile has cyclomatic complexity 18 (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":"rust/anomaly-disposition/src/disposition/peak_profile/mod.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"02feb1801f0e47d8c58396023727f581e68ce4423b6ab1783bc9586ffa8f694e"}},{"ruleId":"D1","level":"warning","message":{"text":"correlation_engine::god_view::evaluate_correlation_states (cyclomatic 18): correlation_engine::god_view::evaluate_correlation_states has cyclomatic complexity 18 (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":"rust/correlation-engine/src/god_view.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"97abbf2b7be628c0ac4fa516c1268c79827bd1e650aeddaf1d374541a3c8fadb"}},{"ruleId":"D1","level":"warning","message":{"text":"network_config_downparser::apply_command (cyclomatic 18): network_config_downparser::apply_command has cyclomatic complexity 18 (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":"rust/network-config-downparser/src/lib.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a83aeedf6d576b5f088d910892556fb62936a6a5d190835307b32ab587d4bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::flows::stats::cagg::should_route_flow_stats_to_cagg (cyclomatic 18): srql::query::flows::stats::cagg::should_route_flow_stats_to_cagg has cyclomatic complexity 18 (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":"rust/srql/src/query/flows/stats/cagg.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d72fb113aadff2197b50a34a377f25113ac0b5d5d261d56b05575811dd42b"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer_runtime.createWebCodecsDesktopVideoRenderTarget (cyclomatic 18): renderer_runtime.createWebCodecsDesktopVideoRenderTarget has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/remote_desktop/renderer_runtime.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb118ae5c53156ba34a42e66099b104203dca90e7d539c8b358152bc0987d755"}},{"ruleId":"D1","level":"warning","message":{"text":"god_view_elk_scene_acceptance.playwright.assertFocusedNeighborhood (cyclomatic 18): god_view_elk_scene_acceptance.playwright.assertFocusedNeighborhood has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0469dbd687f69f315928611dc205c012ec8858e0491a61016278eb12e075c1cf"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_scene.buildElkSceneGraph (cyclomatic 18): layout_elk_scene.buildElkSceneGraph has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 352, 385, 403, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddda6f68a6267b848da7a275eaed7a766d96b4aed4e53f82b42d3be6f39ffeb9"}},{"ruleId":"D1","level":"warning","message":{"text":"rendering_graph_data_methods.deterministicRelationPresentation (cyclomatic 18): rendering_graph_data_methods.deterministicRelationPresentation 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 2 function literals inside it that branch (lines 111, 97). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"01087ee1e1ba1c8ad9306aef3ea4c165966596eedea30c3155fe61901d993cb2"}},{"ruleId":"D1","level":"warning","message":{"text":"PacketFlowLayer.getBounds (cyclomatic 18): PacketFlowLayer.getBounds has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/deckgl/PacketFlowLayer.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf527c988f3ecb218dd7db09e9403b506b08019687f4c49ad826b48069e4311"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardWasmHost.buildSrqlQuery (cyclomatic 18): DashboardWasmHost.buildSrqlQuery has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0ecc111aafad1beacc3a599c707eddd42ecd58532a27f6ece107c169fc2b45"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessDesktopSession.parseProps (cyclomatic 18): RemoteAccessDesktopSession.parseProps has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"197cef0f5e0c07ad3bae0a6d000ce0b5b3e6571550cc42ef4578c1af02d35d40"}},{"ruleId":"D1","level":"warning","message":{"text":"NetflowStackedAreaChart.renderTotalOverlays (cyclomatic 18): NetflowStackedAreaChart.renderTotalOverlays has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dee24aaf17d0c929929b6d81472b88b234c9e6d1e92499630358c9500b67f98"}},{"ruleId":"D1","level":"warning","message":{"text":"harness.buildSrqlQuery (cyclomatic 18): harness.buildSrqlQuery has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/harness.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f55a56be07ac4961a4ff9c1fa3528a4acd6ac715ace88c0171477f1e1e6e578"}},{"ruleId":"D1","level":"warning","message":{"text":"status.statusCommand (cyclomatic 18): status.statusCommand has cyclomatic complexity 18 (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":"js/cli/src/plugin/status.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9551d96ec1904b98dfb908f2f32f0a1e30b57766a9e412a11e3e5e3e3e5534"}},{"ruleId":"D1","level":"warning","message":{"text":"buildCandidates (cyclomatic 18): buildCandidates has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to 6 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/SRQLInput.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99d2cd9045944f9b2e7e559bf9ee978f7cedba5e5092b2053576a5fb8078ca7"}},{"ruleId":"D1","level":"warning","message":{"text":"updateBrowserModuleHost (cyclomatic 18): updateBrowserModuleHost has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"201f181ffaf3315c9fa064b6363ece28123505573009ee22f65e50dc826bbfb1"}},{"ruleId":"D1","level":"warning","message":{"text":"isBlockedIPv4 (cyclomatic 18): isBlockedIPv4 has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/remote_desktop/webrtc_client.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27bb2e6f3ff6d4693fdb1e9465fe462f9746d60eaa57d9648cf44ec7119da7c"}},{"ruleId":"D1","level":"warning","message":{"text":"canonicalSemanticRelationId (cyclomatic 18): canonicalSemanticRelationId has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/topology_relation_identity.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6880bf2d066654ec78b024231e2522464ba5a80a280f90531e4c005f298b348b"}},{"ruleId":"D1","level":"warning","message":{"text":"_draw (cyclomatic 18): _draw has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 19 function items inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowLineSeriesChart.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"200e41fb2d86f0ce62ffe66555bf9bcc82321850db7eaab6fa11158e8eaba73a"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxMembershipReconciler.upsert_membership (cyclomatic 17): AwxMembershipReconciler.upsert_membership has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d88bf32d76076079cb4bb5003b3a25e5a1363065b80bfd533d2ff524878ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"SshCaBundleResponse.retirement_proof (cyclomatic 17): SshCaBundleResponse.retirement_proof has cyclomatic complexity 17 (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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d8f43c0b48214250a0c3c058fc6e6d1f28dd867af6b3b21293049127ad1329"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCommandBus.validate_preallocated_transmit_payload (cyclomatic 17): AgentCommandBus.validate_preallocated_transmit_payload has cyclomatic complexity 17 (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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"209667fa14a3f4ec2f4ef38c4770e273818da3daa736aa0ce55ed0f1e8b2bf4c"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxmoxConsoleSessions.reauthorize_session (cyclomatic 17): ProxmoxConsoleSessions.reauthorize_session has cyclomatic complexity 17 (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":"elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eb9d923f646f78f4cba1b034a7703371830341c1865346d52cb61ceacc6552"}},{"ruleId":"D1","level":"warning","message":{"text":"Ubuntu.prepare_products (cyclomatic 17): Ubuntu.prepare_products has cyclomatic complexity 17 (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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd318b26dbd4089a08bd1eaa2d8d3eed14d90641de27f318287914772bb4dd7"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxmoxHostAuthority.canonical_origin (cyclomatic 17): ProxmoxHostAuthority.canonical_origin has cyclomatic complexity 17 (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":"elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30aa0ba93284e6540667cb5ace33ce869e92d617d6ae9876391e34072eb767f"}},{"ruleId":"D1","level":"warning","message":{"text":"main.consumeLaunchPreflightJSONValue (cyclomatic 17): main.consumeLaunchPreflightJSONValue has cyclomatic complexity 17 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.projectLaunchPreflightTemplate (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d61e5a60e1714881f4da49a4db6daadbb3b06028ff86ba428f4f2da75a798b"}},{"ruleId":"D1","level":"warning","message":{"text":"main.isProbablyIP (cyclomatic 17): main.isProbablyIP has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6337c999b851b637c073f6aa0cd92ae4810789335caf77da1c3c547bddb87c7"}},{"ruleId":"D1","level":"warning","message":{"text":"main.listDevices (cyclomatic 17): main.listDevices has cyclomatic complexity 17 (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":"go/cmd/wasm-plugins/netbox/main.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd08194fac4944581059c01d1dd7d83ab0f5625871da3750bde8f738d96c556f"}},{"ruleId":"D1","level":"warning","message":{"text":"main.valueBool (cyclomatic 17): main.valueBool has cyclomatic complexity 17 (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":"go/cmd/wasm-plugins/opentext-nom/collector.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5373062ef91d71d7ddc0fd3ede8668f83d515c8a2919dbb2b39a2498d53dd2c3"}},{"ruleId":"D1","level":"warning","message":{"text":"main.rawPluginInputsValid (cyclomatic 17): main.rawPluginInputsValid has cyclomatic complexity 17 (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":"go/cmd/wasm-plugins/proxmox/config_raw_parse.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c283214ec7f20dcf9afbaccb7affae015dc7a694cfc57ccd13ecab64affeb404"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 17): main.main has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/cmd/data-services/main.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbe25e91f55b91e5c7069a73be5921b945f60a74a3f036dc288d0665ac1cdfe"}},{"ruleId":"D1","level":"warning","message":{"text":"main.prepareOne (cyclomatic 17): main.prepareOne has cyclomatic complexity 17 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.validateLimits (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"758c82d16479acefc0a61ce238106604a967fc0627bc9d4f238207cd83e6dc28"}},{"ruleId":"D1","level":"warning","message":{"text":"main.parseOSVWithLimits (cyclomatic 17): main.parseOSVWithLimits has cyclomatic complexity 17 (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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad04c93bb26c103ab9493bb515365a855dfa4f02d1bde87e48cbc64a308c10a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.newRTSPCameraRelayStream (cyclomatic 17): agent.newRTSPCameraRelayStream has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. 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":"go/pkg/agent/camera_relay_rtsp.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"27eb4fc630047983ad004f7319c74249312f32b77ecd3fb6bd733fd7b2f8f4c5"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.newDesktopMediaGatewaySender (cyclomatic 17): agent.newDesktopMediaGatewaySender has cyclomatic complexity 17 (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":"go/pkg/agent/desktop_media_sender.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c39d8199d6c52e0b9106363fe9edeb4d5c312baa80aecc184fdf3d0f128eef5"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.dialProxmoxConsoleSSH (cyclomatic 17): agent.dialProxmoxConsoleSSH has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/agent/proxmox_console_ssh.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1a2ff556bc67a2346927f8242ef4cd248ae19348adce06ffa7e92dc9b24d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.extractReleaseArchive (cyclomatic 17): agent.extractReleaseArchive has cyclomatic complexity 17 (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":"go/pkg/agent/release_update.go"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda7d60240326da0d60674181879bad764e2d3c60c8a641c17f1617510088897"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.readLoop (cyclomatic 17): Client.readLoop has cyclomatic complexity 17 (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":"go/pkg/agent/netprobe/client.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0c76aa3c666fba8377857413674e9930f1a0007886a466737e02d9564f3194"}},{"ruleId":"D1","level":"warning","message":{"text":"consoleSpecAuthorityState.mergeSubjectProviderRef (cyclomatic 17): consoleSpecAuthorityState.mergeSubjectProviderRef has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57dea7ca4531923060eadb9209b60599a26dff9474acde763945dcbf6629a33"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteaccess.ValidateDesktopMediaFrame (cyclomatic 17): remoteaccess.ValidateDesktopMediaFrame has cyclomatic complexity 17 (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":"go/pkg/agent/remoteaccess/desktop_media_frame.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24108a27ef0a414b2d09c0443c8f4900fb601520963bc9a31af7c9792fdb2d4"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteaccess.validateDesktopTarget (cyclomatic 17): remoteaccess.validateDesktopTarget has cyclomatic complexity 17 (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":"go/pkg/agent/remoteaccess/desktop_target.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a94cd762ee5b8531a30611a91497ba3f47ba62e2201224e86aedd40a2bbdd0"}},{"ruleId":"D1","level":"warning","message":{"text":"armis.normalizeMetadataFieldName (cyclomatic 17): armis.normalizeMetadataFieldName has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/syncsources/armis/metadata_fields.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"616335128b858a543d2396688f939df331d42ce779d7dc79a6d042b966730577"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.runDeviceCodeFlowWithClock (cyclomatic 17): cli.runDeviceCodeFlowWithClock has cyclomatic complexity 17 (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":"go/pkg/cli/auth.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae840f07328fd3c44bb8cc1066660a76eb2cb92188a6d90677fac0cb5f6829b2"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.Run (cyclomatic 17): Runner.Run has cyclomatic complexity 17 (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":"go/pkg/endpointinventory/collect.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a875e89e0b12fd225fa4569d91242fe497b9facad3542bdfa2426a75bf3013"}},{"ruleId":"D1","level":"warning","message":{"text":"mapper.mergeInterface (cyclomatic 17): mapper.mergeInterface has cyclomatic complexity 17 (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":"go/pkg/mapper/interface_dedup.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e4eb1b3ca534085304e33bae93216b505a0c9e75277dedeff24de758e41d87"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.getInt32FromPDU (cyclomatic 17): DiscoveryEngine.getInt32FromPDU has cyclomatic complexity 17 (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":"go/pkg/mapper/snmp_interface_pdu.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb33aa97e7613607dbebe8d42766506966227d72d80185010cea20592b4e7bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.queryInterfaces (cyclomatic 17): DiscoveryEngine.queryInterfaces has cyclomatic complexity 17 (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":"go/pkg/mapper/snmp_interfaces.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a7086dd287979dde4104499723f227774c40f8bee38da2ecc5e2b0b2588ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"models.ExtractSafeConfigMetadata (cyclomatic 17): models.ExtractSafeConfigMetadata has cyclomatic complexity 17 (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":"go/pkg/models/utils.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc405db4f6f62de858144827bc0fd5739303c42359f13e5cab7e2ffc19209cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"OCSFDevice.ToJSONFields (cyclomatic 17): OCSFDevice.ToJSONFields has cyclomatic complexity 17 (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. This is NOT this file\u0027s highest cyclomatic complexity: models.getDeviceTypeName (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/models/ocsf_device.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b92f80261da1f89a95ca8334af085a929227565e4767ea3ead01939b94f9ac"}},{"ruleId":"D1","level":"warning","message":{"text":"scan.getLocalIPAndInterfaceWithTarget (cyclomatic 17): scan.getLocalIPAndInterfaceWithTarget has cyclomatic complexity 17 (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":"go/pkg/scan/syn_scanner_interfaces.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f3e9b56e2ccab3c69251a8846bb1863043295f01a2e4a58c1dbc58e8f27dbd"}},{"ruleId":"D1","level":"warning","message":{"text":"SYNScanner.processTCPFinalResult (cyclomatic 17): SYNScanner.processTCPFinalResult has cyclomatic complexity 17 (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":"go/pkg/scan/syn_scanner_reply_results.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e0278343b6ae73e93748d898b6f623edaf70e7db5d12f90350e17b703f532b"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.enrichPodCorrelation (cyclomatic 17): Service.enrichPodCorrelation has cyclomatic complexity 17 (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":"go/pkg/trivysidecar/service.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c1cbdf20f92eb3d8c96187947bb8280cd0b1658f1be0aef0d61b9bf872e195"}},{"ruleId":"D1","level":"warning","message":{"text":"SignalCoverageInterpolator.coverageGrid (cyclomatic 17): SignalCoverageInterpolator.coverageGrid has cyclomatic complexity 17 (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":"swift/FieldSurvey/FieldSurvey/Models/SignalCoverageInterpolator.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4113584e8d33225a19b36e37c37c49b75c6e3fff0b8ec63ef8b222939e80e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"SidekickRelay.startSpectrumRelay (cyclomatic 17): SidekickRelay.startSpectrumRelay has cyclomatic complexity 17 (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":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"4049e0f62f636da22d8f5521fe2bcfcb16914cffda116905aff0194f47d49872"}},{"ruleId":"D1","level":"warning","message":{"text":"SubnetScanner.resolve (cyclomatic 17): SubnetScanner.resolve has cyclomatic complexity 17 (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":"swift/FieldSurvey/FieldSurvey/Network/SubnetScanner.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"951eda2ae16e72f4e20ed8a130b5e1a3130522336acd63a13c8b05de7d60c8a1"}},{"ruleId":"D1","level":"warning","message":{"text":"DetectorEngine::restore_checkpoint (cyclomatic 17): DetectorEngine::restore_checkpoint has cyclomatic complexity 17 (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":"rust/anomaly-addon/src/engine/checkpoint.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea693129f460c2b67f837ca0b0be743065308ccfa51d943b0b1c8f5aa9eef3b"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::emit_inet_sock_set_state (cyclomatic 17): serviceradar_netprobe_ebpf::emit_inet_sock_set_state has cyclomatic complexity 17 (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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"63237bc94ef00910b55785ffeebbae5f53890d63f9e9a54fe0b2f8f539872896"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::emit_ipv4_tcp_syn_signature_from_tc (cyclomatic 17): serviceradar_netprobe_ebpf::emit_ipv4_tcp_syn_signature_from_tc has cyclomatic complexity 17 (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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70ca44c76fee8073ba3bcfe96f08579897af689df19b0729e68092b3e7e7d79"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_netprobe::server::handle_client (cyclomatic 17): serviceradar_netprobe::server::handle_client has cyclomatic complexity 17 (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":"rust/netprobe/src/server.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"337d1cb0378128a0c7e1ac8e699da6a005a341685492106f3a1ae107b374fd0d"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::gateways::apply_single_order (cyclomatic 17): srql::query::gateways::apply_single_order has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::gateways::apply_secondary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/gateways.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"976acdf8416dda95a732f2d98eabd25fe0a8814638622f50d899f5991f37ee28"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::gateways::apply_secondary_order (cyclomatic 17): srql::query::gateways::apply_secondary_order has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::gateways::apply_single_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/gateways.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fe9154459b80c9ee717af47f10b94c0341e6d20ad89d8e550a414e82ae168e"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::sweep_results::apply_single_order (cyclomatic 17): srql::query::sweep_results::apply_single_order has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::sweep_results::apply_secondary_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/sweep_results.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f56bc473794e169275ccc55737e1f6a2840d89a18ecf0ef0e47c1b51584081"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::sweep_results::apply_secondary_order (cyclomatic 17): srql::query::sweep_results::apply_secondary_order has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (srql::query::sweep_results::apply_single_order) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/sweep_results.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccea3aaa483c1cc7dc82ec072293635bc03afb92047c51945b1dc101d0cf1de"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer_state.normalizeDesktopPolicySnapshot (cyclomatic 17): renderer_state.normalizeDesktopPolicySnapshot has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/remote_desktop/renderer_state.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d8bd8fea968817c2d868ce3fdac05b0400f05da665da3eb15d318e476095de"}},{"ruleId":"D1","level":"warning","message":{"text":"layout_elk_radial_overview.indexElkLayout (cyclomatic 17): layout_elk_radial_overview.indexElkLayout has cyclomatic complexity 17 (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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb59daa73f7e741b6dea668a4ddde8c43be33bd4c96f74c17d6aa97d9715508"}},{"ruleId":"D1","level":"warning","message":{"text":"chart_range_selection.timestampValue (cyclomatic 17): chart_range_selection.timestampValue has cyclomatic complexity 17 (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":"elixir/web-ng/assets/js/hooks/charts/chart_range_selection.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3715d2f36d69c3800a1dbb2644523853a64fd45c6880ce69a42dca8fc0fa2c"}},{"ruleId":"D1","level":"warning","message":{"text":"attachTimeTooltip (cyclomatic 17): attachTimeTooltip has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/netflow_charts/util.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2ba4ff22ed820bc32fdef72f110b9b7549a180539c819381adcf72876b631a"}},{"ruleId":"D1","level":"warning","message":{"text":"_syncMarkers (cyclomatic 17): _syncMarkers has cyclomatic complexity 17 (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":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a337926e7d58ad26f47e605fcb67fc5fd6507bd962dbfd811e0185e9691fae"}},{"ruleId":"D1","level":"warning","message":{"text":"deckLayer (cyclomatic 17): deckLayer has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b052f119ee17b2f93847ffe66704a811cfb1751324932e61303984161befea"}},{"ruleId":"D1","level":"warning","message":{"text":"fitVisualSpecs (cyclomatic 17): fitVisualSpecs has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26636a633b8fb4830ce5fe9d111f756cfc5e5feb9b93e4e1bde14cef0d9935e"}},{"ruleId":"D1","level":"warning","message":{"text":"nodeLabelPriority (cyclomatic 17): nodeLabelPriority has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443a4c5df0152e430d917a285dc3b3551e7ee6e32cbe012df7dd98bd42da5f3"}},{"ruleId":"D1","level":"warning","message":{"text":"buildVisibleGraphData::expandedMemberEdge (cyclomatic 17): buildVisibleGraphData::expandedMemberEdge has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1601bb364bb1d392f7fa2a618b0bfb517ee556c75b22ea61507fa16bfcea76c5"}},{"ruleId":"D1","level":"warning","message":{"text":"expandedMemberTrunkClusterId (cyclomatic 17): expandedMemberTrunkClusterId has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"950d745383898e5a4704655677e01d11e5a32764881dfc0a25de4d93161cc4d0"}},{"ruleId":"D1","level":"warning","message":{"text":"resizeCanvas (cyclomatic 17): resizeCanvas has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca6faa7868ffd6b3c12929b99e3414a685830a0fa55078927f69165209c4a01"}},{"ruleId":"D1","level":"warning","message":{"text":"AwxLaunchPreflightAttestation.verify_binding (cyclomatic 16): AwxLaunchPreflightAttestation.verify_binding has cyclomatic complexity 16 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8e0321fab3c5fd18a711f9d04e51694198ac51ba0ce30160ccd0a8091a6a26"}},{"ruleId":"D1","level":"warning","message":{"text":"HardenedLaunchPlan.validate_preflight_attestation (cyclomatic 16): HardenedLaunchPlan.validate_preflight_attestation has cyclomatic complexity 16 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefdab07d01894f1368486f9ba0e8aee95b65602af6c9df35e9e3e6309b6782a"}},{"ruleId":"D1","level":"warning","message":{"text":"SecureExecutionCurrentAuthority.authorize_attempt (cyclomatic 16): SecureExecutionCurrentAuthority.authorize_attempt has cyclomatic complexity 16 (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ade1419cf5d0268a40d294a2e6ddf3ffba46f5fba78f49f9cb7febb327e2f47"}},{"ruleId":"D1","level":"warning","message":{"text":"CurrentAuthority.current_authority (cyclomatic 16): CurrentAuthority.current_authority has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: CurrentAuthority.current_binding (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"713e032b777059b61070cb760cda945b1363011c1c2503b46aab33dd6bf9bf02"}},{"ruleId":"D1","level":"warning","message":{"text":"CurrentAuthority.current_principal (cyclomatic 16): CurrentAuthority.current_principal has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: CurrentAuthority.current_binding (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"947aa3e9919484688d2984315d35d77624ae7256ca76d3c775c2eec4c210819d"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.exact_product? (cyclomatic 16): EndpointVulnerabilityAdjudicator.exact_product? has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e80aa53155a381bcf65ddd5d7ed61434587b434a7d01bd9955c507e2f4fb230"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.trusted_assertion_provenance? (cyclomatic 16): EndpointVulnerabilityAdjudicator.trusted_assertion_provenance? has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46dd711cde8b9629d6139a1c0a0ce4b2961bd08c0e1ec8f5627e606b5eda0cf"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaFrameEnvelope.frame_fields (cyclomatic 16): MediaFrameEnvelope.frame_fields has cyclomatic complexity 16 (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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/media_frame_envelope.ex"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e729ab797f232ed09f0f5c17c103a28d6375d69f135ee723f1ce311d06cdefe"}},{"ruleId":"D1","level":"warning","message":{"text":"ReleaseSourceImporter.import (cyclomatic 16): ReleaseSourceImporter.import has cyclomatic complexity 16 (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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb09b3b7d4a16e45c19e346c4a23ed507aa0cb0d389540714b915ddb7210f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"main.extractLaunchPreflightJSONAnsibleHost (cyclomatic 16): main.extractLaunchPreflightJSONAnsibleHost has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.projectLaunchPreflightTemplate (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b0bfc47c290a9f8fc18ace88218b7af83ae54149da5d37d943967452e0df50"}},{"ruleId":"D1","level":"warning","message":{"text":"main.runFetchJobHostSummaries (cyclomatic 16): main.runFetchJobHostSummaries has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73d9236d5914b9f297ecd8b88612e9d20c7c9d865046f6ee9f92ab89a23058d"}},{"ruleId":"D1","level":"warning","message":{"text":"main.literalAWXHostToken (cyclomatic 16): main.literalAWXHostToken has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: main.dispatch (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f2f96e2df234164d5d388f6e1ebc0e8a31018e7c56c69a7e19986146362b0"}},{"ruleId":"D1","level":"warning","message":{"text":"localOAuthBroker.Handle (cyclomatic 16): localOAuthBroker.Handle has cyclomatic complexity 16 (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":"go/cmd/wasm-plugins/opentext-nom/local_broker.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f5b36c2b4b487f777ac0d3cb9255d2c37ab42ee7f2c8d21fb9dcd9fb73c820"}},{"ruleId":"D1","level":"warning","message":{"text":"main.interfacesFromGuestConfig (cyclomatic 16): main.interfacesFromGuestConfig has cyclomatic complexity 16 (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":"go/cmd/wasm-plugins/proxmox/inventory_fetch.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d9838b1e4d11fa80239366624e367e0d59633b10425c4c79a49657ca8c0fce"}},{"ruleId":"D1","level":"warning","message":{"text":"main.preparePackageArtifacts (cyclomatic 16): main.preparePackageArtifacts has cyclomatic complexity 16 (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":"build/release/platform_artifacts.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc617edd6373f427cf5202474b9236becf8aef1bd583827a9555c7f59f7abdd1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.ensureRelease (cyclomatic 16): main.ensureRelease has cyclomatic complexity 16 (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":"build/release/publish_packages.go"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cfe0d89f22733bcedf560617a0673ccf094bed3049a83b306289a3de7a46ec"}},{"ruleId":"D1","level":"warning","message":{"text":"runfileResolver.resolve (cyclomatic 16): runfileResolver.resolve has cyclomatic complexity 16 (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":"build/release/publish_packages.go"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f858ac75d2b056ae63e8638fcffa65f51f3350287448424880f834006119a31f"}},{"ruleId":"D1","level":"warning","message":{"text":"main.loadConfig (cyclomatic 16): main.loadConfig has cyclomatic complexity 16 (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":"go/cmd/tools/armis-api-probe/main.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98e5fd409fb3057f8000b43d03d252f0cb7858c1599fc4530718e761daf6648"}},{"ruleId":"D1","level":"warning","message":{"text":"main.mergeRunGroup (cyclomatic 16): main.mergeRunGroup has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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. This is NOT this file\u0027s highest cyclomatic complexity: main.validateLimits (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b93078bd7ea178d75ce133b064837ab412f8fc8a0ae469aee8673aec5b079c"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 16): main.run has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.validateLimits (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4666d39e434de2e9c795a1c6311d2aec12b040aa782d4096f6b917704f21577a"}},{"ruleId":"D1","level":"warning","message":{"text":"runReader.next (cyclomatic 16): runReader.next has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: main.validateLimits (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1785cc65b56eb1655b3d300efd8995cdc166a5515aee377bc9dba26ea66ddeb"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.drainArtifactStream (cyclomatic 16): runner.drainArtifactStream has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/agent/addon/artifacts.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c56fc7973b6a396fa806c23df5194f265af4df8195dd74a98de53a706099be"}},{"ruleId":"D1","level":"warning","message":{"text":"metricFeedLifecycle.runStream (cyclomatic 16): metricFeedLifecycle.runStream has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon/metric_feed.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52f5d3ce749a3cff63ccbb1467eb021ccdc08d756d7ddf38f17f078b70f13e4"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.stageAddonArtifactWithClient (cyclomatic 16): agent.stageAddonArtifactWithClient has cyclomatic complexity 16 (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":"go/pkg/agent/addon_activation.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a814a5c763ed33f1d67725f0198629624dbc9f15870f8dd733c20a42d0a040d7"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.extractAddonTarball (cyclomatic 16): agent.extractAddonTarball has cyclomatic complexity 16 (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":"go/pkg/agent/addon_activation.go"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee79c26be8e336e85c910d371f4ceda986638826aef5d92b90c650620289d644"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.awxInventoryCredentialBinding (cyclomatic 16): agent.awxInventoryCredentialBinding has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_awx_inventory_credentials.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2945a1e4a75351b46345ce822dd05b09010e7302bcd49eca2b27e567940f5b3"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.validatePluginHostAuthorityGrant (cyclomatic 16): agent.validatePluginHostAuthorityGrant has cyclomatic complexity 16 (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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78ac9037eeec32898928c05d463a08939a011b74d7d735cd9da358fb3f631bc"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.consumeUniqueJSONValue (cyclomatic 16): agent.consumeUniqueJSONValue has cyclomatic complexity 16 (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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"4980f288236f6a53e4e7553b409cadf2fd218c75177290d6c361c8b7b0a3c65d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.buildNetprobeResultsPayloads (cyclomatic 16): agent.buildNetprobeResultsPayloads has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/agent/push_loop_mapper_netprobe.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1100dddf5945c7dfc3b545b9aa7029ac959611832e124f671f994dd1a5393209"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginExecution.protectProxmoxConsoleProxyResponse (cyclomatic 16): pluginExecution.protectProxmoxConsoleProxyResponse has cyclomatic complexity 16 (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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"143bec12dd389564cc35666fcd17ae47b99e1b96a0c41753183bfab6f34171bc"}},{"ruleId":"D1","level":"warning","message":{"text":"PushLoop.handlePluginRunAction (cyclomatic 16): PushLoop.handlePluginRunAction has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: PushLoop.handleCommand (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/control_stream.go"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d65e0c1ba1a09f1fa2dfdb835e3166c29f551eb365e4056adec660502ca5e2"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteaccess.validateSSHConfig (cyclomatic 16): remoteaccess.validateSSHConfig has cyclomatic complexity 16 (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":"go/pkg/agent/remoteaccess/ssh.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"00328c83016cdfad29981058864944392f58489856c2264c4ecf00356f887317"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteaccess.validateSSHOpenPayloadScope (cyclomatic 16): remoteaccess.validateSSHOpenPayloadScope has cyclomatic complexity 16 (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":"go/pkg/agent/remoteaccess/ssh_open.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c585f42450952d080598321f30fb5c64d54b5f4cf6b0b92e673f9f236cdec9be"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Stop (cyclomatic 16): Server.Stop has cyclomatic complexity 16 (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":"go/pkg/agent/server.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db695cb87aaafaf9e03bb0f8a95caed090ce201b2c5fb75cecf178636c4a939"}},{"ruleId":"D1","level":"warning","message":{"text":"bumblebee.StageCatalogAssignment (cyclomatic 16): bumblebee.StageCatalogAssignment has cyclomatic complexity 16 (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":"go/pkg/bumblebee/catalog.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c975909182d5c73ca01fbfc6e4fcbadec158a8696ebbb6e0c80b85cd6ec144"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.parseEdgePackageCreateFlags (cyclomatic 16): cli.parseEdgePackageCreateFlags has cyclomatic complexity 16 (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":"go/pkg/cli/cli.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a016a54beac8624eac87b3bd92ad0c2c2fcd039ec138601fbba64996b382d636"}},{"ruleId":"D1","level":"warning","message":{"text":"NATSAccountServer.getResolverConn (cyclomatic 16): NATSAccountServer.getResolverConn has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/datasvc/nats_account_service.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac937b4f223106bb8117ca0209d6d25dfcc180127e6327560aab8266adf8b7c3"}},{"ruleId":"D1","level":"warning","message":{"text":"db.NewCNPGPool (cyclomatic 16): db.NewCNPGPool has cyclomatic complexity 16 (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":"go/pkg/db/cnpg_pool.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6c838a0d6e4a7b44b16a25a01e1794ac5c6f4960f49282c885f8f68b183b97"}},{"ruleId":"D1","level":"warning","message":{"text":"Bootstrapper.generateGatewayConfig (cyclomatic 16): Bootstrapper.generateGatewayConfig has cyclomatic complexity 16 (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":"go/pkg/edgeonboarding/config.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a9ae4234ec208f84324bfb6734f23432c228376cb2e669c5573424284d1b57"}},{"ruleId":"D1","level":"warning","message":{"text":"mapper.parseIPToPhysicalSuffix (cyclomatic 16): mapper.parseIPToPhysicalSuffix has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_l2_identity.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beea72f47aa7e22bdacdeb636cb7c786fe0fd1dd776c4a9e27b91aaca4e20d4"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoveryEngine.querySingleUniFiAPI (cyclomatic 16): DiscoveryEngine.querySingleUniFiAPI has cyclomatic complexity 16 (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":"go/pkg/mapper/ubnt_poller.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc95c6c4df8dd931c3d9ea0b23a55927b3a5511c75e7b7785cdbcc7289cbfee7"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.Run (cyclomatic 16): Runner.Run has cyclomatic complexity 16 (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":"go/pkg/scalibrinventory/adapter.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8357977714f596a89e1960749dee48486b665adf7b355537189cbb77a333c02e"}},{"ruleId":"D1","level":"warning","message":{"text":"scan.scanStreamBatched (cyclomatic 16): scan.scanStreamBatched has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 60). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_stream.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"356f85d352c96ddfdde6089a132577d8ebd4d5bd8a2668947e79b6d9aa75ebe9"}},{"ruleId":"D1","level":"warning","message":{"text":"SYNScanner.runRetryQueue (cyclomatic 16): SYNScanner.runRetryQueue has cyclomatic complexity 16 (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":"go/pkg/scan/syn_scanner_retries.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8df1de602322e1e61f6419ac17cb71c5c5f7481860737360eebbc7288e32ca"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkSweeper.generateTargetsBatched (cyclomatic 16): NetworkSweeper.generateTargetsBatched has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/sweeper/sweeper_target_generation.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f168fa60f80c612e5a034317183ba213abc2f9f9f10d2165a147928f2f61c683"}},{"ruleId":"D1","level":"warning","message":{"text":"terraformprovider.newAPIClient (cyclomatic 16): terraformprovider.newAPIClient has cyclomatic complexity 16 (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":"go/pkg/terraformprovider/client.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ecf70db8678675050e48ffad7a0f2e61cec4b905e9dc4996b72cdd1433f815"}},{"ruleId":"D1","level":"warning","message":{"text":"trivysidecar.LoadConfigFromEnv (cyclomatic 16): trivysidecar.LoadConfigFromEnv has cyclomatic complexity 16 (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":"go/pkg/trivysidecar/config.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af413359f6303dcd1ae081ca8653f94dadc4b7e40f39d0bc8645b23053e8b67"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::capture::parse_radiotap (cyclomatic 16): serviceradar_fieldsurvey_sidekick::capture::parse_radiotap has cyclomatic complexity 16 (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":"rust/fieldsurvey-sidekick/src/capture.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83f1da72131673ddf2320d1e94c2740b13d8aa458b9faf255d4108ff33d40c2"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::otel_metrics::apply_ordering (cyclomatic 16): srql::query::otel_metrics::apply_ordering has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: srql::query::otel_metrics::apply_filter (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/otel_metrics.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f31e74537e0159a31ccb1760c0fd0dadfa32ddf7faa6916e30013a0ba8a991"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::services::apply_ordering (cyclomatic 16): srql::query::services::apply_ordering has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/services.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c4e0fb4817663ea147a4648678c94343f0fab3742f7fbc3abbc6743171fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::bmp_events::apply_ordering (cyclomatic 16): srql::query::bmp_events::apply_ordering has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: srql::query::bmp_events::apply_filter (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/bmp_events.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"633beb8e388bfd851dce5d4257ac4b693b04d47c729dfe3647098ba30d460ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"srql::query::logs::topn::severity_any_values (cyclomatic 16): srql::query::logs::topn::severity_any_values has cyclomatic complexity 16 (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":"rust/srql/src/query/logs/topn.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9915577d5539abc697cfc6ffe7b656470f247dcc6ad196106928142c9fc46d2b"}},{"ruleId":"D1","level":"warning","message":{"text":"serviceradar_trapd::main (cyclomatic 16): serviceradar_trapd::main has cyclomatic complexity 16 (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":"rust/trapd/src/main.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d92c611442d3aaac2df0639135baa660b966ee06dd188e5b3f74e17e7c6e27e"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardPanelChart.gaugeDatum (cyclomatic 16): DashboardPanelChart.gaugeDatum has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardPanelChart.jsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9ee1bb1bf7ec5e1763332d8562b14d97a23d861368327e7b2517d4727ac5d7"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccessDesktopSession.Launcher (cyclomatic 16): RemoteAccessDesktopSession.Launcher has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 900, 875, 948). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"d857c2db91707fe59b39bd629a5718d5faaf4edbfc6ecbf734614708858575d5"}},{"ruleId":"D1","level":"warning","message":{"text":"topology_overview_projection.attachedEndpointNodes (cyclomatic 16): topology_overview_projection.attachedEndpointNodes has cyclomatic complexity 16 (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":"elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"30038c1545bcf46e24a5473c58c28ff26562063fb7db48c60a5777bda127d9a1"}},{"ruleId":"D1","level":"warning","message":{"text":"rendering_scene_view.glyphVisualSpecs (cyclomatic 16): rendering_scene_view.glyphVisualSpecs has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 144, 143). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"819acf5957562084523795a16158d7b01d445add39c04a388b8e30be18d714e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ensure_k8s_alerts.ensureK8sAlertsCommand (cyclomatic 16): ensure_k8s_alerts.ensureK8sAlertsCommand has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"js/cli/src/notifications/ensure_k8s_alerts.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"109e3225a10d77aaffef34c0b4529a13537ef16e2b4072cf32a851c8b19c44bb"}},{"ruleId":"D1","level":"warning","message":{"text":"hintValues (cyclomatic 16): hintValues has cyclomatic complexity 16 (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":"elixir/web-ng/assets/js/hooks/SRQLInput.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4829a402300252a087f4af2ab414cf996b7bbf82320e69e45a32042abf4a35"}},{"ruleId":"D1","level":"warning","message":{"text":"boot (cyclomatic 16): boot has cyclomatic complexity 16 (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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91e783f98f4cb977340980e2e635963abd27d271031e5ebd843d2e4804322d1"}},{"ruleId":"D1","level":"warning","message":{"text":"handleHover (cyclomatic 16): handleHover has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"732860a8b0d5d2e3b1fa0c7c6966f56142b814285c1a5ff1c7621e588e0e9cf3"}},{"ruleId":"D1","level":"warning","message":{"text":"humanizeCausalReason (cyclomatic 16): humanizeCausalReason has cyclomatic complexity 16 (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":"elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1741f05de772a567384e86429d8156afc797e6a5f990eeee49c2b5452c6bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"handlePanMove (cyclomatic 16): handlePanMove has cyclomatic complexity 16 (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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc05cdcfc470f2a88bd96720a88dbbcb203d28820b6ea8b81503a5bbaa126558"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessSSHConsole.Component (cognitive 192): RemoteAccessSSHConsole.Component has cognitive complexity 192 (threshold 15). Drivers by points: if/else 66 (84 pts), ternaries 35 (62 pts), boolean chains 38, error handling 6 (7 pts), loops 1 (nesting depth added 46). Of this number, 106 points are the body\u0027s own statements and 86 belong to 20 function literals inside it that branch. 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":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c85e156e47e0f16189979262beaac76c204d19e8bf3e0b805a15ecd220a6209"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::observe_mdns (cognitive 161): serviceradar_netprobe_ebpf::observe_mdns has cognitive complexity 161 (threshold 15). Drivers by points: if/else 90 (127 pts), boolean chains 33, match/switch 1 (nesting depth added 37). 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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aded6ced7202c406261787dbf8864d64ee7e34dc733cf9e1223b921d3d48051"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_elk_scene.validateTopologyScene (cognitive 153): layout_elk_scene.validateTopologyScene has cognitive complexity 153 (threshold 15). Drivers by points: if/else 34 (78 pts), ternaries 14 (29 pts), loops 16 (24 pts), boolean chains 22 (nesting depth added 67). 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e0f8c3943da6453306b244726a11f9427f2bfbe56ea812cd197db9d40d818d"}},{"ruleId":"D2","level":"warning","message":{"text":"Converter::convert_ipfix (cognitive 142): Converter::convert_ipfix has cognitive complexity 142 (threshold 15). Drivers by points: if/else 21 (126 pts), loops 3 (8 pts), match/switch 2 (7 pts), boolean chains 1 (nesting depth added 115). 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":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50341f7a5b77b88c86b24ea52498f196466ae9c56ee72a138709761b56f1563"}},{"ruleId":"D2","level":"warning","message":{"text":"_renderSvgOverlay (cognitive 142): _renderSvgOverlay has cognitive complexity 142 (threshold 15). Drivers by points: ternaries 33 (55 pts), if/else 32 (50 pts), boolean chains 37 (nesting depth added 40). Of this number, 22 points are the body\u0027s own statements and 120 belong to 32 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a1e907babaa067f9efce03aa4c69f251803233bbc0eff0a693c6e73a8c98d4"}},{"ruleId":"D2","level":"warning","message":{"text":"buildVisibleGraphData (cognitive 135): buildVisibleGraphData has cognitive complexity 135 (threshold 15). Drivers by points: boolean chains 76, if/else 24 (30 pts), ternaries 21 (23 pts), loops 3 (6 pts) (nesting depth added 11). Of this number, 45 points are the body\u0027s own statements and 90 belong to 24 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b05b9bdd51390fd9e3a8b3cc8166468ffb7fe6d6fc27a9d024185dcbf06216"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 126): _draw has cognitive complexity 126 (threshold 15). Drivers by points: boolean chains 60, if/else 24 (35 pts), ternaries 12, loops 7 (9 pts), other 6, error handling 4 (nesting depth added 13). Of this number, 56 points are the body\u0027s own statements and 70 belong to 33 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowSankeyChart.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2162343f43e1fcadfad0a7a1a4f28a94fd28a7ebff073be1e41d9e45a088f81a"}},{"ruleId":"D2","level":"warning","message":{"text":"Driver.Sync (cognitive 85): Driver.Sync has cognitive complexity 85 (threshold 15). Drivers by points: if/else 24 (77 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 56). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/syncsources/armis/driver.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb38078e28b42f31f329e02d28f17709fe1c6cb763dc184c98e52e4bbb436c10"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveyView.body (cognitive 83): SurveyView.body has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 21 (46 pts), if/else 20 (35 pts), boolean chains 1, match/switch 1 (nesting depth added 40). 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":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7126769554fb721a6807afb29a602f662c2c0fce07b14610240b09c81de7e858"}},{"ruleId":"D2","level":"warning","message":{"text":"buildTopologySceneEdgeData (cognitive 82): buildTopologySceneEdgeData has cognitive complexity 82 (threshold 15). Drivers by points: boolean chains 40, ternaries 24 (29 pts), if/else 8, other 3, loops 2 (nesting depth added 5). Most of this is not in the body itself: 9 of the 82 points are its own statements and the rest belongs to 30 function items inside it that branch ((anonymous), (anonymous)::metadataNumber, classBucketForEdge, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d66d82160c07d6f5cb1d661852c3db6e47ee5cb9577f954a0f87e5fbb0083ab"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_elk_radial_overview.validateTopologyOverview (cognitive 81): layout_elk_radial_overview.validateTopologyOverview has cognitive complexity 81 (threshold 15). Drivers by points: if/else 23 (48 pts), boolean chains 16, loops 10 (14 pts), ternaries 3 (nesting depth added 29). 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ffdae9ad03223cc9e6876d5548aff06bbbe8a4b2c16b37237a6e24e040ae3a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runBGPSimulator (cognitive 74): main.runBGPSimulator has cognitive complexity 74 (threshold 15). Drivers by points: if/else 24 (59 pts), loops 4 (13 pts), match/switch 1 (2 pts) (nesting depth added 45). Of this number, 72 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/cmd/faker/bgp_sim.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f341e99cf9851dafdeea022b999aeedc128d974bc56def1eafeb9ed3287822d"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_nif::core::layout::layout_nodes_layered (cognitive 74): god_view_nif::core::layout::layout_nodes_layered has cognitive complexity 74 (threshold 15). Drivers by points: loops 15 (36 pts), if/else 13 (35 pts), boolean chains 3 (nesting depth added 43). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/native/god_view_nif/src/core/layout.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"84964d8823b4a3af502ac52ec24e6ef902e56f1c903a48a18d186aec2b6180b1"}},{"ruleId":"D2","level":"warning","message":{"text":"renderSelectionDetails (cognitive 74): renderSelectionDetails has cognitive complexity 74 (threshold 15). Drivers by points: boolean chains 33, ternaries 33, if/else 8. Of this number, 53 points are the body\u0027s own statements and 21 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc31c6b60698be7b8656e957ea47dc80d323d707bbb148c5383512ba93d4c714"}},{"ruleId":"D2","level":"warning","message":{"text":"SYNScanner.runRingReader (cognitive 73): SYNScanner.runRingReader has cognitive complexity 73 (threshold 15). Drivers by points: if/else 19 (55 pts), boolean chains 8, loops 3 (7 pts), match/switch 1 (3 pts) (nesting depth added 42). 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":"go/pkg/scan/syn_scanner_ring.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9c3204339aa85cdf598648dee22a8c6ed0b9418a0a03f9540c57aa1c13419a"}},{"ruleId":"D2","level":"warning","message":{"text":"SidekickRelay.startRadioRelay (cognitive 72): SidekickRelay.startRadioRelay has cognitive complexity 72 (threshold 15). Drivers by points: if/else 12 (53 pts), error handling 4 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 53). 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":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e7a0d79fdfd8d3bf9c8d3e0396d56ff08b5446e4f3bca04e09dd2f9c523f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Converter::convert_v9 (cognitive 69): Converter::convert_v9 has cognitive complexity 69 (threshold 15). Drivers by points: if/else 9 (54 pts), loops 3 (8 pts), match/switch 2 (7 pts) (nesting depth added 55). 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":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6901653bbb670ca09006af8eda88470e066e9fe06f23d70042e7b740d8e7f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorEngine::evaluate_inner (cognitive 67): DetectorEngine::evaluate_inner has cognitive complexity 67 (threshold 15). Drivers by points: if/else 28 (57 pts), boolean chains 6, match/switch 3 (4 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b299e6986d14830ef0228d7975ae3b4323de339facf662ee43c868f3ce0fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"buildPacketFlowInstances (cognitive 66): buildPacketFlowInstances has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 14 (29 pts), if/else 10 (18 pts), boolean chains 17, loops 2 (nesting depth added 23). Of this number, 57 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"36731c90b251bec651521f7bf8dc4689b9632e0a48eb1f8d0b8eb9f6c4153e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessDesktopSession.Component (cognitive 65): RemoteAccessDesktopSession.Component has cognitive complexity 65 (threshold 15). Drivers by points: if/else 36 (40 pts), boolean chains 12, ternaries 11 (12 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 14 of the 65 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 432, 681, 639, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2c06b7871ba119e3d3662b81da10a2fd1003d048235d96d21a3044a43e71ec"}},{"ruleId":"D2","level":"warning","message":{"text":"buildTransportAndEffectLayers (cognitive 65): buildTransportAndEffectLayers has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 31, ternaries 28, other 4, if/else 2. Of this number, 23 points are the body\u0027s own statements and 42 belong to 45 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"849a32174ab49bf719c0635c6145576c8dbf61b6019af801b0999bef84a306d3"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessStreamHandler.handle_in (cognitive 64): RemoteAccessStreamHandler.handle_in has cognitive complexity 64 (threshold 15). Drivers by points: if/else 14 (40 pts), match/switch 9 (24 pts) (nesting depth added 41). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b5845cfd6dfd3672320184ca48a92c7978219dbd879fe8f423692abd6bfb8a"}},{"ruleId":"D2","level":"warning","message":{"text":"k8sinventory.endpointsFromGateway (cognitive 62): k8sinventory.endpointsFromGateway has cognitive complexity 62 (threshold 15). Drivers by points: if/else 8 (36 pts), loops 6 (21 pts), boolean chains 5 (nesting depth added 43). 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":"go/pkg/k8sinventory/build.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e5ada003910faeb1c7cda1046cc5615ca05f9b9477eb21f65902d3689b9395"}},{"ruleId":"D2","level":"warning","message":{"text":"Collector.Collect (cognitive 61): Collector.Collect has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (50 pts), loops 5 (8 pts), boolean chains 3 (nesting depth added 35). Of this number, 59 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/cmd/wasm-plugins/opentext-nom/collector.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebe0a65ec5e9042ecf689a660b4ba0cad3ff35c8db30a879840caaf92a537a5"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::flows::stats::query::build_grouped_stats_query (cognitive 61): srql::query::flows::stats::query::build_grouped_stats_query has cognitive complexity 61 (threshold 15). Drivers by points: if/else 28 (38 pts), loops 9 (17 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 21). 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":"rust/srql/src/query/flows/stats/query.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"849e2b85f37fd5422cd95c8799f003d96d010b190a160fc9f24c0b3eb3e0e3c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceRadarCollector::handle_traces (cognitive 59): ServiceRadarCollector::handle_traces has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 6 (15 pts), match/switch 2 (3 pts) (nesting depth added 36). 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":"rust/otel/src/lib.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5add54672c895feb05d442e0eff36fc73b725e4e08dabd83cdbfa351dc4ba53c"}},{"ruleId":"D2","level":"warning","message":{"text":"k8sinventory.matchSliceTargets (cognitive 58): k8sinventory.matchSliceTargets has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (33 pts), loops 7 (18 pts), boolean chains 7 (nesting depth added 33). 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":"go/pkg/k8sinventory/build.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9859ce8f1fc2b98fe787a2c848ed388536377dc627a72a01bebda361c352e18"}},{"ruleId":"D2","level":"warning","message":{"text":"SidekickRelay.startSpectrumRelay (cognitive 58): SidekickRelay.startSpectrumRelay has cognitive complexity 58 (threshold 15). Drivers by points: if/else 8 (39 pts), error handling 3 (10 pts), loops 2 (4 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 43). 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":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d76a35a39a4939d34329996cb3e4d4193f73779978f5c64c214b37500447f57"}},{"ruleId":"D2","level":"warning","message":{"text":"validator.field (cognitive 55): validator.field has cognitive complexity 55 (threshold 15). Drivers by points: if/else 27 (54 pts), match/switch 1 (nesting depth added 27). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/manager_validator/go/validate.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98477b071e2d7b36185b3eb6ca8e5f58239cca9d52cebc9650157a651b5e7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.collectAllStatusesSeparated (cognitive 55): PushLoop.collectAllStatusesSeparated has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (51 pts), boolean chains 3, loops 1 (nesting depth added 31). 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":"go/pkg/agent/push_loop_status.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfc739e1dfcad857e22718f91b05340f28ba6b3a196c725f3942a0ea05799e3"}},{"ruleId":"D2","level":"warning","message":{"text":"RPerfRunner.runTest (cognitive 55): RPerfRunner.runTest has cognitive complexity 55 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 8 (13 pts), ternaries 3 (7 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 26). 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":"swift/RPerfClient/Sources/RPerfClient/RPerfClient.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b178f7113eeb215f2f212f13e66be2a83efae3f5b1479f930cd6f18a20294c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::validate (cognitive 54): Config::validate has cognitive complexity 54 (threshold 15). Drivers by points: if/else 28 (41 pts), loops 4 (7 pts), boolean chains 6 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/config.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7937c3b9533af74cd9541b6a02e475c1e606f8ec286638d9af1d2cd77a916f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher::run (cognitive 54): Publisher::run has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (35 pts), match/switch 4 (16 pts), boolean chains 2, loops 1 (nesting depth added 31). 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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d494fbf25903c9e6cd1e61738e67ce891fff4b3d43f3f951ed0200e5ecc53cea"}},{"ruleId":"D2","level":"warning","message":{"text":"Tracer.sendProbes (cognitive 53): Tracer.sendProbes has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (44 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 34). 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":"go/pkg/mtr/tracer.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b8fb95c79162521c0f2ddde07646537a4d07d0d63dc8e608c53bb01b4ee534"}},{"ruleId":"D2","level":"warning","message":{"text":"validator.evaluate (cognitive 52): validator.evaluate has cognitive complexity 52 (threshold 15). Drivers by points: if/else 23 (45 pts), boolean chains 6, match/switch 1 (nesting depth added 22). 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":"config/manager_validator/go/validate.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77dc9a0eaabacc5ad2a0337ff7320a6fe1f251b62a58537c4d048210ef676a0"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::observe_l2_device (cognitive 52): serviceradar_netprobe_ebpf::observe_l2_device has cognitive complexity 52 (threshold 15). Drivers by points: if/else 28 (47 pts), boolean chains 4, match/switch 1 (nesting depth added 19). 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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f8ec4dd765a2753c2d8154a36a524c9a1d53d60b2fb791db0d3785fffd72b4"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_flow_collector::publisher::ensure_flows_stream (cognitive 51): serviceradar_flow_collector::publisher::ensure_flows_stream has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 6, loops 3 (6 pts), match/switch 1 (nesting depth added 24). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"df59d3064c74ac2e23e5d1fec61629386505619ad5e3af224238680e8b2db71e"}},{"ruleId":"D2","level":"warning","message":{"text":"resourceDefinition.save (cognitive 50): resourceDefinition.save has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (38 pts), boolean chains 5, loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 29). 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":"go/pkg/terraformprovider/attributes.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ddb2887d2e65894d639b5c71475cf131559849e0b1d4802f901ea4fa5ee9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"browserModuleApi (cognitive 50): browserModuleApi has cognitive complexity 50 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 17, ternaries 6, loops 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 3 of the 50 points are its own statements and the rest belongs to 34 function items inside it that branch (pushSrqlQuery, arrowBytes, pageFrame, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"2617b51eb447afb3656e15afd73f0baedc29cdac80d3b93b3ebf98afac1dc5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Validate (cognitive 49): Config.Validate has cognitive complexity 49 (threshold 15). Drivers by points: if/else 28 (47 pts), loops 1 (2 pts) (nesting depth added 20). 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":"go/cmd/faker/main.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cd7841c0ebc179fef0c10e2d9e453e31d0b1b4b8460692fc97442c1c0e7677"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_acceptance_geometry_observer.acceptanceGeometrySnapshot (cognitive 49): god_view_acceptance_geometry_observer.acceptanceGeometrySnapshot has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 36, ternaries 9 (10 pts), if/else 3 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 31 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefb7bc438262b91571d6b5836442409cb06618eefe4e8fef8dcdf55d5d8f58c"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.applyCommand (cognitive 49): apply.applyCommand has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (27 pts), ternaries 4 (11 pts), boolean chains 6, loops 5 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/plugin/apply.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"32827e415d90eb2abc0ef552e3fceb62afd9f87ed0ef0e382cbcf9584654d424"}},{"ruleId":"D2","level":"warning","message":{"text":"otel::nats::stream::ensure_stream (cognitive 48): otel::nats::stream::ensure_stream has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 2 (6 pts), match/switch 3 (6 pts) (nesting depth added 28). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel/src/nats/stream.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccb57f0280fb0174cb8b28c6311e5e92f043495e3ae6ff6dee481b975bd6a58"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::parser::parse (cognitive 48): srql::parser::parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (42 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 33). 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":"rust/srql/src/parser.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae90e5577ebfb2200f84e34a7fe596b340bf08f3b4908d0e752a6b3a2fb124f8"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 47): main.run has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (37 pts), loops 4 (10 pts) (nesting depth added 25). 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":"go/cmd/tools/armis-api-probe/main.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a200e3babb9cc2c274de6432a996b49e1d40fad4e7ab3ade5d16409c7172d1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.parseMtrCheckConfig (cognitive 47): agent.parseMtrCheckConfig has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (42 pts), boolean chains 5 (nesting depth added 21). 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":"go/pkg/agent/mtr_checker.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"33349da49d628a479fe73478bc27e9db6de495c3321f0dec21dbe93a08b1964a"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.readLoop (cognitive 47): Client.readLoop has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (30 pts), match/switch 3 (12 pts), loops 2 (5 pts) (nesting depth added 31). 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":"go/pkg/agent/netprobe/client.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f5ea62990ba1a60eb24b007104a7a3152179e6ac35ef54741a27cec5902e9"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_config_validator::evaluate (cognitive 47): serviceradar_config_validator::evaluate has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (28 pts), match/switch 10 (18 pts), boolean chains 1 (nesting depth added 21). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/manager_validator/rust/src/lib.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f085eb6267bf6f74d28189418f73ace0f85ac0be34ffa245aaa478b174edcec5"}},{"ruleId":"D2","level":"warning","message":{"text":"login.runDeviceCodeFlow (cognitive 47): login.runDeviceCodeFlow has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 9, error handling 3 (5 pts), ternaries 1 (3 pts), loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/auth/login.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a7db148edebbd18ebeb3ff8fcb5b8704b2b6884f2f826a6ce08b179879cb68"}},{"ruleId":"D2","level":"warning","message":{"text":"decodeArrowGraph (cognitive 47): decodeArrowGraph has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 19, if/else 4 (9 pts), ternaries 3 (9 pts), error handling 2 (8 pts), loops 1, other 1 (nesting depth added 17). 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_decode_methods.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41dd5377f0aa087af6569ee553509a2b93fa6f133d5a482112ecef4b9417893"}},{"ruleId":"D2","level":"warning","message":{"text":"SidekickRelay.start (cognitive 46): SidekickRelay.start has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (37 pts), error handling 3 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 25). 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":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"109686b2b45cb4dde826e78d24b535db1c5b2926bb1c7e0ae5fbc62623b2957e"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_addon::frame::process_frame (cognitive 46): serviceradar_anomaly_addon::frame::process_frame has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (34 pts), loops 5 (6 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 20). 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":"rust/anomaly-addon/src/frame.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1ef6261fb22ff8b6d943d2ad03db75b272b9d1029c22f0cad09df5c35f65d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher::publish_pending (cognitive 46): Publisher::publish_pending has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 7 (18 pts), loops 4 (6 pts) (nesting depth added 22). 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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3789b005ad5c256af60cdcdb12a24461113a08cbb7af12722930f73b3fda081"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher::connect_once (cognitive 46): Publisher::connect_once has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 5 (10 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 22). 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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbff51ddf7065c0928f2db24655c324dc482aca1635b71deb2f8e342eb6faf2"}},{"ruleId":"D2","level":"warning","message":{"text":"auditFrameWriter.Write (cognitive 45): auditFrameWriter.Write has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (37 pts), boolean chains 4, match/switch 1 (3 pts), loops 1 (nesting depth added 25). 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":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"30669b0f68b58f77b752d2a095784739d8869fa253cd1e7089b82cd4c5a94f73"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::flows::filters::apply_filter (cognitive 45): srql::query::flows::filters::apply_filter has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 13 (21 pts), boolean chains 2 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/filters.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84a3172dd08e0252b99ba4132984c9949f894f0256738b99016acab673322b2"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessApplication.Component (cognitive 45): RemoteAccessApplication.Component has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 15, ternaries 9 (10 pts), loops 1 (2 pts), error handling 1 (nesting depth added 4). Of this number, 32 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2458f619d76bdfbce317d5ba7381946f8c04416f10b30c86725673bccdf24898"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parseProxmoxProviderRef (cognitive 44): main.parseProxmoxProviderRef has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 15, match/switch 2 (4 pts) (nesting depth added 12). 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":"go/cmd/wasm-plugins/proxmox/console.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bc99cee06f1b0c3a10f80be2f60c5f935b562744bd41c817585f252c22beef"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.runDiscoveryJob (cognitive 44): DiscoveryEngine.runDiscoveryJob has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (38 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 21). 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":"go/pkg/mapper/discovery_run.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c9915d323c80d5d389ec90975867531dd18ceb6330ea3d48c8f1c99c687ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.drainArtifactStream (cognitive 43): runner.drainArtifactStream has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (40 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 29). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/agent/addon/artifacts.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d8698fdba5f111733e3a5ebc1a73afeb2f9ed50c974cdbaf755e83ab7450da"}},{"ruleId":"D2","level":"warning","message":{"text":"otlpRelayPump.run (cognitive 43): otlpRelayPump.run has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (33 pts), match/switch 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 23). Of this number, 35 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. 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":"go/pkg/agent/addon_otlp_relay.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b564ba32abce130e71a92827f2f9ad15fcedaa98d321a13b14cad2304c5b0a26"}},{"ruleId":"D2","level":"warning","message":{"text":"edgeonboarding.EnrollAgentFromToken (cognitive 43): edgeonboarding.EnrollAgentFromToken has cognitive complexity 43 (threshold 15). Drivers by points: if/else 29 (40 pts), boolean chains 3 (nesting depth added 11). 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":"go/pkg/edgeonboarding/agent_enroll.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddc3955dcaef638813186bc0de6688e2f90098e420f39e6c00c53265449037d"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher::drain_retries_until_empty (cognitive 43): Publisher::drain_retries_until_empty has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (39 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 26). 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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"23867baaf978a25fade72879dd700af9d692dc7ba21627725193ee6abaa98623"}},{"ruleId":"D2","level":"warning","message":{"text":"_showFlowDetails (cognitive 43): _showFlowDetails has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 22, ternaries 19, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a57fdcfc885d5749982f58215955a9319ba00b3d8210fa471d6b73cf861648"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runProxmoxCheck (cognitive 42): main.runProxmoxCheck has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (37 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 22). 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":"go/cmd/wasm-plugins/proxmox/check.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c2091fe49845884fb6aced44899ab37129116dac2ab9d22fd1db51d6204f5"}},{"ruleId":"D2","level":"warning","message":{"text":"runConfig.normalize (cognitive 42): runConfig.normalize has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (36 pts), loops 3, match/switch 2, boolean chains 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/mapper-baseline/main.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c499f99a3b135fedb9eee71093ab75118317628bd01a192e65f952091d909d"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.handleMtrBulkRun (cognitive 42): PushLoop.handleMtrBulkRun has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (35 pts), loops 4 (5 pts), match/switch 1 (2 pts) (nesting depth added 19). Of this number, 24 points are the body\u0027s own statements and 18 belong to one function literal inside it that branches. 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":"go/pkg/agent/mtr_bulk.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf2e76df3e1a66ec7e17a0b1c9c40ae80d982ae2d48316b748aeb10091dce4c"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::mdns::parse_mdns_payload (cognitive 42): serviceradar_netprobe::mdns::parse_mdns_payload has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 3 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 24). 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":"rust/netprobe/src/mdns.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fd8407db23c924aa3443e742d0651ec37d32d4fb9b52e4a8a3a04818a476d7"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessDesktopSession.createRdpLauncherRuntime (cognitive 42): RemoteAccessDesktopSession.createRdpLauncherRuntime has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 10, error handling 7, ternaries 3 (4 pts) (nesting depth added 2). Of this number, 30 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a552693626338d7358b6077c03c49aa1cbfb2a8b1e08c92cea6c94b0fece257d"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_graph_view_methods.managedRouteSeparationConstraint (cognitive 42): rendering_graph_view_methods.managedRouteSeparationConstraint has cognitive complexity 42 (threshold 15). Drivers by points: if/else 4 (17 pts), loops 4 (10 pts), boolean chains 9, ternaries 2 (6 pts) (nesting depth added 23). Of this number, 34 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"5832b3405584c6df285569f7d735114a8e7e715a10c1b4be36240b67b4289cef"}},{"ruleId":"D2","level":"warning","message":{"text":"models.filterRecursively (cognitive 41): models.filterRecursively has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 3 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 22). 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":"go/pkg/models/utils.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f45b126a49de9b95a3cc9d45cbe30e69838b269d1ad8e49f7c984756f6e5505"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorEngine::evaluate_transition_with_seasonal_key (cognitive 41): DetectorEngine::evaluate_transition_with_seasonal_key has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 6 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7e6e6979681df52c6746371ffde56673a9d9d7830c001e693ba4fcce9c63f1"}},{"ruleId":"D2","level":"warning","message":{"text":"admitNodeLabelsForViewport (cognitive 41): admitNodeLabelsForViewport has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 22, ternaries 10 (11 pts), if/else 5 (7 pts), loops 1 (nesting depth added 3). Of this number, 26 points are the body\u0027s own statements and 15 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b20a54d73d73efd8bc63304eb21a4ef5429e4ec7bf08420e597ae4f8bbeaa09"}},{"ruleId":"D2","level":"warning","message":{"text":"main.projectPreparedPass (cognitive 40): main.projectPreparedPass has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 11, match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a6e1e9ff9dc0d0a087504f7d28f2947edbfe758302b1deee597bc76d79db74"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSweepService.UpdateSweepGroupsContext (cognitive 40): MultiSweepService.UpdateSweepGroupsContext has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 9 (10 pts), boolean chains 1 (nesting depth added 14). Of this number, 37 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"go/pkg/agent/multi_sweep_service.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da6b05a9b778a35b36775486e8e002eb31cf8f716ecd60f322c6f670327e295"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.applyEffectiveAddonAssignmentsWithActivationBlocks (cognitive 40): PushLoop.applyEffectiveAddonAssignmentsWithActivationBlocks has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 17). 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":"go/pkg/agent/push_loop_addons.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e7acb02a58a1367799294fb756a2580a9c9cfe0fde1203cd67f6eb49198883"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::attribution::drain_ring (cognitive 40): serviceradar_netprobe::attribution::drain_ring has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 20). 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":"rust/netprobe/src/attribution.rs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"805049febaede9b53e538bae367a0e6ba0ffbf319d37f82206b2adb2126c31c0"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_core::rpca::jacobi_svd (cognitive 39): serviceradar_anomaly_core::rpca::jacobi_svd has cognitive complexity 39 (threshold 15). Drivers by points: loops 8 (22 pts), if/else 9 (17 pts) (nesting depth added 22). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-core/src/rpca.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6539bebb92282c07806b0908b62373013e89c4b2d776e1dbd28015063c37a4f"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::virtualization::filter_predicate (cognitive 39): srql::query::virtualization::filter_predicate has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 27 (39 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/virtualization.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f360f4048c22b469f9704e676d140654ffe071da3b2c002502dcce74908be3f"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationsTrafficMap.normalizeTrafficLinks (cognitive 39): OperationsTrafficMap.normalizeTrafficLinks has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 29, ternaries 8 (9 pts), if/else 1 (nesting depth added 1). Most of this is not in the body itself: 0 of the 39 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 211, 285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"571e2c7309cc350fafd31a89ff3477f376e5786e46799f4a23d99c534180915b"}},{"ruleId":"D2","level":"warning","message":{"text":"Lifecycle.validate_scope (cognitive 38): Lifecycle.validate_scope has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22, boolean chains 15, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aa506711217d340f9161fab56d64390bd3f844236f62e65e0220a01be55201"}},{"ruleId":"D2","level":"warning","message":{"text":"main.streamAxisRTSP (cognitive 38): main.streamAxisRTSP has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/axis/rtsp_stream.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"184d9a4894ab57c9b7efa8cc533a067f9bba2c10b3b3bda9fb243d523beb9298"}},{"ruleId":"D2","level":"warning","message":{"text":"main.enrichGuests (cognitive 38): main.enrichGuests has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 17). 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":"go/cmd/wasm-plugins/proxmox/inventory_fetch.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7483f3215f4f993d7eac9e07d8e77989793c6db33c7a062440309961869df"}},{"ruleId":"D2","level":"warning","message":{"text":"main.projectOSV (cognitive 38): main.projectOSV has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 3 (5 pts) (nesting depth added 19). 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"1658b63f1bca4132e92d65a2dc29569902324abb475ff065871d40b64d6c86bb"}},{"ruleId":"D2","level":"warning","message":{"text":"agentgateway.reassembleConfigChunks (cognitive 38): agentgateway.reassembleConfigChunks has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 2, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agentgateway/gateway_client.go"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"34aa44e00302f79b60275c623e09b48b09f874d7ae4db737fa615a6007c39959"}},{"ruleId":"D2","level":"warning","message":{"text":"k8sinventory.RouteFromUnstructured (cognitive 38): k8sinventory.RouteFromUnstructured has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 4 (7 pts) (nesting depth added 21). 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":"go/pkg/k8sinventory/gateway_unstructured.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff8cf5371642344cbde720166efce10590fe29395d8d2ac25ef07e3998714c3"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.handleUniFiDiscoveryPhase (cognitive 38): DiscoveryEngine.handleUniFiDiscoveryPhase has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 19). 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":"go/pkg/mapper/discovery_unifi_phase.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"62039238aaef74a15ca8966dc24427747d893ff82e403e096486259c9d6403ec"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_nif::core::causality::evaluate_causal_states_with_reasons_impl (cognitive 38): god_view_nif::core::causality::evaluate_causal_states_with_reasons_impl has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (30 pts), loops 5 (6 pts), boolean chains 2 (nesting depth added 12). 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":"elixir/web-ng/native/god_view_nif/src/core/causality.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"473ad2e0c0e605db0c8e57c5f1788c123c73afcc6126e7c45b56e2f682aa3e26"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_label_collision.admitTopologyLabels (cognitive 38): rendering_label_collision.admitTopologyLabels has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 8, loops 3 (6 pts), ternaries 3 (4 pts) (nesting depth added 17). Of this number, 35 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_label_collision.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dac47b7345603e03ae9837462293152b91792787a6fd8493dace2ef398a968"}},{"ruleId":"D2","level":"warning","message":{"text":"_applyBrandBasemapTint (cognitive 38): _applyBrandBasemapTint has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, ternaries 2 (5 pts), error handling 1, loops 1 (nesting depth added 11). Of this number, 36 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2328367d1a80df631bb8cb3404f327870ff8e388e494ab9e6fd66ae8ca6bb5fd"}},{"ruleId":"D2","level":"warning","message":{"text":"handleSnapshot (cognitive 38): handleSnapshot has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 15, ternaries 3, error handling 2, other 1 (nesting depth added 3). Of this number, 35 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1eed5867375177fe98df7e8d53996a78e885dafdcb64292cb6fd224941dbf6"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validateProxmoxPublicParams (cognitive 37): agent.validateProxmoxPublicParams has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, loops 3 (5 pts), match/switch 2 (4 pts) (nesting depth added 16). Most of this is not in the body itself: 11 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 487). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6ffdccf89f0ba44d53161152b6cee41561e96d19959ccbeec291f63135b56c"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 37): _draw has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 13, error handling 2, loops 1 (2 pts), ternaries 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 15 belong to 33 function items inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c2e2e743285b022580fb45a32932818c7c48db046140a42937d23280891614"}},{"ruleId":"D2","level":"warning","message":{"text":"main.buildLaunchBody (cognitive 36): main.buildLaunchBody has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (33 pts), boolean chains 2, loops 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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d69ea7dff11a01999bd9b6fbf91d12c676450a784cd07ed054eef3e9be7c7a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.marshalSweepMetricEnvelopeFromMap (cognitive 36): agent.marshalSweepMetricEnvelopeFromMap has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/metric_envelope.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e8b2979d19a9e78c3f29c155c6b09d109758c38b19474a631ffa27852a1b92"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.RunEdgePackageDownload (cognitive 36): cli.RunEdgePackageDownload has cognitive complexity 36 (threshold 15). Drivers by points: if/else 28 (34 pts), boolean chains 2 (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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/cli/edge_onboarding.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f21f4453453109dcbf3755f6893ec775495e8aa9172f25830926759d127f75"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessTerminal.Component (cognitive 36): RemoteAccessTerminal.Component has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 10, ternaries 7 (9 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 36 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 217, 101, 259, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessTerminal.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75fa0bedb2b3c10bce4645dfc3a1b444fa8536bec49f5b89c1c734e8fe3b06a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.consumeLaunchPreflightJSONValue (cognitive 35): main.consumeLaunchPreflightJSONValue has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 2 (6 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 21). 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":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f319322ff519964afbd045ef52c87179590e0c69654eee5e3391b2109af17c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.listRecentJobsBounded (cognitive 35): main.listRecentJobsBounded has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 5, loops 2 (3 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd3d891b73f32f5219e62cd73724f19942f495486757cf485accf3231af51ec"}},{"ruleId":"D2","level":"warning","message":{"text":"main.validateOSVAffected (cognitive 35): main.validateOSVAffected has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 7, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"97877396a38c5dede21f58f2b106d776c1b56fe1256534f2c4ff040c9859cbaf"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.UploadObject (cognitive 35): Server.UploadObject has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 2, loops 1 (nesting depth added 14). Most of this is not in the body itself: 15 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 288). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/server.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65bad26b5b51965436b718852f0e27ea4fcc021c2a7e77590c07618ab7fa402"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_elk_scene_acceptance.playwright.assertScene (cognitive 35): god_view_elk_scene_acceptance.playwright.assertScene has cognitive complexity 35 (threshold 15). Drivers by points: loops 14 (22 pts), if/else 3 (9 pts), boolean chains 4 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"443af33bc0376a52e615a2e21cdfb59217520de4990f4d4159c1f1a7f05b1607"}},{"ruleId":"D2","level":"warning","message":{"text":"getNodeTooltip (cognitive 35): getNodeTooltip has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 13, if/else 4 (nesting depth added 3). 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":"elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4e4c42faa0cb436733e31c8aa43ddf2275a36be3dca3efa5d92980a88e3658"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.querySingleUniFiAPI (cognitive 34): DiscoveryEngine.querySingleUniFiAPI has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/ubnt_poller.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"25411021317e07d656a624a555624f0b63865872cd209d70ee1a1a57ef90e56a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.body (cognitive 34): SettingsView.body has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 11, ternaries 8 (10 pts) (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/SettingsView.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cbe9b690eb836e9ef3b50aecd06b009928dc9cb3399431ad47376ff942e146"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_flow_collector::main (cognitive 34): serviceradar_flow_collector::main has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 5 (10 pts), loops 5 (8 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/main.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb22d9029360468969b9f3c87dc3266b7817fc9a39d173f552d30a5ba87fef70"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationsTrafficMap.endpointNodes (cognitive 34): OperationsTrafficMap.endpointNodes has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 5 (14 pts), boolean chains 9, if/else 3 (8 pts), loops 2 (3 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d9172e48458f3a52cbf7ab11efc52a34b56a94d126785d1142f932c69e5749"}},{"ruleId":"D2","level":"warning","message":{"text":"handlePick (cognitive 34): handlePick has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 11, ternaries 7 (10 pts) (nesting depth added 7). Of this number, 33 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c8196d2f093c0e6ed54f7900d2c273d3b9159daf30f0ca86225ed172d79749"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregateVisibleEdges (cognitive 34): aggregateVisibleEdges has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 25, if/else 13 (19 pts), ternaries 11 (18 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"2432c1c048c1740bb22092e6cdca84ec119c0297bee6cfd8222323c71512b888"}},{"ruleId":"D2","level":"warning","message":{"text":"bindChart (cognitive 34): bindChart has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18, boolean chains 13, match/switch 1, other 1, ternaries 1. Most of this is not in the body itself: 7 of the 34 points are its own statements and the rest belongs to 14 function items inside it that branch (showTooltip::(anonymous), formatValue, formatBytes, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/TimeseriesCombinedChart.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66e91545252fa582557e4e82d1c7535c1a2d13acf971bf39f796ce4e145a6c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.grant_matches? (cognitive 33): Context.grant_matches? has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 33. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c160bbce63f8f8ad0f9d3963c4b2d62fccbf2975d7cbf1b8aa2d34743771f5e3"}},{"ruleId":"D2","level":"warning","message":{"text":"main.streamProxmoxAPIConsole (cognitive 33): main.streamProxmoxAPIConsole has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 12). 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":"go/cmd/wasm-plugins/proxmox/console.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d762b298936519fe3230dac9ee42f7ea52db96a9749c71aa42b36835a214d0c6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.streamProtectRTSP (cognitive 33): main.streamProtectRTSP has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 1, loops 1 (nesting depth added 16). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/cmd/wasm-plugins/unifi-protect/rtsp_stream.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ff65fe13ef548d0a80f14d454c0fb19a07d42ffb6d6ee347e9ec4becbad070"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.runOnce (cognitive 33): runner.runOnce has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon/manager.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cf9b46659ded734a186f4ce77d2742f48e063fc6699dfaa43a0d7c3e98ac83"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.buildSweepResultsChunks (cognitive 33): agent.buildSweepResultsChunks has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 7 (10 pts), boolean chains 2 (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":"go/pkg/agent/push_loop_sweep_results.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b979413e95d2fc4114b0aa075efb75f39d9785159b2647542c1f44963ea160"}},{"ruleId":"D2","level":"warning","message":{"text":"cameraRelayManager.runSession (cognitive 33): cameraRelayManager.runSession has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 15). Of this number, 22 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. 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":"go/pkg/agent/camera_relay.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f12b7816b7cedf9afcb416a556226bc160e6438f9250c9e149836642884ebf1"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginExecution.hostWebSocketConnect (cognitive 33): pluginExecution.hostWebSocketConnect has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 5 (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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_network.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"161e31aa62530aedfe51331b743e72a473f5e56ab6f1de3fcc8c1991a4bb3edc"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.pushFlowAttribution (cognitive 33): PushLoop.pushFlowAttribution has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 1, loops 1 (nesting depth added 16). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/agent/push_loop_flow_attribution.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7441d6201a0f53d63ae3cb6446841d3f3ab2b11f48391d9b705a3ec9ba8612e"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.pushSweepResults (cognitive 33): PushLoop.pushSweepResults has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_sweep_results.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4731d0ad308026926e04b4d4717e670ab4ef3ca7e42d66b71dc0bbdbdd1adf"}},{"ruleId":"D2","level":"warning","message":{"text":"models.ExtractSafeConfigMetadata (cognitive 33): models.ExtractSafeConfigMetadata has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (6 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 21). 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":"go/pkg/models/utils.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6ab07c6ae22f3112c1cc5cca3c1d4eb4701382126579931074147471c4f95c"}},{"ruleId":"D2","level":"warning","message":{"text":"SYNScanner.runRetryQueue (cognitive 33): SYNScanner.runRetryQueue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (24 pts), match/switch 2 (5 pts), loops 2 (4 pts) (nesting depth added 21). 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":"go/pkg/scan/syn_scanner_retries.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"70352c84095c34bd7aa8aaa380a1d017bc4f07a57c967154cde2e053ffddb107"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_elk_radial_overview.decodeElkRadialOverview (cognitive 33): layout_elk_radial_overview.decodeElkRadialOverview has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 12, loops 3, ternaries 1 (3 pts) (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"372a8b9e8afd2fcae0005d9ef2983d33c6a52eca3ef700938488a52fada43b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"harness.instantiateDashboardWasm (cognitive 33): harness.instantiateDashboardWasm has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 13, if/else 12, ternaries 6, loops 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 274, 290, 270, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/harness.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"594f7696346bf4987ab2c917a799678f009662edeb91626d78cc8fad3f9b0ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"handleDetailsPanelClick (cognitive 33): handleDetailsPanelClick has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 7, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 11). 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cb7074fee0273627d8298adb7fe0aa9d1f3d029cf35f1671c2493d270e1d39"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanupReconciler.handle_command_result (cognitive 32): CleanupReconciler.handle_command_result has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 12). 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ed22ac8b5eaf4d7041107afb7bfd711168e38e5e03ed1622192d2c4ddb3675"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 32): main.main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 1 (nesting depth added 12). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/cmd/data-services/main.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c696a84c3c71533a7ec43db9559749304c1641bf84813e89d69c8c1eef7d3327"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.observedFDBMappedNeighbors (cognitive 32): DiscoveryEngine.observedFDBMappedNeighbors has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 5 (8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_l2_observed.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea1d136847ab551f6a1925813e872722b5e027223ec8c085f2c551277e6afe7"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreServiceConfig.Validate (cognitive 32): CoreServiceConfig.Validate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/models/config.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"5857d91baf4c657b22c6991f173d186f4eb082ebafe44a6be12550a83e19ccfc"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelCollectorAddon::configure (cognitive 32): OtelCollectorAddon::configure has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 6 (11 pts), boolean chains 3 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel-addon/src/addon.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f22a68064b7b7cbcc88881953ccb2e3da6f332085790e4a7890a7b62043188"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::capacity_forecasts::apply_ordering (cognitive 32): srql::query::capacity_forecasts::apply_ordering has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 20 (27 pts), if/else 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/capacity_forecasts.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a638dba7f0b58b6d949a97e9d36f4eb2c703862173b4389218fabaab26a261"}},{"ruleId":"D2","level":"warning","message":{"text":"acceptance_geometry_assertions.groupGeometryViolations (cognitive 32): acceptance_geometry_assertions.groupGeometryViolations has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 5 (8 pts), boolean chains 5, ternaries 2 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d4bc345facbdacda2e2d27d2b33d76ae686e826b2978249cd49d5d685bb62f"}},{"ruleId":"D2","level":"warning","message":{"text":"main.newRunfileResolver (cognitive 31): main.newRunfileResolver has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 1 (2 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/release/publish_packages.go"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed42409402d1b1ad79834f4e07bb482445359ff8d749d5b6a9db7acfb0e4342"}},{"ruleId":"D2","level":"warning","message":{"text":"main.writeCanonicalJSON (cognitive 31): main.writeCanonicalJSON has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/release/publish_packages.go"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87eb940771ba06dc7679e2626b51974ffcf32e94ac8bfa38a2b2ee169872b99"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.writeCanonicalJSON (cognitive 31): agent.writeCanonicalJSON has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_status_signature.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"97538c656b241adce131b873ec063bc7ece1606a8f2bbe24e099167cea8224a0"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.extractReleaseArchive (cognitive 31): agent.extractReleaseArchive has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/release_update.go"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a92e0a391d88511454021b663a6872db305784bcc891187e9bdccd649f1222d"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginExecution.hostHTTPRequest (cognitive 31): pluginExecution.hostHTTPRequest has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 3, loops 1 (nesting depth added 3). 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":"go/pkg/agent/plugin_runtime_http.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9fa6b74d571f093ebc08b992b988ee2ebecddf5af8889e4f7352b6c8f0d781"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handleBannerObservations (cognitive 31): Server.handleBannerObservations has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 3 (9 pts), loops 1 (nesting depth added 20). 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":"go/pkg/agent/banner_grab_handler.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"879820aad04b80e50531836378121c88c33f0d05f83c4852fbe2a57e76d4ce43"}},{"ruleId":"D2","level":"warning","message":{"text":"mapper.buildSNMPL2LinksFromNeighbors (cognitive 31): mapper.buildSNMPL2LinksFromNeighbors has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (5 pts), boolean chains 3, match/switch 1 (2 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_l2_query.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc2c6a2c164fe89862c95420543029ca5039e2c102dd0cb8a5d4a20cdf12557"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.querySNMPL2Neighbors (cognitive 31): DiscoveryEngine.querySNMPL2Neighbors has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 9, loops 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 15 belong to 3 function literals inside it that branch. 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":"go/pkg/mapper/snmp_l2_query.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b619a5e96dc941b7d07cb5709748b74d03963e90e3380139168f75ad54aa4b"}},{"ruleId":"D2","level":"warning","message":{"text":"scan.getLocalIPAndInterfaceWithTarget (cognitive 31): scan.getLocalIPAndInterfaceWithTarget has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 4 (8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_interfaces.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"674f7d3da01cb403a9299c30954a115c6cc72a114d5c1e1f2ec44e90bd3b9826"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorEngine::restore_checkpoint (cognitive 31): DetectorEngine::restore_checkpoint has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 3, loops 2 (nesting depth added 11). 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":"rust/anomaly-addon/src/engine/checkpoint.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2176104c2c8846934c5e7a9187f79aecadb77ecb7a13233464aa6f47c8d93008"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_rdp_connector_probe::probe::connector::validate_service_radar_open_request (cognitive 31): serviceradar_rdp_connector_probe::probe::connector::validate_service_radar_open_request has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16, boolean chains 15. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/rdp-connector-probe/src/probe/connector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7623e87496a8195945074ced437a0e67f63e20f1e39870e240c48d00e530af9a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCommandBus.validate_preallocated_transmit_payload (cognitive 30): AgentCommandBus.validate_preallocated_transmit_payload has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 3 (5 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf08c3074eaa1e66ec916dfd7a66868ac621bc991bbcaa584c8ec933ed95ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"Ubuntu.validate_fingerprint (cognitive 30): Ubuntu.validate_fingerprint has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4a8d9dc468b21e9f2977809df2ccd41b519cd82bc59ca54f2b064b188d1f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkloadAPI.fetch_x509_svid (cognitive 30): WorkloadAPI.fetch_x509_svid has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (22 pts), match/switch 3 (7 pts), boolean chains 1 (nesting depth added 19). 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":"elixir/serviceradar_core/lib/serviceradar/spiffe/workload_api.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f145bded7da30c76c3dc067f732a5923c171c35a69da96730922937e1d7b89"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.controlStreamLoop (cognitive 30): PushLoop.controlStreamLoop has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 4 (10 pts), loops 1 (nesting depth added 17). 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":"go/pkg/agent/control_stream.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0084308622f53fc75fb852fe3cfd7b04b9f426719c8f23642ae914b2d649e097"}},{"ruleId":"D2","level":"warning","message":{"text":"sysmon.firstUsableIPv4 (cognitive 30): sysmon.firstUsableIPv4 has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (6 pts), boolean chains 4 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/sysmon/host.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df4c8fcf249c7797edb47e93a779ef1c20b8495e6a4272bec2628222530f790"}},{"ruleId":"D2","level":"warning","message":{"text":"configurationResource.ModifyPlan (cognitive 30): configurationResource.ModifyPlan has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 11 (nesting depth added 7). 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":"go/pkg/terraformprovider/resource.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"341aec58e49789ac22a8e3a25f3c78c5a6c43a28ceaf51a51949a27ec5d4b003"}},{"ruleId":"D2","level":"warning","message":{"text":"correlation_engine::god_view::evaluate_correlation_states (cognitive 30): correlation_engine::god_view::evaluate_correlation_states has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/correlation-engine/src/god_view.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b363057c74ad7e00bb330498c79d2d986178443376253ee5211d38515595450"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::server::handle_client (cognitive 30): serviceradar_netprobe::server::handle_client has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (20 pts), match/switch 4 (9 pts), loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/server.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e2f1689aa40187d8bcaad5995c54d2b7ad3ce2a6943fa13ab86be68569ac24"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::logs::topn::severity_any_values (cognitive 30): srql::query::logs::topn::severity_any_values has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/logs/topn.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"453ca764f0737c61e495796e2bd7377445e6ba6fdf42d9e9ef203124bf60e4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessTCPText.Component (cognitive 30): RemoteAccessTCPText.Component has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 12, if/else 10 (11 pts), ternaries 6, error handling 1 (nesting depth added 1). Of this number, 22 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/component/src/RemoteAccessTCPText.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83ba297f49c64734810a196865cd5e072051b108f1c63d07da9193578e555d7"}},{"ruleId":"D2","level":"warning","message":{"text":"tokenizer.inferSlot (cognitive 30): tokenizer.inferSlot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 3 (nesting depth added 12). 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":"elixir/web-ng/assets/js/lib/srql/tokenizer.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3fe07103cad816c18dd64312b00c4b55920acb3001b164a6780a3850b25ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_graph_view_methods.managedRouteGlyphClearanceConstraint (cognitive 30): rendering_graph_view_methods.managedRouteGlyphClearanceConstraint has cognitive complexity 30 (threshold 15). Drivers by points: if/else 3 (11 pts), ternaries 2 (8 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 17). 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7163f3dab63b6039c96835f6b319cf5c39afe56f10e8ae8a94059c23504653e"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.publishCommand (cognitive 30): publish.publishCommand has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 10, ternaries 3, error handling 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"js/cli/src/dashboard/publish.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ae9e7c1c482e235c9d1e872e83a102331cbfc4da1c51fc29a8159d5e8b39a0"}},{"ruleId":"D2","level":"warning","message":{"text":"importsFor (cognitive 30): importsFor has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, if/else 11, ternaries 7, error handling 1. Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 30 function items inside it that branch (framePayloadBytes, emitRenderModel, writeBytes, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30a2b1062ab6bdbd587f1e19832a5172350a58012588df9cb927a4a7d773861"}},{"ruleId":"D2","level":"warning","message":{"text":"createDeckInstance (cognitive 30): createDeckInstance has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (18 pts), ternaries 4 (9 pts), boolean chains 3 (nesting depth added 8). Most of this is not in the body itself: 0 of the 30 points are its own statements and the rest belongs to 8 function items inside it that branch (onError, onViewStateChange::applyViewState, onViewStateChange, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d163a2f7d94ecf0b9a0055277b7bdc85be84e446159558532879323dfd5d489"}},{"ruleId":"D2","level":"warning","message":{"text":"elkManifoldBindings (cognitive 30): elkManifoldBindings has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 6 (13 pts), loops 6 (8 pts), boolean chains 5, if/else 2 (4 pts) (nesting depth added 11). 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dce0d395577823df5869292e75057ea52324356ac0bc276c9fe357741dfaca7"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveAwxLaunchPreflight.membership_request_host (cognitive 29): LiveAwxLaunchPreflight.membership_request_host has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 15, if/else 13, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e33b0a678352adf6fd8149170c501aa37ebfc0b981e30e23c29614929f6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginResultIngestor.do_insert_status (cognitive 29): PluginResultIngestor.do_insert_status has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 4 (11 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"371a62f8f1831642b4e77872bdaa00e323d357a14eb228c6e36b69f0197f158e"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessStreamHandler.credential_broker_opts (cognitive 29): RemoteAccessStreamHandler.credential_broker_opts has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 5 (9 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d416afdbeefb0361db04094d5b463e5727ab291b8827bff6729db029a9b7d1b7"}},{"ruleId":"D2","level":"warning","message":{"text":"check_extension_abi.main (cognitive 29): check_extension_abi.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 5 (7 pts), ternaries 2 (5 pts), boolean chains 3 (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":"docker/images/check_extension_abi.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"562dc97096090f731eafa2d74cb5bc8fa735615fa3ada9af3bffd6420982c63d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.launchPreflightJSONWithoutNumbers (cognitive 29): main.launchPreflightJSONWithoutNumbers has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (8 pts), boolean chains 1, match/switch 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"792a49b182a1d67a12c5c357bc220e921f881d144ecc7de3b6faad397872c57d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 29): main.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 3, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/waitforport/main.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1657654b3b1e62d4bcb324e718dfdf4f6ec2f94e7aa23e8989827645ac1a080c"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.supervise (cognitive 29): runner.supervise has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon/manager.go"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cc0a2539956960e008b5a4b986a306dbc1065d29a8308ae66e1b70eb461a83"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.trustedProxmoxSSHTimeout (cognitive 29): agent.trustedProxmoxSSHTimeout has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (5 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 15). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 2136). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a6163bbf41f6f9860ae73ffba2296f6545afc59d8fd7d9bf872b5e98fe4779"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.systemdAddonUnitStatusWithReader (cognitive 29): agent.systemdAddonUnitStatusWithReader has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_capabilities.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3f6754b01821aa6ac11928e916796bcc6d899f8f76ea40859e8758175b21df"}},{"ruleId":"D2","level":"warning","message":{"text":"edgeonboarding.EnrollCollectorFromToken (cognitive 29): edgeonboarding.EnrollCollectorFromToken has cognitive complexity 29 (threshold 15). Drivers by points: if/else 25 (28 pts), boolean chains 1 (nesting depth added 3). 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":"go/pkg/edgeonboarding/collector_enroll.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee57d10877f7e81e96eda192d1241d2344d93e87d0f217e4031a7557c00a3f6"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_rdp_adapter::runtime::process_frame (cognitive 29): serviceradar_rdp_adapter::runtime::process_frame has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 6 (11 pts), boolean chains 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/rdp-adapter/src/runtime.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c0dc7b02a1b0b661d0e4a7230d80e3a7500eae135300e28f731cfc09d4f948"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::downsample::fields::resolve_value_column (cognitive 29): srql::query::downsample::fields::resolve_value_column has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 14 (28 pts), if/else 1 (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/downsample/fields.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61e7c64ebd230a906f2859ec93e4f680b24f66a916d826f36896eae051d6afa"}},{"ruleId":"D2","level":"warning","message":{"text":"createContext (cognitive 29): createContext has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 7, error handling 3, ternaries 3, loops 2, other 2 (nesting depth added 1). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 10 function items inside it that branch (swapFixture, mount, loadFrames, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/dev.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ae0ba4035e8c3614032500a7e2589ff58145c45e56e611f5ab6f77ef544d3e"}},{"ruleId":"D2","level":"warning","message":{"text":"draw (cognitive 29): draw has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 7 (9 pts), boolean chains 5, ternaries 1 (nesting depth added 7). 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":"elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a445f5a9e2f3f06d0ab1f85d55f181e7efcc2e7ad46f247b9e1a76ed83bc08"}},{"ruleId":"D2","level":"warning","message":{"text":"SecureExecutionCurrentAuthority.exact_approval_snapshot (cognitive 28): SecureExecutionCurrentAuthority.exact_approval_snapshot has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14, boolean chains 13, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a71b559864b0b05656836c6073e966f1b564f305a29079093aee3b67474937d"}},{"ruleId":"D2","level":"warning","message":{"text":"extract_rootfs.main (cognitive 28): extract_rootfs.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/images/extract_rootfs.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3010701e155d513f04bd5f1463f74b39dbbd3a7d12cc1cd103c59bb7aac451"}},{"ruleId":"D2","level":"warning","message":{"text":"main.normalizeCallbackCredentialType (cognitive 28): main.normalizeCallbackCredentialType has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 6, loops 2 (nesting depth added 5). 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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d83f04259001f4f095416723c261fe3e19323e4437bc10e41bb96ce9545ee"}},{"ruleId":"D2","level":"warning","message":{"text":"main.valueBool (cognitive 28): main.valueBool has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (24 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 17). 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":"go/cmd/wasm-plugins/opentext-nom/collector.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b491d554c649b7bc6c45d588e0823c89f62c9c7e3db6141e45a86e614aac49"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.consumeUniqueJSONValue (cognitive 28): agent.consumeUniqueJSONValue has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24f997ad74a1da1858c343fc1f1aad1bb21426c637e4f4d0a5cf2c698fced54"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.handleAdhocScan (cognitive 28): PushLoop.handleAdhocScan has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 3, loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/adhoc_scan.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bf50f7805a40296b63aaac24adfad370c2dc235f475f4252b322613649a5c1"}},{"ruleId":"D2","level":"warning","message":{"text":"k8sinventory.LoadConfigFromEnv (cognitive 28): k8sinventory.LoadConfigFromEnv has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (25 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/k8sinventory/config.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2687ca9781f4bb1e74eae8f881ba78791fd2acfc002c7bfd1acbccdf22d66fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.startWorkers (cognitive 28): DiscoveryEngine.startWorkers has cognitive complexity 28 (threshold 15). Drivers by points: if/else 3 (14 pts), match/switch 3 (11 pts), loops 2 (3 pts) (nesting depth added 20). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to one function literal inside it that branches (line 72). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/discovery_workers.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d852c245250085ca9f6af24ce4394a3531531941bae766936609d7a32c7bef"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.bridgeIfIndexByMACFromFDBEntries (cognitive 28): DiscoveryEngine.bridgeIfIndexByMACFromFDBEntries has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 2, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_l2_bridge.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2ddd7e9e752334ee5194b5b228155bd5f173607d3d6ba48656b5809b84d468"}},{"ruleId":"D2","level":"warning","message":{"text":"PortAllocator.Reserve (cognitive 28): PortAllocator.Reserve has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 2 (6 pts), loops 3 (5 pts) (nesting depth added 16). Of this number, 23 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"go/pkg/scan/ports.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec85f7a91820b133718960bf681ff345f3fc419fbfd857910f9c7f950ff39601"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionLibraryView.uploadSavedArtifacts (cognitive 28): SessionLibraryView.uploadSavedArtifacts has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 4 (5 pts), boolean chains 4, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/HomeShellView.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4b6cc146de0779c2a653b37bdaf899c6b0a31911b395e1c75d6fa5245c15a5"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedArray.asString (cognitive 28): NestedArray.asString has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowArray.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f955f75a12d4ef65f667be0b88c282bb664966e4e8ecac9beb05a326967c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowType.fromCDataFormatId (cognitive 28): ArrowType.fromCDataFormatId has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22 (23 pts), match/switch 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowType.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc00d9d98bef8f6e20df74a14621ae35cdb1a4f5710c292f8715722574dc273"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_nif::core::layout::count_crossings_between_layers (cognitive 28): god_view_nif::core::layout::count_crossings_between_layers has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 6 (8 pts), boolean chains 6 (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":"elixir/web-ng/native/god_view_nif/src/core/layout.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf347a54a8e36de932b45ea178b3b2d821bbc57cf109be44e2ff00209c1e50"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::flows::stats::filters::build_stats_filter_clause (cognitive 28): srql::query::flows::stats::filters::build_stats_filter_clause has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 9 (16 pts), if/else 2 (6 pts), loops 2 (6 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/stats/filters.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1046775b3346fd19ccb27fc9adacc08355075fe8616be9a4442f7bd714442a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardBuilderCanvas.MiniVisual (cognitive 28): DashboardBuilderCanvas.MiniVisual has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 16, ternaries 4 (9 pts), if/else 3 (nesting depth added 5). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb4a659250c3dd66f33f5274e88108377c4aca5f395fce6de779a029a958b94"}},{"ruleId":"D2","level":"warning","message":{"text":"acceptance_geometry_assertions.transportLayerRouteIdViolations (cognitive 28): acceptance_geometry_assertions.transportLayerRouteIdViolations has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 5 (8 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63248c06c2bb889abcf044c6633efcb113f6d1041ab512397c0f31038b7cec7"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.validateSampleFrames (cognitive 28): validation.validateSampleFrames has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 4 (5 pts), boolean chains 4, loops 2, error handling 1 (nesting depth added 7). 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":"js/cli/src/validation.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eb35ca59c615a77a97993c03506c1a99ca60ee4a3c71748e90962310176a16"}},{"ruleId":"D2","level":"warning","message":{"text":"renderSvgFallback (cognitive 28): renderSvgFallback has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, loops 3 (4 pts), ternaries 4, other 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 9 function items inside it that branch (labelFor, (anonymous), (anonymous)::(anonymous), \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb28b4966c5d97af00c03481d26f631d50f70c20752891a4c50d7b264d78d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"selectNodeLabels (cognitive 28): selectNodeLabels has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 10, loops 2, ternaries 1 (nesting depth added 6). Of this number, 24 points are the body\u0027s own statements and 4 belong to 10 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a295d6883204336f08f900d958d1a97d0551a751b4403ee7d69605f47dc0434a"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 28): _draw has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 11, ternaries 4, loops 1 (nesting depth added 1). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to 22 function items inside it that branch ((anonymous), colorFor, (anonymous), \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowTalkersIcicle.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0aaa63c6b88d1bff558c7fd0be5e368e6a85459abcc4414bcf9e895badd26a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.listAWXPathBounded (cognitive 27): main.listAWXPathBounded has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b74ccc2bdd21a7941747316d15920759b4b84a86a8d4a7a2874f68f8ff92439"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.InstallAddonSystemdUnits (cognitive 27): agent.InstallAddonSystemdUnits has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 3, boolean chains 2 (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/agent/addon_systemd.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e08cdc9eb7934d40ad399d050e1fee8b286bec88a253ac87c7f01879a691e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.applyConfigResponseWithSequence (cognitive 27): PushLoop.applyConfigResponseWithSequence has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 3 (nesting depth added 4). 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":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"36acc8185e129fe06fe1eaad5baccc22cdfb0840d07c05d17c056ad8aa90c459"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteaccess.NormalizeDesktopCredentialGrantAt (cognitive 27): remoteaccess.NormalizeDesktopCredentialGrantAt has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 4, match/switch 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":"go/pkg/agent/remoteaccess/desktop_credential.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f41959e474ba053e45a7c129f1b0b222d5bf704a0f8676052e459df8412e1ba"}},{"ruleId":"D2","level":"warning","message":{"text":"accounts.applyUserPermissions (cognitive 27): accounts.applyUserPermissions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (12 pts), match/switch 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/user_manager.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb2154d15ffb66cbaf127194add7cae9f51d765b254e226535094f08d2bf1bc"}},{"ruleId":"D2","level":"warning","message":{"text":"scan.scanStreamBatched (cognitive 27): scan.scanStreamBatched has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 14). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 60). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_stream.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed2dd7bbcd25711e9d14eacb226f2c6293a596fcb37ad4ae8710c7473d48f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkSweeper.generateTargetsBatched (cognitive 27): NetworkSweeper.generateTargetsBatched has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 4 (5 pts) (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/sweeper/sweeper_target_generation.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3301b3cb87352923a0a028ca15143245310d364b68e7131a2579937fd073ef0c"}},{"ruleId":"D2","level":"warning","message":{"text":"manifestschema.checkObject (cognitive 27): manifestschema.checkObject has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 13). 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":"go/tools/addon-manifest-validator/internal/manifestschema/validator.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6cf96d276efaf74ba36a911feff90e938289c05293448a428411805c04a45f"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalCoverageInterpolator.coverageGrid (cognitive 27): SignalCoverageInterpolator.coverageGrid has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 8, loops 3 (6 pts) (nesting depth added 11). 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":"swift/FieldSurvey/FieldSurvey/Models/SignalCoverageInterpolator.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f920d0a5af911c21df7a047f0bf13e842156475cdd625d9b031f6e63b8487fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowArrayBuilders.loadBuilder (cognitive 27): ArrowArrayBuilders.loadBuilder has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14, boolean chains 13. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowArrayBuilder.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c85bb0913ffbf2a0be0944c28c2f81b2bd2fcd0da96e9be0e7f9c23bca8a37"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowUnkeyedDecoding.decode (cognitive 27): ArrowUnkeyedDecoding.decode has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 25, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowDecoder.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab252627d335a32ec9e692de4bcb1adcd4fe3873299359fcb9eec061755be94"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::radio::parse_iw_list_frequencies_mhz (cognitive 27): serviceradar_fieldsurvey_sidekick::radio::parse_iw_list_frequencies_mhz has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/fieldsurvey-sidekick/src/radio.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22e84740ad367181f6d20a71efc827143b95c2483e6fbad46521b8d65ecc450"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::devices::filters::apply_filter (cognitive 27): srql::query::devices::filters::apply_filter has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 4 (7 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/devices/filters.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"531fa78eb596aa35b8000ac82af7fff786cee6cad4b6dab6d7e462a766f6d603"}},{"ruleId":"D2","level":"warning","message":{"text":"topologySchematicLinks (cognitive 27): topologySchematicLinks has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (8 pts), if/else 5 (7 pts), loops 3 (nesting depth added 5). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (nearestHubFor, nearestHubFor::(anonymous), touch, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"322ccd7ba8c8ee8e310210c9c84f9b0898449b2f9e063caea7c99e913d21a606"}},{"ruleId":"D2","level":"warning","message":{"text":"buildNodeAndLabelLayers (cognitive 27): buildNodeAndLabelLayers has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13, boolean chains 10, if/else 3 (4 pts) (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 8 belong to 28 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5ad68be39f175fb5cc84e943c05b7e7260bd00cf17dda42dd062bdcf2bca23"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackCommandResultCoordinator.process_success (cognitive 26): CallbackCommandResultCoordinator.process_success has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 4 (9 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dd8630bd331771a46fcbc9f69b06a8b54ded0a5755e4a653bd5f123ca1ae13"}},{"ruleId":"D2","level":"warning","message":{"text":"Ubuntu.validate_assertion_kind (cognitive 26): Ubuntu.validate_assertion_kind has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f38cd1ed3173929bcc6832bbc1b6dc2e2d66c5a5623ae5c14fd76a8adb05f0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.extractAnsibleHostFromVariables (cognitive 26): main.extractAnsibleHostFromVariables has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (6 pts), boolean chains 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":3757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d372d29d38f803a799ed2485af399d409ba0a18b393ec96c3e65ee2d3387b891"}},{"ruleId":"D2","level":"warning","message":{"text":"main.listDevices (cognitive 26): main.listDevices has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (3 pts), boolean chains 2 (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":"go/cmd/wasm-plugins/netbox/main.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c850ecb05baa07df3a2a56ca085bee40c73f75fdf7adf36fe7e9554c73a2215"}},{"ruleId":"D2","level":"warning","message":{"text":"main.fetchUniFiNetworkSiteClientMatches (cognitive 26): main.fetchUniFiNetworkSiteClientMatches has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/unifi-protect/protect_network.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"092d0d2504b15be1e09310d0e66ac4fbd55571ef5fa66865968e9563a1b17a33"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.extractAddonTarball (cognitive 26): agent.extractAddonTarball has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 1, loops 1 (nesting depth added 11). 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":"go/pkg/agent/addon_activation.go"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"01da9ca458c544c12d896c247f1ae0e2270f6ba443b8ce4a3b2d1420f473466f"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.buildSNMPDrainedResults (cognitive 26): PushLoop.buildSNMPDrainedResults has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (6 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_snmp.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3e5f0ee14f462c41723abcbed5958689d236f0028f4b3d2d73e9f64ce6bcab"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayClient.Connect (cognitive 26): GatewayClient.Connect has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 2, loops 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":"go/pkg/agentgateway/gateway_client.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1835c282c8c22dd8f4fe450279c3c79589acc0fd1df235fa6fa3e93d5daf6aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.knownDeviceIPv4Set (cognitive 26): DiscoveryEngine.knownDeviceIPv4Set has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_l2_bridge.go"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb58e9f429bb23b431f8a6b22ecce4e188366f94c34706a09e7e1c472bdfcc6"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.queryUniFiDevices (cognitive 26): DiscoveryEngine.queryUniFiDevices has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/ubnt_devices.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3931959537b3caf011da3a392865a19b2653eb0d472486ac65e9a5cf052a7a4f"}},{"ruleId":"D2","level":"warning","message":{"text":"SubnetScanner.resolve (cognitive 26): SubnetScanner.resolve has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/SubnetScanner.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dad6c3e7e61c417285f6b2d8a3e698268289fa06328bfeda45ae110a53b544"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.monitorFrameLiveness (cognitive 26): Coordinator.monitorFrameLiveness has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 7). 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":"swift/FieldSurvey/FieldSurvey/Views/CompositeSurveyView.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"c809777bafba6ebf1822ddcdd6cbfb5a397cfa6820e4619ebe0554f448cef844"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::flows::filters::apply_threat_filter (cognitive 26): srql::query::flows::filters::apply_threat_filter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 4 (7 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/filters.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"150e47fae3c3ce565804dd57f32fd5d69648ac920c99d86f83bbeb4bc12c6145"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::validate (cognitive 26): Config::validate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 2 (4 pts), boolean chains 3 (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":"rust/trapd/src/config.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d698d3917e092a1007d6af0b940e3ee2d08038f1cd621733875f049fe0ef7eec"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_trapd::main (cognitive 26): serviceradar_trapd::main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 2 (4 pts), loops 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":"rust/trapd/src/main.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfb28c12d49e9ee2c2b4be02564ce6a9c57e285b45a20027f7e04a718d6762b"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_elk_scene_acceptance.playwright.assertFocusedNeighborhood (cognitive 26): god_view_elk_scene_acceptance.playwright.assertFocusedNeighborhood has cognitive complexity 26 (threshold 15). Drivers by points: loops 11 (16 pts), if/else 2 (6 pts), boolean chains 4 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e4bcf15f5033757c3a2260d245196a215ca51c859beeb9e9b60803f5c6c528"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_topology_state_methods.detailTopologySceneFromGeometry (cognitive 26): layout_topology_state_methods.detailTopologySceneFromGeometry has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 15, if/else 6, ternaries 5. Of this number, 14 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ae5c7ac4cabeeb56a697cb2caf03c3fb90ba0f480bf124e0c659377f617944"}},{"ruleId":"D2","level":"warning","message":{"text":"dev.watchProjectForValidation (cognitive 26): dev.watchProjectForValidation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (5 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"js/cli/src/dashboard/dev.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd74202af606455136aa79214be248605110c07c4e30729b3d1c24a99dc6ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"computeTraversalMask (cognitive 26): computeTraversalMask has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, loops 3 (6 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_bitmap_methods.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"634794fc7546c8571a7d4d17a3db911c0eedefcf56c93016648b9e5d048cd204"}},{"ruleId":"D2","level":"warning","message":{"text":"bindChart (cognitive 26): bindChart has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, boolean chains 8, match/switch 1, other 1. Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 10 function items inside it that branch (formatValue, formatBytes, formatHz, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c28d98bf4e6031c0afdee197b7914637f28221ba9e674b3109378be73672fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerProvenance.exact_command_payload (cognitive 25): ControllerProvenance.exact_command_payload has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, boolean chains 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca6b10ab2a463a2400bdc89c7e5979421456d925861675df4c4d765daafeda1"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginIntegrationProvisioner.upsert_assignment (cognitive 25): PluginIntegrationProvisioner.upsert_assignment has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 4 (10 pts) (nesting depth added 13). 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":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_integration_provisioner.ex"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fdd0de0e95a77fb237fbfae5daf719d7ec391037dfa904425ce88768d25707"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxmoxConsoleStreamHandler.handle_in (cognitive 25): ProxmoxConsoleStreamHandler.handle_in has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 4 (9 pts) (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a626223b9008f02607b8f14a248e0254aaa02c524945449a4874f6c188ec59"}},{"ruleId":"D2","level":"warning","message":{"text":"main.reviewedAWXSurveyVariable (cognitive 25): main.reviewedAWXSurveyVariable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 8, loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"4181fdbe54c48a7f3ea1fc6999149509593465fc8173d8c72ab246cb4cbfc08f"}},{"ruleId":"D2","level":"warning","message":{"text":"main.projectAWXSurveyChoices (cognitive 25): main.projectAWXSurveyChoices has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f6208dbe34d495c4c4d3aa6c64a5caed2f432e661476fb555a50688fdfcc5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Validate (cognitive 25): Config.Validate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, loops 1 (nesting depth added 4). 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":"go/cmd/wasm-plugins/opentext-nom/config.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd0a75e2ebeef61490530888fa92096e5e1d2c1b1297b85547b48f9c62de80"}},{"ruleId":"D2","level":"warning","message":{"text":"main.interfacesFromGuestConfig (cognitive 25): main.interfacesFromGuestConfig has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 6 (9 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/proxmox/inventory_fetch.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ac04b536d89bf59f7b79c77e50e4d6a22e2e14b4f77e9159f928c00b51ef3f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.applyCredentialBrokerFormInjection (cognitive 25): agent.applyCredentialBrokerFormInjection has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 4, loops 2 (nesting depth added 7). 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":"go/pkg/agent/plugin_runtime_actions.go"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac14dca4d0e3912cdc28c501d4ac76d61e680a4471d14b1059d407dc40b4cf6e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.buildNetprobeResultsPayloads (cognitive 25): agent.buildNetprobeResultsPayloads has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 1, loops 1 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/agent/push_loop_mapper_netprobe.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4828d56265e9329f4306addac3b2f092128cbecb3dc14defb346d855c7c234cf"}},{"ruleId":"D2","level":"warning","message":{"text":"netprobe.pumpCaptureBlocks (cognitive 25): netprobe.pumpCaptureBlocks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/netprobe/capture_forwarder.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c0d1a20de96bf6722ca335fbbb2215d97c34c70c2a09938cbe43b5f66711d9"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.applyBumblebeeConfig (cognitive 25): PushLoop.applyBumblebeeConfig has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 3 (nesting depth added 7). 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":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96f97c60963faa129f026213bb972903209b319b091149ae6b99a29de81b2e4"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteaccess.validateDesktopFrame (cognitive 25): remoteaccess.validateDesktopFrame has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, match/switch 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":"go/pkg/agent/remoteaccess/desktop_frame.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c576b3bfa3aee824c21e3bbe2605e4942d26825e3fa568dab362d27500fe38d5"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.RunSpireJoinToken (cognitive 25): cli.RunSpireJoinToken has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 1 (nesting depth added 5). 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":"go/pkg/cli/spire.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"707d214da133f8aa5b1cd86378de7004b0dd10c7a5419b000c279c460254d1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"mapper.fetchUniFiPagedDataWithPageCap (cognitive 25): mapper.fetchUniFiPagedDataWithPageCap has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). 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":"go/pkg/mapper/ubnt_pagination.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5e2a4c48c3a0cedbf23bf2fbdc9f00da29bb1d035a6f0834624268b6c677a4"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.enrichSNMPBridgeFingerprint (cognitive 25): DiscoveryEngine.enrichSNMPBridgeFingerprint has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/mapper/snmp_fingerprint.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"293086cbc6e2dd94c2b94ab0d3ede588466f9ed7e6fce09f708d07907058755b"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkSweeper.runSweep (cognitive 25): NetworkSweeper.runSweep has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, loops 2, match/switch 1 (2 pts) (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. 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":"go/pkg/sweeper/sweeper_run.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"66488517e0008957632112d4ba7c7f0d0f9b9f41deb1f336c7e43c4aa5c3581d"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowArrayBuilders.isValidBuilderType (cognitive 25): ArrowArrayBuilders.isValidBuilderType has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 25. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowArrayBuilder.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"249d6dd0fe6b263783b1412e878bfdbba09d14595294af8653990b53731b38df"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::api::streams::stream_spectrum (cognitive 25): serviceradar_fieldsurvey_sidekick::api::streams::stream_spectrum has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (17 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/fieldsurvey-sidekick/src/api/streams.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb63085282b5e468539c9f0f8178f613317f091798652f44fa30f0276cc0928"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::traces::apply_ordering (cognitive 25): srql::query::traces::apply_ordering has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 10 (17 pts), if/else 5 (7 pts), loops 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/traces.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2f98070d6ed15617dacc77503f3666a81a9f32c9fb6f6c39ccdb32efad2149"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_acceptance_geometry_observer.renderedRouteStrokeWidth (cognitive 25): god_view_acceptance_geometry_observer.renderedRouteStrokeWidth has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 16, ternaries 5, if/else 4. Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 136, 138, 135). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88bb2666cf98b710bb28b65127980711267f7d7e0e2cb3575ed982774f80bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"doctor.doctorCommand (cognitive 25): doctor.doctorCommand has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 3 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 4). 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":"js/cli/src/doctor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ca1af605428fdc68e631b2b4193fb3a30a93d0cf74d309892f0a2accb1ece2"}},{"ruleId":"D2","level":"warning","message":{"text":"wireSidePanel (cognitive 25): wireSidePanel has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (6 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 10). Of this number, 21 points are the body\u0027s own statements and 4 belong to 5 function literals inside it that branch. 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":"js/cli/harness/dev.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c6d0a835ae58e7c1af19b513008f2eb149b74aaece8a07f7425ec889cf0059"}},{"ruleId":"D2","level":"warning","message":{"text":"_syncMarkers (cognitive 25): _syncMarkers has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (5 pts), boolean chains 3, error handling 1 (2 pts), loops 2 (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":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a88f7bc3318a47e28a079bce32bbaf5aa0e719eaebbe4fb9025e2e51f6100f3"}},{"ruleId":"D2","level":"warning","message":{"text":"focusClusterNeighborhood (cognitive 25): focusClusterNeighborhood has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 9 (11 pts), ternaries 1 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ace2124be3ec9cd1810a1b3bf4f4240742a6dcd96c39f6faeba888ec7103ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.new (cognitive 24): Context.new has cognitive complexity 24 (threshold 15). Drivers by points: if/else 23, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b397012f3790192e923bfed25eb175ba8803c03ff4642060d0cfa267dd0c4f33"}},{"ruleId":"D2","level":"warning","message":{"text":"otxJSONScanner.readString (cognitive 24): otxJSONScanner.readString has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/alienvault-otx/main.go"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"074bc1ad604aadea8ac16741185d65c5b2b72a1f0011e03a253d79c0b2d41706"}},{"ruleId":"D2","level":"warning","message":{"text":"runfileResolver.resolve (cognitive 24): runfileResolver.resolve has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 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":"build/release/publish_packages.go"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"274c327793f1194ab5d083a027cd1fcec48500c5014dd30ccd1cb067023d0809"}},{"ruleId":"D2","level":"warning","message":{"text":"main.sampleV1Query (cognitive 24): main.sampleV1Query has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). 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":"go/cmd/tools/armis-api-probe/main.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d41a754bf724afcb68a921075834014d755cac89efc4112139dfdd748188abf"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parseRunConfig (cognitive 24): main.parseRunConfig has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/cmd/tools/mapper-baseline/main.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2bddb092b43abe2723e1b1afffcd4e6810185d472517a6b5cd7cb82fb3c8ca"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validatePluginActionGrantAllow (cognitive 24): agent.validatePluginActionGrantAllow has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 10 (12 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_actions.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"df904c50b4bb4db055891924374bffd5da87b40c939d612dcfa81ea8b7d780cd"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginExecution.authorizeCredentialBrokerHTTPRequestBody (cognitive 24): pluginExecution.authorizeCredentialBrokerHTTPRequestBody has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, match/switch 1 (nesting depth added 7). 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":"go/pkg/agent/plugin_runtime_http_body_policy.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5fc04793b5acf6fc7a4952ebd9755d55565bd9011f8b34a4feef0233d25b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"SNMPCollector.processValue (cognitive 24): SNMPCollector.processValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 4, match/switch 1 (nesting depth added 7). 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":"go/pkg/agent/snmp/collector.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"df054559545773b1d64a9d9c62718ae8ec3433cf0fdf765c6effc5ffaa4a9413"}},{"ruleId":"D2","level":"warning","message":{"text":"armis.buildMetadata (cognitive 24): armis.buildMetadata has cognitive complexity 24 (threshold 15). Drivers by points: if/else 23 (24 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/agent/syncsources/armis/update.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"406860be48d07c64ad99e1dc2d146948cdfb6c083172411ed18f4af2e96b5c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.DownloadObject (cognitive 24): Server.DownloadObject has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 1 (nesting depth added 12). 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":"go/pkg/datasvc/server.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d09f51802e2b32743387df4cf5ffb3a740fb6fee0f9a1d2274885a91cd02d"}},{"ruleId":"D2","level":"warning","message":{"text":"DB.InsertOCSFNetworkActivity (cognitive 24): DB.InsertOCSFNetworkActivity has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/db/ocsf_network_activity.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb8d852dcea41d65597abd4733eeb1d75fd72744d211f255710b1245625dedb"}},{"ruleId":"D2","level":"warning","message":{"text":"edgeonboarding.extractCollectorBundle (cognitive 24): edgeonboarding.extractCollectorBundle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 1 (nesting depth added 11). 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":"go/pkg/edgeonboarding/collector_enroll.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1807cfec08358210456a52911187abaaacd05a78652831fd83ef3b6ae9f54a0"}},{"ruleId":"D2","level":"warning","message":{"text":"endpointinventory.validateConfig (cognitive 24): endpointinventory.validateConfig has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/endpointinventory/config.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d8f804a4187342b00be7e3548cc3e17aa39af2f4cae81494d6af60d40b1fcd"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.resolveExistingDeviceIdentityByIPUnlocked (cognitive 24): DiscoveryEngine.resolveExistingDeviceIdentityByIPUnlocked has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 4 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/discovery_devices.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ea22c62dfc243417d6bdc8e03f3576cd25331a07ea1f6b16e1822670963e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"OCSFDevice.ToJSONFields (cognitive 24): OCSFDevice.ToJSONFields has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (24 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/models/ocsf_device.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"50347a523b99a2c3ce03610ff9359aa544d56902cdea6301ba4a07225627519a"}},{"ruleId":"D2","level":"warning","message":{"text":"SubnetScanner.startScanning (cognitive 24): SubnetScanner.startScanning has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, loops 2 (3 pts), match/switch 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":"swift/FieldSurvey/FieldSurvey/Network/SubnetScanner.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"239e8b759a379b1f25f7ab46489e610820993e6a7222592a521426420649662a"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveyView.checkpointSession (cognitive 24): SurveyView.checkpointSession has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (6 pts), boolean chains 2, error handling 1 (nesting depth added 11). 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":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a854090f4968c0140eb4e24b769964949d1c8e4bd51a12109df0d90140f61c"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowReader.readStreaming (cognitive 24): ArrowReader.readStreaming has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowReader.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca7de1d1068c48dbe03304e6cafdb9e3d70fc36419e1529edd42a50f5d57d46"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_config_validator::text::flatten (cognitive 24): serviceradar_config_validator::text::flatten has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 1 (nesting depth added 12). 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":"config/manager_validator/rust/src/text.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c7a7e0080dd9af4c9ab7ce12829d3f70e9cbbf6e6506b7547431fe843831e3"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::capture::parse_radiotap (cognitive 24): serviceradar_fieldsurvey_sidekick::capture::parse_radiotap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 11). 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":"rust/fieldsurvey-sidekick/src/capture.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc10901742f2dcb49c550387df60196c1668dc498c5751cdfd90d1d8a54c8e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::parse_tcp_options_from_tc (cognitive 24): serviceradar_netprobe_ebpf::parse_tcp_options_from_tc has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"958cc17307a3d59eda6a8d2266002fcd9f651a7ddf911e7be62f5275979a07ab"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::capture::runner::run (cognitive 24): serviceradar_netprobe::capture::runner::run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, loops 2 (3 pts), match/switch 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":"rust/netprobe/src/capture/runner.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bcebfb80f47ce2100d598db26c38c83e8d93ce4c1a8694d97650cb483a38d9"}},{"ruleId":"D2","level":"warning","message":{"text":"_initOrUpdate (cognitive 24): _initOrUpdate has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), error handling 3 (6 pts), ternaries 2 (3 pts) (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a55bf5a6224d313d2e39660fb849a015b50d945e00150289c785dec02d1611b"}},{"ruleId":"D2","level":"warning","message":{"text":"buildMtrPathEdgeData (cognitive 24): buildMtrPathEdgeData has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 5 (6 pts), other 3, loops 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 369, 403). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37ae965c2dc3ba7f7918e8f7fcae89d16bca01c18c2b19449750d9a2539ca38"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxLaunchPreflightAttestation.verify_evidence (cognitive 23): AwxLaunchPreflightAttestation.verify_evidence has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 10, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9012fb18a30b45f2a815dc6e084961b7c23a6059641fcfbb8927381f046b62e0"}},{"ruleId":"D2","level":"warning","message":{"text":"HardenedLaunchPlan.build (cognitive 23): HardenedLaunchPlan.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, boolean chains 8, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c8d7cd0f28f365dae8cb561a67097032230feeab615b366860807bb24ddb1"}},{"ruleId":"D2","level":"warning","message":{"text":"CurrentAuthority.current_approval_snapshot (cognitive 23): CurrentAuthority.current_approval_snapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 10, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b968be1ea4cdd62f377265adb816214b608f656561f170a475ed04a343b802b"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.trusted_assertion_provenance? (cognitive 23): EndpointVulnerabilityAdjudicator.trusted_assertion_provenance? has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 23. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65bcce2319fc80057ad2c57483274f4e2f262a960f23fc91c67929f29174b38"}},{"ruleId":"D2","level":"warning","message":{"text":"export_rootfs_from_layout._extract_layer (cognitive 23): export_rootfs_from_layout._extract_layer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/images/export_rootfs_from_layout.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d066e79776a40462d2721a9e198211ddfa6628aad8878a996a26051909a170"}},{"ruleId":"D2","level":"warning","message":{"text":"builder.build (cognitive 23): builder.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (22 pts), loops 1 (nesting depth added 4). 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":"build/packaging/agent/macos/package.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c277b5ea82cd6f978c53f5f98c5e5b98f7015d6877ce4c255a67a01fabee984"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.ApplyConfig (cognitive 23): PluginManager.ApplyConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (6 pts) (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":"go/pkg/agent/plugin_runtime_manager.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0af74ded5820e5a8e5307b373cb7499ae2165d175fecc98626697fe7cb89813"}},{"ruleId":"D2","level":"warning","message":{"text":"devicealias.FromMetadata (cognitive 23): devicealias.FromMetadata has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). 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":"go/pkg/devicealias/alias.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3067a924c56380d145c7fc1344a0a498338d37535fb3cb8d92983ce682e31d"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.processPortTable (cognitive 23): DiscoveryEngine.processPortTable has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 3, loops 1 (nesting depth added 13). 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":"go/pkg/mapper/ubnt_topology.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab366c813b104b077c1c870c28c438b5bddf7148fcc8d2abe4def58bba73c26"}},{"ruleId":"D2","level":"warning","message":{"text":"Tracer.matchProbeResponse (cognitive 23): Tracer.matchProbeResponse has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (10 pts), match/switch 2 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mtr/tracer.go"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4b2b8c882532a36778a955afa3d55148aaae80692bca281c7c7775c01a26eb"}},{"ruleId":"D2","level":"warning","message":{"text":"ICMPSweeper.processResults (cognitive 23): ICMPSweeper.processResults has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/icmp_scanner_unix.go"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"a830c2d766053ef4f4717a0b3a829d44a3d823d6c5bd9f14748c076c485c326d"}},{"ruleId":"D2","level":"warning","message":{"text":"SYNScanner.tryReleaseMapping (cognitive 23): SYNScanner.tryReleaseMapping has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_mappings.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"585fa283a5aab6dd9cba3b9ee6d7b20504815cd4da45038a61b6ff5f0f11d30a"}},{"ruleId":"D2","level":"warning","message":{"text":"SYNScanner.worker (cognitive 23): SYNScanner.worker has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 2 (6 pts), loops 2 (3 pts), jumps 2 (nesting depth added 13). 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":"go/pkg/scan/syn_scanner_worker.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d2e581d5a7a9ec867c44afb3136c70e98778c1c1ce8338c3f7de4d5e6a62fc"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_addon::engine::apply_drift_lifecycle (cognitive 23): serviceradar_anomaly_addon::engine::apply_drift_lifecycle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3bce170f8e0c7ef790db7aa8d9c2846e30049443ffb4036c74057307842573"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::census::runtime::segment_scope_for (cognitive 23): serviceradar_netprobe::census::runtime::segment_scope_for has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 12). 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":"rust/netprobe/src/census.rs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"67394b0b16f96ebe213e045b331f81923b3e1d4488f51b48205d8937e99d8d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"network_config_downparser::apply_command (cognitive 23): network_config_downparser::apply_command has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/network-config-downparser/src/lib.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea5e926175d195cf0a66f03f7cf91ebde815b921c314e0287d79bf78cf72f67"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::starrocks::field_sql (cognitive 23): srql::query::starrocks::field_sql has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea32bb793d0393d5831c1133e8a723e99141a952945e8f2541d28fb2b008a40d"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardBuilderCanvas.Component (cognitive 23): DashboardBuilderCanvas.Component has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 8, boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 505, 364, 411, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd2baaf22177a1485bd95d07bf1d22a573d34fb6e38fab82bd7897fa7912a34"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_elk_scene.decodeElkScene (cognitive 23): layout_elk_scene.decodeElkScene has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, ternaries 11. Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 691, 638, 726, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3fa38f5ac4e7e87a38c943d41b48c4fecaec36cecd00d393767592bd2bddb4"}},{"ruleId":"D2","level":"warning","message":{"text":"topology_overview_projection.attachedEndpointNodes (cognitive 23): topology_overview_projection.attachedEndpointNodes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fbe587904f7a6880b411521cd18a8514c58728972d2ff2c8c9d0ae29cf9fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"security_findings.dashboardHtml (cognitive 23): security_findings.dashboardHtml has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 16 (19 pts), boolean chains 3, if/else 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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":"elixir/web-ng/assets/js/dashboards/security_findings.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7705d01da917c6623e406152026215030ca28f52d08d0ca1ae75f655c1dfcbc8"}},{"ruleId":"D2","level":"warning","message":{"text":"dev.devCommandHmr (cognitive 23): dev.devCommandHmr has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (10 pts), error handling 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 103). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/dashboard/dev.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7625fb4bcd85de34a02dca56b4701402ee220b1164b55003194d2bf63c585f"}},{"ruleId":"D2","level":"warning","message":{"text":"stateReasonForNode (cognitive 23): stateReasonForNode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, loops 1 (nesting depth added 5). 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":"elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccff74115a70d6d5cf318757914b742309652e25b13ac586ac224d5fb994539"}},{"ruleId":"D2","level":"warning","message":{"text":"autoFitViewState (cognitive 23): autoFitViewState has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, ternaries 1 (nesting depth added 3). 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58346602b4c75c0d4e66affd75555221805e4b96b0b9f563616483685e86934"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackCommandContract.broker_matches? (cognitive 22): CallbackCommandContract.broker_matches? has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 20, if/else 1, match/switch 1. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"59de01e8799fefb1f42de24c9f9b5451d460ab5a8b30b6e0ee8ad582ea7efa5f"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveAwxLaunchPreflight.validate_controller_security_snapshot (cognitive 22): LiveAwxLaunchPreflight.validate_controller_security_snapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, boolean chains 10, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d369c75133f79c21fe893f90798a2097ed71404653db94ba0f8893701df600"}},{"ruleId":"D2","level":"warning","message":{"text":"CurrentAuthority.rebuild (cognitive 22): CurrentAuthority.rebuild has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b00c4767451d5812f67ca48bd281437c1017a6dc0751b49bb71dea0693a4ff"}},{"ruleId":"D2","level":"warning","message":{"text":"CurrentAuthority.current_policy_snapshot (cognitive 22): CurrentAuthority.current_policy_snapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, boolean chains 10, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"9946d5805b4485256edd88582dcf6a1a1e8fe73a6c37213b807c1817755ca36a"}},{"ruleId":"D2","level":"warning","message":{"text":"Manifest.validate_producer_schedule (cognitive 22): Manifest.validate_producer_schedule has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 10, match/switch 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a661fb8dd218ab7961a96054032817040f0b856daab997ab134fe876f78e95e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxmoxHostAuthority.canonical_origin (cognitive 22): ProxmoxHostAuthority.canonical_origin has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 3, match/switch 1 (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7f3d9ad3ae53adb36fddbab779acfdc5052ea1509b15d79d357c404d146b58"}},{"ruleId":"D2","level":"warning","message":{"text":"Packages.create_from_upload (cognitive 22): Packages.create_from_upload has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 19, if/else 2, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"1234ae791e09e1c4dd7030eced3a252004c526177964ef4ac898c4cca6efe046"}},{"ruleId":"D2","level":"warning","message":{"text":"main.normalizeLaunchPreflightAddress (cognitive 22): main.normalizeLaunchPreflightAddress has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (9 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0fa6653f91966a3864b343970034fe248b22b374b935ce8ab01fb7825de106"}},{"ruleId":"D2","level":"warning","message":{"text":"main.mergeRunGroup (cognitive 22): main.mergeRunGroup has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (nesting depth added 7). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 722). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fad7394352917719468298aae7d282655c235261af59811a649fe01efa0fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.validateVEXStatement (cognitive 22): main.validateVEXStatement has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 2, loops 2, match/switch 1 (nesting depth added 4). 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"642bd73582294130eaeba2c09acda42d5145c2a8e3f460ea765d5b5e461cb1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"main.ensureCanonicalPURLSize (cognitive 22): main.ensureCanonicalPURLSize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 2 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee4be0e84c75db3d57a5176b29dbc2bd859d82b51b761f9f7d8176180455692"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.proxmoxInventoryPathAllowed (cognitive 22): agent.proxmoxInventoryPathAllowed has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 17, if/else 4, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d46ab6f638e0f570a18ac609335385fa749fe137515252f8bf47dae9e8afd7c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.proxyProxmoxConsoleSSHInput (cognitive 22): agent.proxyProxmoxConsoleSSHInput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 13). 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":"go/pkg/agent/proxmox_console_ssh.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5428154c8c2a99a73d81e7dcbf422b55b106b153ff22449e8a43ddfe8775264"}},{"ruleId":"D2","level":"warning","message":{"text":"desktopMediaGatewaySender.recvLoop (cognitive 22): desktopMediaGatewaySender.recvLoop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 1 (nesting depth added 13). 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":"go/pkg/agent/desktop_media_sender.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdcc23ee0013d89329a31e64bbcc90646fcedc75e6ad74fab5796618e26165b"}},{"ruleId":"D2","level":"warning","message":{"text":"client.enrichAssetFields (cognitive 22): client.enrichAssetFields has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 11). 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":"go/pkg/agent/syncsources/armis/asset_enrichment.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"903341333f6400dd998bc7b3a082d1f36010106adbec68f3ce2f7ae337026ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.Stop (cognitive 22): Server.Stop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 1 (nesting depth added 7). 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":"go/pkg/agent/server.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a9df8bd9bcf892ddb8f59d250222b8beca04d90e20a992196afcdf01b9cd94"}},{"ruleId":"D2","level":"warning","message":{"text":"NATSAccountServer.getResolverConn (cognitive 22): NATSAccountServer.getResolverConn has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"go/pkg/datasvc/nats_account_service.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e2d53fcd4e1f3be9c8900388125294e43969385d9f73d018ed1669909a39fa"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.queryInterfaces (cognitive 22): DiscoveryEngine.queryInterfaces has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). 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":"go/pkg/mapper/snmp_interfaces.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f952b4bdad166b1f4009c8caa9b7d8996342e8de4b46ad3a77977e89e371172b"}},{"ruleId":"D2","level":"warning","message":{"text":"models.DeepCopyHostResult (cognitive 22): models.DeepCopyHostResult has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (4 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":"go/pkg/models/sweep.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a4d707cf93a3a2f8f57b8b57a8eace649c8e9ad6b715cc08b8ed15e9473028"}},{"ruleId":"D2","level":"warning","message":{"text":"Tracer.Run (cognitive 22): Tracer.Run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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":"go/pkg/mtr/tracer.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfad8b14c932b5e2cdf9a9947f426be9ecb29d471e4fa9a2dd1d35d665436b3"}},{"ruleId":"D2","level":"warning","message":{"text":"sysmon.CollectDisks (cognitive 22): sysmon.CollectDisks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 2 (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":"go/pkg/sysmon/disk.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2676cf7845fe473d7d59aff92a6d0e05053b07b3fe3a6c7a590ba2c5ca23673d"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveySetupPhaseView.body (cognitive 22): SurveySetupPhaseView.body has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 14 (18 pts), if/else 4 (nesting depth added 4). 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":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"7255f49dd09b5a6b94576e32c9a1b9cb1c73c105394550177f0a549e11b7212e"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::api::streams::stream_observations (cognitive 22): serviceradar_fieldsurvey_sidekick::api::streams::stream_observations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 12). 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":"rust/fieldsurvey-sidekick/src/api/streams.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"024ea16bef291b91eba755cac457a1431b1eef63b009eff3db4fe2bf61a5b6dc"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::alerts::apply_ordering (cognitive 22): srql::query::alerts::apply_ordering has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 10 (17 pts), if/else 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/alerts.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4193ffb4f41729127b50c143be8c6d1be76eec9b6490c646e0076c10a2ce4653"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::graph_cypher::rewrite_placeholders (cognitive 22): srql::query::graph_cypher::rewrite_placeholders has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 12). 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":"rust/srql/src/query/graph_cypher.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2ce6874a733549e4ae79da86fe8855fa83a40509e14d3efc2301e6500314e1"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::starrocks::dataset_sql (cognitive 22): srql::query::starrocks::dataset_sql has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 2). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf88576b2bc61aaa4e61776f325e72b0554d4c63bd94cf96c0c5221a143c0d38"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_topology_state_methods.overviewTopologySceneFromGeometry (cognitive 22): layout_topology_state_methods.overviewTopologySceneFromGeometry has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 17, if/else 5. Of this number, 14 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a9aa71a08c2d6de1c63d079a4863462bae54a3a88a8c4f2a43bcd07cd3578d"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_style_edge_particle_methods.packetFlowStamp (cognitive 22): rendering_style_edge_particle_methods.packetFlowStamp has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 16, ternaries 2 (4 pts), if/else 1, loops 1 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bd08102e07efe24540b7ae3b51126f3e0e958f51f0ba6ebffea4fbf697636c"}},{"ruleId":"D2","level":"warning","message":{"text":"NetflowStackedAreaChart.renderTotalOverlays (cognitive 22): NetflowStackedAreaChart.renderTotalOverlays has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (7 pts), boolean chains 5, loops 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5787ea36bcc0333cbd3ead60c7d7b2a4a7ff3ab9628a3cdf29cf4a2d2ff3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"mounted (cognitive 22): mounted has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, error handling 1, loops 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 13 function items inside it that branch (maybeRestore, cookieGet, extractTimeToken, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/SRQLTimeCookie.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c63dbccee613f5bce60ba5b8762b0a81f82212fd61ca9de86e8cd67f6cca9b8"}},{"ruleId":"D2","level":"warning","message":{"text":"draw (cognitive 22): draw has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 4, error handling 1. Of this number, 11 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/hooks/charts/FlowDonut.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c51cc7cd620037a8308cae6f99b69398850fb175d8c971f41748163669b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxLaunchPreflightAttestation.verify_persisted_internal (cognitive 21): AwxLaunchPreflightAttestation.verify_persisted_internal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, boolean chains 6, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c731b8d53edda573dfddd67c3cc62a725370fecde5dd3c20035dcea45118e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackCommandResultCoordinator.activate_exact_scope (cognitive 21): CallbackCommandResultCoordinator.activate_exact_scope has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6f4351f6d03396146cedb719ec0a556140eb08353990e75390a06c158435b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Lifecycle.prepare_draft (cognitive 21): Lifecycle.prepare_draft has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"693c46cbc3a37f7c2a59d53eb7aa2e904715b7de3f26169d7534e93a35e3f986"}},{"ruleId":"D2","level":"warning","message":{"text":"Ubuntu.validate_product_fields (cognitive 21): Ubuntu.validate_product_fields has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e939cfc8419c6b0ed480a6c262ea466b3b420eb0caf3ffdcf6c222ad838fe13"}},{"ruleId":"D2","level":"warning","message":{"text":"AddonFleet.build_row (cognitive 21): AddonFleet.build_row has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 17, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_fleet.ex"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8caf8ccfa549cc8ac5f51e0d66f3ab22720345c2d5cea8c2dc187be338614c6"}},{"ruleId":"D2","level":"warning","message":{"text":"FirstPartyImporter.import (cognitive 21): FirstPartyImporter.import has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eae902b6ad39237b5cc49393a64cf2d6d5390191bbab2831991c36e5e14684"}},{"ruleId":"D2","level":"warning","message":{"text":"main.isProbablyIP (cognitive 21): main.isProbablyIP has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 3 (5 pts) (nesting depth added 7). 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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39312a50b8056453a0d8f9c173338d753f9db8939b2822e39a4ade57cc36e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Query.UnmarshalJSON (cognitive 21): Query.UnmarshalJSON has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 5). 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":"go/cmd/wasm-plugins/opentext-nom/config.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f2df577afb0b36de561cad51b910e357195fb875163b3062d61849c23e5a63"}},{"ruleId":"D2","level":"warning","message":{"text":"main.validatePluginInputsJSON (cognitive 21): main.validatePluginInputsJSON has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 1 (nesting depth added 7). 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":"go/cmd/wasm-plugins/proxmox/config.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"929979fdb7fae52f1f63623fad03f1b6f774a9b21692a90968b50110cfe2ffbf"}},{"ruleId":"D2","level":"warning","message":{"text":"builder.verifyPayload (cognitive 21): builder.verifyPayload has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1, loops 1 (nesting depth added 4). 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":"build/packaging/agent/macos/package.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf590c936afe48310a0cdb0d60ae1786b3750ebdffe5173c9adb488a6b153e4"}},{"ruleId":"D2","level":"warning","message":{"text":"builder.buildArch (cognitive 21): builder.buildArch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), loops 1 (nesting depth added 3). 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":"build/packaging/agent/windows/package.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"da76de5c1322492df00ba02a6d24375975b81919a1e301d9a656347aeaf8168f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.newDesktopMediaGatewaySender (cognitive 21): agent.newDesktopMediaGatewaySender has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 1 (nesting depth added 5). 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":"go/pkg/agent/desktop_media_sender.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e2ffa14f1567a993e76f85b01fac75b1631dc461ad88472c03800f35d68770"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.parseSystemdUnitStatusOutputForUnit (cognitive 21): agent.parseSystemdUnitStatusOutputForUnit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_capabilities.go"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"9382a9829702d9dbc0ad3898b8243e87117a4d484512667e08faaa5c0f435c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.stageAgentRelease (cognitive 21): agent.stageAgentRelease has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 1 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/agent/release_update.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b8c2c435278612404f841b3b6ac6ede1043c73bbeee36fb016c771a4d18c89"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.loadWasm (cognitive 21): PluginManager.loadWasm has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (21 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_wazero.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e017f77ee3e725a275c275558b025be56d2d3eab25a69b86b79342739ad471"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.handlePluginRunAction (cognitive 21): PushLoop.handlePluginRunAction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (21 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/control_stream.go"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b44f7d46fea88abb8d5fd79a670af5056aaf56fa4a965f8ee3c7a077c24e345"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.enrollOnce (cognitive 21): PushLoop.enrollOnce has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 1 (nesting depth added 7). 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":"go/pkg/agent/push_loop_enroll.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce081cae4f51e43f6505e3c6cbabd323d479f69c9529534ead1811db033e49b8"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.monitorReleaseActivation (cognitive 21): PushLoop.monitorReleaseActivation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"go/pkg/agent/push_loop_enroll.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0374f50731c71d35f9ffbd838391aa3796debda13d7168ee9249d933645f8595"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.pushNetprobeResults (cognitive 21): PushLoop.pushNetprobeResults has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 4, boolean chains 1 (nesting depth added 4). 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":"go/pkg/agent/push_loop_mapper_netprobe.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d921dca3bb4421fb2bcf9a1b2c2ccb73104381341a33981dd547302ecc177fcf"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.RunEdgePackageList (cognitive 21): cli.RunEdgePackageList has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 2, match/switch 1 (nesting depth added 4). 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":"go/pkg/cli/edge_onboarding.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe720c63830eb6a48c7b41bebcbc2861a64d187b8e6c1b5ebcc13abe6996b52"}},{"ruleId":"D2","level":"warning","message":{"text":"Bootstrapper.loadPackageFromArchive (cognitive 21): Bootstrapper.loadPackageFromArchive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 5). 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":"go/pkg/edgeonboarding/download.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"00331c3bd8f9848b9977ce926f0eb662771444cc8aa449c9d5549fad736d4cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.findMatchingGroup (cognitive 21): DiscoveryEngine.findMatchingGroup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (5 pts) (nesting depth added 13). 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":"go/pkg/mapper/discovery_dedup.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aa783eae420e1262dbbed9e93478eaff26cdbf2c9755f87c54a61b99b95010"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreServiceConfig.UnmarshalJSON (cognitive 21): CoreServiceConfig.UnmarshalJSON has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (21 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":"go/pkg/models/config.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d922df4cab45c9841ccc9b1611d1f9291992a6ab822b82ce96b8bee0cdc0689f"}},{"ruleId":"D2","level":"warning","message":{"text":"accounts.BootstrapOperator (cognitive 21): accounts.BootstrapOperator has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (21 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/operator.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8e9ece1e09a5fb5dd13a166c268b70468673c47c857b369911a24c79947115"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCollector.Collect (cognitive 21): DefaultCollector.Collect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (21 pts) (nesting depth added 5). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/sysmon/collector.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26a123430a7a2d6037019fa38a198722948e60d9cd49a94c7c5e2a91b8bd188"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_nif::core::telemetry::select_metric_backed_interface (cognitive 21): god_view_nif::core::telemetry::select_metric_backed_interface has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 12). 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":"elixir/web-ng/native/god_view_nif/src/core/telemetry.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"195f4ff9fa8608affb8a48c97997ab1b44e3182944410fa5ded4b429a801df23"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::emit_inet_sock_set_state (cognitive 21): serviceradar_netprobe_ebpf::emit_inet_sock_set_state has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 1 (nesting depth added 4). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"92956f239f1c63241003ce7ec97684057a24ff77fba4b47a4c1f8a2199113cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::kernel_layout::parse_inet_sock_set_state_layout (cognitive 21): serviceradar_netprobe::kernel_layout::parse_inet_sock_set_state_layout has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 pts), match/switch 1 (4 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":"rust/netprobe/src/kernel_layout.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7bc8e99262a80e3bf5aeda0bec13add2f3af9f1770075e9e278d8c330f229b"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::mdns::read_dns_name (cognitive 21): serviceradar_netprobe::mdns::read_dns_name has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). 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":"rust/netprobe/src/mdns.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9be81455e63add48b6add2f3a17c8b69ce9b7237bf8aa3a8dc3c97331b70adc"}},{"ruleId":"D2","level":"warning","message":{"text":"otel::http_server::handle_otlp (cognitive 21): otel::http_server::handle_otlp has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 11 (18 pts), if/else 3 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel/src/http_server.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c900ce1ccbf2bc5f14a378924bdac80e35c379c51cfd648e4266ef9632a99d"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_rdp_adapter::protocol::validation::validate_credential_grant (cognitive 21): serviceradar_rdp_adapter::protocol::validation::validate_credential_grant has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, match/switch 1 (nesting depth added 3). 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":"rust/rdp-adapter/src/protocol/validation.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"683670e1295e9c97d11b44d934eca550460fe896de1f01853c1e15c0f98534de"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::timeseries_metrics::build_stats_query_with_source (cognitive 21): srql::query::timeseries_metrics::build_stats_query_with_source has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 5 (7 pts), match/switch 1 (2 pts) (nesting depth added 5). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/timeseries_metrics.rs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8b9559c8860dd21e0934591c42ea716af311ae8b68af14ee93e8fcbf837da6"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::downsample::sql::build_sql (cognitive 21): srql::query::downsample::sql::build_sql has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/srql/src/query/downsample/sql.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"354243f78dc95672063d5ba24138cde9cd092ea2d868467023e26e5bd4dfe2b7"}},{"ruleId":"D2","level":"warning","message":{"text":"tokenizer.splitSegments (cognitive 21): tokenizer.splitSegments has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/srql/tokenizer.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"289ede642087919b677bcea3ea5a3b10bf4ffda247b8b92ac36c293f3002b556"}},{"ruleId":"D2","level":"warning","message":{"text":"SrqlEditor.Component (cognitive 21): SrqlEditor.Component has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8, ternaries 4 (7 pts), boolean chains 6 (nesting depth added 3). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 47, 15, 56, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/SrqlEditor.jsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9446a9e78b7fd4b8e6d08d56f50452769cd7ed5fcf151b31da9d5b1454ee505"}},{"ruleId":"D2","level":"warning","message":{"text":"harness.browserModuleApi (cognitive 21): harness.browserModuleApi has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 3, loops 2 (nesting depth added 1). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 106, 151, 100, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/harness.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6582451d8ff3f86b4442c1f0a0f7dd9798e75f9cada47dcfef108e636d6e12e3"}},{"ruleId":"D2","level":"warning","message":{"text":"hintValues (cognitive 21): hintValues has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/SRQLInput.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc58542ba3e1a3ebb879f03901fa7f9d99375408465dbefb62de8a3c61896517"}},{"ruleId":"D2","level":"warning","message":{"text":"connectWebRtc (cognitive 21): connectWebRtc has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8, error handling 2 (3 pts) (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/CameraRelayStatusStream.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d269625cff0950d8107271e4598d8739450617417d503d7c4ebaa7acddd831b"}},{"ruleId":"D2","level":"warning","message":{"text":"fitVisualSpecs (cognitive 21): fitVisualSpecs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 4 (5 pts), boolean chains 2, loops 1 (2 pts), other 2 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7b2110d53436cea66644ad86161bce24e381016f772565385e3f7c9bddc228"}},{"ruleId":"D2","level":"warning","message":{"text":"requestTopologyProfileLayout (cognitive 21): requestTopologyProfileLayout has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (7 pts), error handling 1, other 1 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e0534072c35f33d7fbfbbafbc5a8ee7e5d79511b03b389e350bede69b06a61"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 21): _draw has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 8, error handling 2. Of this number, 16 points are the body\u0027s own statements and 5 belong to 7 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d023658d0a9d877c3f6fce4a0972968067200374703db8f4c6ca716369a35dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxClient.valid_launch_args? (cognitive 20): AwxClient.valid_launch_args? has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 20. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9405704b9907bcf96d34d47fc0ee971d3c9f6735d919af3776dbabf3367a5fb"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxLaunchContract.validate_template (cognitive 20): AwxLaunchContract.validate_template has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71a7bfae6155b6a1f70c1c83e7feff5089abb99d2675893f808f56209a5222f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCallbackResponsePolicyProvider.materialize_targets (cognitive 20): FileCallbackResponsePolicyProvider.materialize_targets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9002c2bf0415344735141c65b78b2df3dfe294d355f32cd11420a24aa3aa3050"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveAwxLaunchPreflight.attest (cognitive 20): LiveAwxLaunchPreflight.attest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc5c1703b12940f4034985346f6bdcba07522abcb292429b1d92b4f7458dcea"}},{"ruleId":"D2","level":"warning","message":{"text":"SecureExecutionCurrentAuthority.current_principal (cognitive 20): SecureExecutionCurrentAuthority.current_principal has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 9, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b73bb3a996bcecba75c93719bc0d513fbcbd5493cb689af76fe33c9891917e"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.version_scope_parent_context? (cognitive 20): EndpointVulnerabilityAdjudicator.version_scope_parent_context? has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 15, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a30a14f8c948a18068ea21af0acf87ad3263b222bad16f2df248dd42af4120"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointVulnerabilityMatcher.load_fixed_vex_version_scopes (cognitive 20): EndpointVulnerabilityMatcher.load_fixed_vex_version_scopes has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 18, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11364d080b19c66e3192e91ed8e7d9edbcce2f797222ab796504aebd52b6184"}},{"ruleId":"D2","level":"warning","message":{"text":"ArmisUnmerge.apply_split (cognitive 20): ArmisUnmerge.apply_split has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d2171a46ecc2c2a7a04bef382c3eff085fc1a74cf235c2cc942812424183ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.handle_event (cognitive 20): Index.handle_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (5 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b82b1a3cd36d2033c8e63670dcd49338bf13aad5f8337b0af82c29b9e513ea"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runFetchLaunchPreflight (cognitive 20): main.runFetchLaunchPreflight has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (17 pts), loops 2, boolean chains 1 (nesting depth added 2). 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":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7b34f35d2824c6fb9d78bce85e6bd7afdfbd20f4d6094d00262301472be742"}},{"ruleId":"D2","level":"warning","message":{"text":"main.validatedJobEventPairs (cognitive 20): main.validatedJobEventPairs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"36745b109a8b9fb3221eb4e02cfc27397c471a396f69d21c12514ea91ff83d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"main.rawPluginInputsValid (cognitive 20): main.rawPluginInputsValid has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, loops 1 (nesting depth added 5). 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":"go/cmd/wasm-plugins/proxmox/config_raw_parse.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0558d4da3610aa6023f2b9902d166d7565ab0c70eab7dedc23a13d33a41cc405"}},{"ruleId":"D2","level":"warning","message":{"text":"main.preparePackageArtifacts (cognitive 20): main.preparePackageArtifacts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/release/platform_artifacts.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a1ab82f2c8b8d130b26e82ca173db64ee8f1e23dca209d5ec7c03d3e8f2e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"desktopRDPHelperSession.readLoop (cognitive 20): desktopRDPHelperSession.readLoop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). 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":"go/pkg/agent/desktop_rdp_helper_adapter.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0525d3006487703d87b595aa4ef23eb48a008c2b4b024ebad717b3c7623c7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"armis.normalizeMetadataFieldName (cognitive 20): armis.normalizeMetadataFieldName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 9, loops 1 (nesting depth added 5). 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":"go/pkg/agent/syncsources/armis/metadata_fields.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"148a254fd0e8b00230f66a3c0d782d912a047a2aa545536e31e4921e0b2a2de1"}},{"ruleId":"D2","level":"warning","message":{"text":"db.buildCNPGConnURL (cognitive 20): db.buildCNPGConnURL has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/db/cnpg_pool.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f5e08fcfbdbf23f0ceff4b658bd7adc8d21e005d17181128723edd91db1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"endpointinventory.applyDefaults (cognitive 20): endpointinventory.applyDefaults has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/endpointinventory/config.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fa6d911e0cddf8f2eabc4f0c4b5fa61105b54b477b6314badccf552b3f830c"}},{"ruleId":"D2","level":"warning","message":{"text":"k8sinventory.EndpointSliceFromDiscovery (cognitive 20): k8sinventory.EndpointSliceFromDiscovery has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/k8sinventory/convert.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bef5ccfc90b9ffca8af0d6081a00652c4b6010ca7bb15c15c1a5d071642ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"mapper.fetchSystemVariables (cognitive 20): mapper.fetchSystemVariables has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 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":"go/pkg/mapper/snmp_sysinfo.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"457872fbf53ec0b6824552e8336050e38ff1bcfe5f7ba995781f6358cffd2b63"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.Run (cognitive 20): Runner.Run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 1, loops 1 (nesting depth added 5). 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":"go/pkg/scalibrinventory/adapter.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81537c477cacde5d570cb7ffa37e3fcfa78afb337b302faba3de4eb533ccca0"}},{"ruleId":"D2","level":"warning","message":{"text":"scan.readReservedPorts (cognitive 20): scan.readReservedPorts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (5 pts), boolean chains 3 (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":"go/pkg/scan/syn_scanner_ports.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7711c74a92a859a2a0fe9dc465c5a4b175f86542276165be5fba123ab046f1f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ICMPSweeper.listenForRepliesOnConn (cognitive 20): ICMPSweeper.listenForRepliesOnConn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). 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":"go/pkg/scan/icmp_scanner_unix.go"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d56be6795817cb3d29c9c354f06228b9b05c11d4cdcebaa5a0f12fee6ca3c0"}},{"ruleId":"D2","level":"warning","message":{"text":"SYNScanner.logTelemetry (cognitive 20): SYNScanner.logTelemetry has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (11 pts), match/switch 2 (7 pts), boolean chains 1, loops 1 (nesting depth added 13). 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":"go/pkg/scan/syn_scanner_stats.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"33192bc7b35e46cbff3efe23de34d627ccb4baf982b101251377bc1c543ae0eb"}},{"ruleId":"D2","level":"warning","message":{"text":"sweepBatchRunner.addTarget (cognitive 20): sweepBatchRunner.addTarget has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/sweeper/sweeper_batch_runner.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"035897695c61b74b405d188ab79f63067e387bbb63f58bea77c53298d1bb283f"}},{"ruleId":"D2","level":"warning","message":{"text":"SubnetScanner.startPosixBroadcast (cognitive 20): SubnetScanner.startPosixBroadcast has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 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":"swift/FieldSurvey/FieldSurvey/Network/SubnetScanner.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb59352c48a3b3f1abb987a7963ecbbf727619c03d0044522635ca470630eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorEngine::apply_metric_class_override (cognitive 20): DetectorEngine::apply_metric_class_override has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a25ecd1192a658ae9b099d8e20dcf13af79692a810a11037b9ab73cdec236"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::live_capture::run_capture (cognitive 20): serviceradar_fieldsurvey_sidekick::live_capture::run_capture has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 2, loops 2 (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 shape REPEATS in the file: one other method here (serviceradar_fieldsurvey_sidekick::live_capture::run_capture::process_block) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/fieldsurvey-sidekick/src/live_capture.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4200228f9a60f2906e51ef5e6c106d340688ff5146be26471dbe0f7237970fb"}},{"ruleId":"D2","level":"warning","message":{"text":"kvutil::load_spiffe_tls (cognitive 20): kvutil::load_spiffe_tls has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/kvutil/src/lib.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ef4fc43ef003b82255ea15049a62e773e46a0b7f0f2dac26dc0b75109be84f"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::p0f_corpus::parse (cognitive 20): serviceradar_netprobe::p0f_corpus::parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/p0f_corpus.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2624f1b470fb435ffe766a4c8a6494b5ff2642d574fdd49c0eca8ecc1a6909"}},{"ruleId":"D2","level":"warning","message":{"text":"SpoolReader::try_next (cognitive 20): SpoolReader::try_next has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 12). 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":"rust/otel/src/agent_forward/spool/reader.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"170c67e44a783f5844da3ac9a09d5f1233125887170971ea273871a8d0477582"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_rdp_adapter::protocol::validation::validate_open_payload (cognitive 20): serviceradar_rdp_adapter::protocol::validation::validate_open_payload has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/rdp-adapter/src/protocol/validation.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bad89b1966c57b3eedbe4c11a1400164ba4c50f3a4c4adf8515025ec49e45e"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::mtr_hops::parse_single_agg (cognitive 20): srql::query::mtr_hops::parse_single_agg has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/mtr_hops.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ee7e085a3e378713be7ce60b537543138f07b946b83a2e9770df5f9d0b2d5f"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::virtualization::order_column (cognitive 20): srql::query::virtualization::order_column has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 11 (20 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/virtualization.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"2667fb4d896e4031214a2deeca90c7d3ea2ef7bb0538ab45f73e21d72a0e3793"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::otel_metrics::apply_ordering (cognitive 20): srql::query::otel_metrics::apply_ordering has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/otel_metrics.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6f9db35a22225f0d870815dacda5c9bb028d68b96a38594805b27d8ef1e368"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::services::apply_ordering (cognitive 20): srql::query::services::apply_ordering has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/services.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40a153ecdb036488d72f0ee24b4cc8010c47c490313584a206545eb4889d152"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::starrocks::order_sql (cognitive 20): srql::query::starrocks::order_sql has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). 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":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b2b221d420fb3216d124ac1cce95036485f9dedab02793b8c50bb164d8c930"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::bmp_events::apply_ordering (cognitive 20): srql::query::bmp_events::apply_ordering has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/bmp_events.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5d1c73432e14ccc2ffb859c7e82716906e7aadb90c460faf38f2d7c2b96c47"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_graph_view_methods.segmentSeparation (cognitive 20): rendering_graph_view_methods.segmentSeparation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 3 (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33d3ef0e9cc010bb7cc4d649b8b5a5ab571bf435b4700dababd02f5ee54c4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_syncLine (cognitive 20): _syncLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 4 (8 pts), boolean chains 1, ternaries 1 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44019ccf5cc0d3da827d564c7cdb2b39e2c597a111074015ec1cf5e47edf90a"}},{"ruleId":"D2","level":"warning","message":{"text":"edgeEnabledByTopologyLayer (cognitive 20): edgeEnabledByTopologyLayer has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 16, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_topology_methods.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"259002c51698c6cf04feccbe7788430895d3649c02a17147fe463b77a74e3673"}},{"ruleId":"D2","level":"warning","message":{"text":"handlePanMove (cognitive 20): handlePanMove has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, error handling 1 (3 pts) (nesting depth added 5). 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bee80a7a2574466f6883dc04fbee971ad88675ac412666f6be122024a09a06"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxCleanup.build_plan (cognitive 19): AwxCleanup.build_plan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce91895a8578c7c164e41f6b1c8b686ee79ca4fbf0341518c5958410c8761a"}},{"ruleId":"D2","level":"warning","message":{"text":"RelaySessionLifecycle.activate_session (cognitive 19): RelaySessionLifecycle.activate_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (7 pts) (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":"elixir/serviceradar_core/lib/serviceradar/camera/relay_session_lifecycle.ex"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8683eb3549be24f1c0fb0f338bc22d4ebf137559e07e0a6d9e8b4a67516c620"}},{"ruleId":"D2","level":"warning","message":{"text":"Ubuntu.validate_provenance (cognitive 19): Ubuntu.validate_provenance has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7af99d049c3f642993e7385a065c2796fc33eb4cce9308d5b5f9a33652df73"}},{"ruleId":"D2","level":"warning","message":{"text":"Ubuntu.validate_assertion (cognitive 19): Ubuntu.validate_assertion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b59b6df58fb34ffd9aeb00b7954dbcdfcb0c9dfb65b7f5f882d779f08ed29fb"}},{"ruleId":"D2","level":"warning","message":{"text":"UbuntuAdapter.validate_inventory (cognitive 19): UbuntuAdapter.validate_inventory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/ubuntu_adapter.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e0538714836db9100ac2f87e1988458e687e10632309b8edae57980db6107e"}},{"ruleId":"D2","level":"warning","message":{"text":"Dispatcher.route (cognitive 19): Dispatcher.route has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (4 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe6dfa7da5653fecb1dcc5a2680e03d92377f2650292217f89bbe6cba43fc11"}},{"ruleId":"D2","level":"warning","message":{"text":"Loader.do_reload (cognitive 19): Loader.do_reload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/loader.ex"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa155e8b93d6bed4a0309f0081a82345b68616247999bc0e5b52958b9f52c30c"}},{"ruleId":"D2","level":"warning","message":{"text":"MtrRuntime.load_traces (cognitive 19): MtrRuntime.load_traces has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 7, boolean chains 2 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/mtr_runtime.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"71655b588a46e68c05829f8e7905e7167450390f3a84a1b4e95cfb88ca80c00d"}},{"ruleId":"D2","level":"warning","message":{"text":"MtrData.compare_windows (cognitive 19): MtrData.compare_windows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b29b011b643c68ce53181bae8b2e5722c7a80d05430bfdb6f54abba278834e"}},{"ruleId":"D2","level":"warning","message":{"text":"ensure_k8s_node_alerts.main (cognitive 19): ensure_k8s_node_alerts.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"js/cli/ensure_k8s_node_alerts.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b6c91189dfa5c40701eec5aa172cb823d0db4251d9eb15c040d8308f64e575"}},{"ruleId":"D2","level":"warning","message":{"text":"main.extractLaunchPreflightAnsibleHost (cognitive 19): main.extractLaunchPreflightAnsibleHost has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 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":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64788b519f023789b3889ee7d30e55024d0061248ecf6ecfe3b01d85b23ba50"}},{"ruleId":"D2","level":"warning","message":{"text":"main.extractLaunchPreflightJSONAnsibleHost (cognitive 19): main.extractLaunchPreflightJSONAnsibleHost has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 1 (nesting depth added 5). 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":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac3adf22c26695d6cf2889254ac4624d6d08f28ac4e741844a34bbf3276ab85"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runFetchJobHostSummaries (cognitive 19): main.runFetchJobHostSummaries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 1 (nesting depth added 5). 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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"28340b9e1e81d34a934ec471d8c7bec98ffaaf115dc89136a974db48fc03a504"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runInventorySyncController (cognitive 19): main.runInventorySyncController has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbae47746dc55ef8f497a5e0fad3e65cfad529ebd7305c59f10d4791b634962"}},{"ruleId":"D2","level":"warning","message":{"text":"main.containsForbiddenProxmoxPublicConfigValue (cognitive 19): main.containsForbiddenProxmoxPublicConfigValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/proxmox/config.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ce1fb85bf15cb348bda3ba88413cc8cb015460fd92270c53f01df4ecebaf49"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_check (cognitive 19): main.run_check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 0 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 15). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/unifi-protect/main.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c039b3960dc05213ae38423154d3a141caf68175808c2ae495e2f00933860f65"}},{"ruleId":"D2","level":"warning","message":{"text":"main.buildProtectCameraDescriptors (cognitive 19): main.buildProtectCameraDescriptors has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 2 (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":"go/cmd/wasm-plugins/unifi-protect/protect_descriptors.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7360c2f6d27d0b63aa1a7b6bbd6e9a5288b876fe54fdf2a616b4205e3a9dc626"}},{"ruleId":"D2","level":"warning","message":{"text":"BGPSimulationConfig.UnmarshalJSON (cognitive 19): BGPSimulationConfig.UnmarshalJSON has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18 (19 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/cmd/faker/main.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71aef3d7078900670545c89dcc9c1bdf8d54bce668929007d020808815f9d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"main.buildAdvisory (cognitive 19): main.buildAdvisory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), match/switch 1 (3 pts), boolean chains 2 (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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c4df305f3da427ab9d29a8cb5e18d71d8545663ee8aeb830bad05e852030a7"}},{"ruleId":"D2","level":"warning","message":{"text":"grpcServer.RelayOtlp (cognitive 19): grpcServer.RelayOtlp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 9). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"go/pkg/addon/grpc.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"752695edf18decc2f90b22de25373147547589895193a21709f7c1ce6cd5d8ed"}},{"ruleId":"D2","level":"warning","message":{"text":"metricFeedLifecycle.runStream (cognitive 19): metricFeedLifecycle.runStream has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (11 pts), loops 3 (5 pts), if/else 1 (3 pts) (nesting depth added 11). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon/metric_feed.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c85291ef61cb3ad6451ae4dd27f27e36350223e2e6908b1845d6b8dfe491432"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.splitAWXInventoryHostCredentials (cognitive 19): agent.splitAWXInventoryHostCredentials has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1, loops 1 (nesting depth added 5). 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":"go/pkg/agent/plugin_runtime_awx_inventory_credentials.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"13561a84c0b62218c72243971b3c9888fc8749c377c3b1269e22d9454dd7cfe9"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validateProxmoxConsoleBindingTargetIDs (cognitive 19): agent.validateProxmoxConsoleBindingTargetIDs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, loops 1, match/switch 1 (nesting depth added 4). 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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"034906f881eda91df8156ad9711e870236575f8c91df430fe11b82599300b19a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.dialProxmoxConsoleSSH (cognitive 19): agent.dialProxmoxConsoleSSH has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), match/switch 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/agent/proxmox_console_ssh.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5271adda501c8e53640913de9d7863ca5899306754ba163039df0264de49da87"}},{"ruleId":"D2","level":"warning","message":{"text":"netprobe.processSnapshotSummary (cognitive 19): netprobe.processSnapshotSummary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (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":"go/pkg/agent/netprobe/translator.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d938058532a6ccc2f6bb0974b98580b2b4587886ca655d29f642eb934311948"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.refreshDownloadCredentials (cognitive 19): PluginManager.refreshDownloadCredentials has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5, boolean chains 3 (nesting depth added 5). 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":"go/pkg/agent/plugin_runtime_manager.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a4ff077c1233bfe95625d531a43b4afab838f679a54d5a01f25022270b7f16"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginExecution.proxmoxHostAuthorityForHTTPRequest (cognitive 19): pluginExecution.proxmoxHostAuthorityForHTTPRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, match/switch 1 (nesting depth added 2). 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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f24dc66dfea632a80100609d3193422debde2770f2d5ec418ec4d7ee8425eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.systemdAddonRuntimeReady (cognitive 19): PushLoop.systemdAddonRuntimeReady has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 5). 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":"go/pkg/agent/push_loop_addons.go"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"f807140b5b603b909db6ed5bfcadf69876b057186b60fb0725563f955042ea3f"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteaccess.copyWithFileTransferQuota (cognitive 19): remoteaccess.copyWithFileTransferQuota has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/remoteaccess/sftp.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de83592fa68168ed41612af2a9f41407bbf7fefd47b7103b6c99fb087f3001b"}},{"ruleId":"D2","level":"warning","message":{"text":"endpointinventory.FinalizeFullScan (cognitive 19): endpointinventory.FinalizeFullScan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 219). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/endpointinventory/cache_commit.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6200a2d9eb3ef9401fd88aa2e8b4ecfa981637a15f6f9da3240254a2b84fcacf"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.reconcileObservedFDBJoins (cognitive 19): DiscoveryEngine.reconcileObservedFDBJoins has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 7). 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":"go/pkg/mapper/snmp_l2_observed.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"821dc2bf8e0082f513cccf0f62be1ab343609433d04fd4993fdab9ce94b652a6"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.queryUniFiAPI (cognitive 19): DiscoveryEngine.queryUniFiAPI has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/ubnt_poller.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"911534f87af708f1a4e95487ce92d8c2f1079f11b23acfd7a70d29672e457f74"}},{"ruleId":"D2","level":"warning","message":{"text":"ICMPSweeper.processReply (cognitive 19): ICMPSweeper.processReply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/icmp_scanner_unix.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f575541f368764f99ffd7d70cb72de6328d4d0227e1d40ecb51736425122ea"}},{"ruleId":"D2","level":"warning","message":{"text":"apiClient.request (cognitive 19): apiClient.request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/terraformprovider/client.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e71c302ed6724a87d6233d5a1b680cfa21fd6366d4dc47ad576ed7fa0c5b649"}},{"ruleId":"D2","level":"warning","message":{"text":"manifestschema.normalizeYAML (cognitive 19): manifestschema.normalizeYAML has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/tools/addon-manifest-validator/internal/manifestschema/validator.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ce574b4c41b5905f8e73d5d544d226f728383353d8bc5b2d088fc6062f47fe"}},{"ruleId":"D2","level":"warning","message":{"text":"GaussianProcessModel.cholesky (cognitive 19): GaussianProcessModel.cholesky has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). 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":"swift/FieldSurvey/FieldSurvey/Models/SignalCoverageInterpolator.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67cde2474bd98a42d245032a5cf06c214a81720185ce9343b68c5e42284e0aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket::activate (cognitive 19): Socket::activate has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 9 (14 pts), if/else 5 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/afpacket/src/linux.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c5ebc376022c32b6df22cd8b55073bb79397f37914ba03e88a9c37f359749f"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_addon::frame::apply_emission_budget (cognitive 19): serviceradar_anomaly_addon::frame::apply_emission_budget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/frame.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc646dec547a70d045e57a302853698816e2008947ff975b3dfec8d81bb5755"}},{"ruleId":"D2","level":"warning","message":{"text":"dgraph_topology::downstream::reachable_on_canonical (cognitive 19): dgraph_topology::downstream::reachable_on_canonical has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/dgraph-topology/src/downstream.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"472de42278bdaf3c06618e2073d4d700ea346248efa469c6fcf948deccaaffb3"}},{"ruleId":"D2","level":"warning","message":{"text":"Listener::run (cognitive 19): Listener::run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 3 (8 pts), match/switch 1 (2 pts) (nesting depth added 13). 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":"rust/flow-collector/src/listener.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0491a1d358aa6f3f0f6cf5423e7d166bd5a5cd32d664e7449783b3886bd355"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowAttributionRuntime::start (cognitive 19): FlowAttributionRuntime::start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/attribution.rs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98b96b2f410bb3449ce10e4e0e0623d5c5592a6073a4bf617a26cf5e16f268e"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::kernel_layout::parse_btf (cognitive 19): serviceradar_netprobe::kernel_layout::parse_btf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (4 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/kernel_layout.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb54d3ea467c9110414fc15bc405f7303fd4c1c1af54533fd951c7dfc64dd25"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::cpu_metrics::build_numeric_clause (cognitive 19): srql::query::cpu_metrics::build_numeric_clause has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/cpu_metrics.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"745711858fddfae2bfda62b3ffa0ec844ab2c6c10ccef3d95c0b53b7d58928bf"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardWasmHost.buildSrqlQuery (cognitive 19): DashboardWasmHost.buildSrqlQuery has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (6 pts), loops 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8e11fe73e081bc0cf4f297a56e7f056414909ab5a6b24cee3ea2b7151532fb"}},{"ruleId":"D2","level":"warning","message":{"text":"harness.buildSrqlQuery (cognitive 19): harness.buildSrqlQuery has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (6 pts), loops 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/harness.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfc8f1fdfa9de273c1d122d17c694f44a84d9eeac8735bde6b0fd235486e6bd"}},{"ruleId":"D2","level":"warning","message":{"text":"buildCandidates (cognitive 19): buildCandidates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 1 (2 pts), other 1 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 1 belongs to 6 function literals inside it that branch. 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":"elixir/web-ng/assets/js/hooks/SRQLInput.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaf9af87e4406a4bcbcc05078cf029cca7013857119e8226ede12c6f068a502"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeTypeHeroIcon (cognitive 19): nodeTypeHeroIcon has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe3bbaa173915c1a157c33cb5de5d02f7afc0f1cd938b9a0ced9a95075659d2"}},{"ruleId":"D2","level":"warning","message":{"text":"deterministicRelationPresentation (cognitive 19): deterministicRelationPresentation has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (6 pts), if/else 3 (nesting depth added 2). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 111, 97). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c4b4b6281845782b942104c4cf3a3b00be90770fe2eddee73332e27e92610b"}},{"ruleId":"D2","level":"warning","message":{"text":"routePairGeometry (cognitive 19): routePairGeometry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5030555ba39524d2442e5b78e6ae58cbec2c1a673bd17a2ba75ffb5a14efe94"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 19): _draw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 9 belong to 13 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ff6e455b6401e6930d682dc6f7207531a497457e0a740fa006bfd4949aa164"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomationResultSanitizer.job (cognitive 18): AutomationResultSanitizer.job has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c00a31b157379a07bf2d6a5c1b28daaab5976fa4ba3818449d9bea3ba6f222"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxBindingReview.normalize_request (cognitive 18): AwxBindingReview.normalize_request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_binding_review.ex"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3485e22d7b62e7eeb90b9f5c31400f1fbf6c339deeafb23451c4ae445faadf2c"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackCommandRecovery.recover_with_command (cognitive 18): CallbackCommandRecovery.recover_with_command has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda044d97215a09f142c52a8bd2a93973892bb563d41f99ff91ffe352c22792c"}},{"ruleId":"D2","level":"warning","message":{"text":"EventIngestor.handle_launch (cognitive 18): EventIngestor.handle_launch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (6 pts) (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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/event_ingestor.ex"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"040aa5d4a3e69b255ab62628dfabf3eb795f56a7e7c16b1519ba93e6dec0e084"}},{"ruleId":"D2","level":"warning","message":{"text":"SecureChildLauncher.load_launch_state (cognitive 18): SecureChildLauncher.load_launch_state has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4645cb4b19054a2fead6c26f5e5130682b7ce96dd867ff11ab804ce65f2483d"}},{"ruleId":"D2","level":"warning","message":{"text":"AshStore.consume_once (cognitive 18): AshStore.consume_once has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (3 pts) (nesting depth added 7). 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a06b5ee2d5e6c6bbe30a8e35a54d0f72186e31790691ff302478794996044f0"}},{"ruleId":"D2","level":"warning","message":{"text":"AshStore.validate_cleanup_reconciliation (cognitive 18): AshStore.validate_cleanup_reconciliation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaec5dd02271d4545277c8edf792d21a9f34236d55e560a9451c09b545ceba9"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanupReconciler.result_status (cognitive 18): CleanupReconciler.result_status has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e5aa991794fd6fbc04e948b85020a381e9040559042ef3d00b3c1dbe93f604"}},{"ruleId":"D2","level":"warning","message":{"text":"CurrentAuthority.current_principal (cognitive 18): CurrentAuthority.current_principal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"030362c91aa14dc3794116c10d86aeaa9b0b834f8b30fb668d96250c416e9d9a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfigGenerator.map_proxmox_input_items (cognitive 18): AgentConfigGenerator.map_proxmox_input_items has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 4 (8 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11b9ee2db778b2897a3658f9605e2d082e5a0fb726fd2d1d315492fbe8bf046"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeEngine.do_merge_devices (cognitive 18): MergeEngine.do_merge_devices has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/merge_engine.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"80182e682c81b8ae33156d0b46b4bee528d1f25810f6913da0cc2a3ebc859665"}},{"ruleId":"D2","level":"warning","message":{"text":"IntegrationIdentity.validate_v3_record (cognitive 18): IntegrationIdentity.validate_v3_record has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/integration_identity.ex"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f279ef3a29e0f9041a3994ac32c3fbbbcb41e1ed823e691dcf0f44f431be0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxmoxUnfuse.apply_split (cognitive 18): ProxmoxUnfuse.apply_split has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 4 (7 pts) (nesting depth added 7). 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30d00dd5b48e24eea1df72e611b542092b2963fa1e3e4b5bba171f883379c80"}},{"ruleId":"D2","level":"warning","message":{"text":"NetflowProviderDatasetRefreshWorker.fetch_provider_rows (cognitive 18): NetflowProviderDatasetRefreshWorker.fetch_provider_rows has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"523f5739653eb09bd56a92cfd289efda8aa0bf0a5bac790c61be09dfdd8d7c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginResultIngestor.handler_marker_context (cognitive 18): PluginResultIngestor.handler_marker_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 7). 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":"elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"227e60e0fdfa110c08d6674573eda0b91b35d2aaa45a07350e8225281a68464f"}},{"ruleId":"D2","level":"warning","message":{"text":"SRQL.execute_query (cognitive 18): SRQL.execute_query has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (4 pts) (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":"elixir/web-ng/lib/serviceradar_web_ng/srql.ex"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fac6cc09384e2a66c682ad9769d33fc57b53d8d7c37f4c233db403527ac2b34"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeGraph.canonical_edge_to_runtime_row (cognitive 18): RuntimeGraph.canonical_edge_to_runtime_row has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 18. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f9fcefe49b1d72ffd11eec86a92202722509cb105f7097ccf56db2abf81645"}},{"ruleId":"D2","level":"warning","message":{"text":"check_extension_abi._shared_objects (cognitive 18): check_extension_abi._shared_objects has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). 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":"docker/images/check_extension_abi.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96f841affa3a5019ca87420c1c66d4997424e0df5719641bd9f39481d00f5ec"}},{"ruleId":"D2","level":"warning","message":{"text":"main.positiveQueryInt (cognitive 18): main.positiveQueryInt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/alienvault-otx/main.go"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64e16ae85c0313bdb6edee6be0863706c6290c29a1692d2db52177b1401fd06"}},{"ruleId":"D2","level":"warning","message":{"text":"main.projectAWXEventData (cognitive 18): main.projectAWXEventData has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d285f2fd3df78099e70e633fdb372108065f460fc19f65b6c5d453e54432c20"}},{"ruleId":"D2","level":"warning","message":{"text":"main.awxSurveyVariableTokens (cognitive 18): main.awxSurveyVariableTokens has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (7 pts), loops 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8119e89e1d46ed0fdf088605fe7436fb8d43c3dfb15271cb6040b5becd2edb"}},{"ruleId":"D2","level":"warning","message":{"text":"Collector.lookupAttachedSwitchPort (cognitive 18): Collector.lookupAttachedSwitchPort has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2 (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/opentext-nom/attached_switch_port.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1f15367c520dc6f967e5984e340116de8b283effcd5f23d547ffd5f3e82f30"}},{"ruleId":"D2","level":"warning","message":{"text":"options.validate (cognitive 18): options.validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"build/packaging/agent/macos/package.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb038640757447d896b0a5b24f63e35c7f081bfc7eadec5bd9987aa8966ee1f"}},{"ruleId":"D2","level":"warning","message":{"text":"main.validateWindowsPackages (cognitive 18): main.validateWindowsPackages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (nesting depth added 7). 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":"build/release/platform_artifacts.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"63361974bbec26416458717d1ea17052496673c608dcb35b6121b6731eb63f30"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runPushMode (cognitive 18): main.runPushMode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/cmd/agent/main.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d6680e2f63c4b3f7794825d1a37a3acd6b9c12b9005d1b79010e8e849453d6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.generateMACAddresses (cognitive 18): main.generateMACAddresses has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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":"go/cmd/faker/main.go"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d2bdfb843ec46904e5dbb4add5e537c794ab0590f58730b4b655161042d246"}},{"ruleId":"D2","level":"warning","message":{"text":"main.loadConfig (cognitive 18): main.loadConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (nesting depth added 4). 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":"go/cmd/tools/armis-api-probe/main.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac6318cd67ba05868d8643b720b2de9d38586e56bf510e654c30e413b6711b3"}},{"ruleId":"D2","level":"warning","message":{"text":"main.consumeArchiveMember (cognitive 18): main.consumeArchiveMember has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3 (nesting depth added 5). 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":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9929e71b3788cf68cb7da99d888d8afe3f5a10655fac95f168b247f99520ae89"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parseOSVWithLimits (cognitive 18): main.parseOSVWithLimits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, loops 2 (nesting depth added 2). 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8c0d1e6741815f1a0cb10ec7cc9f02f3baf3544f130d22c3cd549de8cc9218"}},{"ruleId":"D2","level":"warning","message":{"text":"main.projectVEX (cognitive 18): main.projectVEX has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acb003be7d9f5e78837f2164145f601553f36114591e8033c7051191a7cdfee"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parseUbuntuPURLQualifiers (cognitive 18): main.parseUbuntuPURLQualifiers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (2 pts) (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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cb860c4dacf27c66b847d723ddf5f8f24f674cf510cd3dc731f0eb6dbb04f1"}},{"ruleId":"D2","level":"warning","message":{"text":"grpcClient.StreamMetricFeed (cognitive 18): grpcClient.StreamMetricFeed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 9). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 520, 544). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/addon/grpc.go"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0bbdec8f4a108c875095be104affbefd4c8c24ba8820ffdf3bdc968808fdd7"}},{"ruleId":"D2","level":"warning","message":{"text":"addon.reconnectStreamLoop (cognitive 18): addon.reconnectStreamLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 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":"go/pkg/agent/addon/stream_backoff.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ec46d492546a57e898b5c7e6a4526b6bdae8c4d966a4b9f8a84f576272a7db"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.applyLocalAddonOverrides (cognitive 18): agent.applyLocalAddonOverrides has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon_activation.go"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"8301af9ea7f67891af6ec4d9ffd657be73642964944af242e05f09589a15cdc4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validateProxmoxGrantAllow (cognitive 18): agent.validateProxmoxGrantAllow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6 (nesting depth added 4). 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":"go/pkg/agent/control_stream.go"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"889d13e14bc992c5c8825998f32e43346253cc9e8c715debfc1eace4ee677cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.credentialBrokerCacheDecision (cognitive 18): PluginManager.credentialBrokerCacheDecision has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4 (nesting depth added 4). 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":"go/pkg/agent/plugin_runtime_http.go"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c8e87d97ff5cebe2ffb06a72d8c7ca63db5d3b15d3201c688a4d42df23c5b5"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.handleEndpointInventoryForceFreshScan (cognitive 18): PushLoop.handleEndpointInventoryForceFreshScan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1 (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/endpoint_inventory_commands.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d86a2f4c1ac326a06b5428703e5f320640a7cabfded4e38c35ed64d8d2ce0d"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.applyConfigIntervals (cognitive 18): PushLoop.applyConfigIntervals has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"872d9f272eae455c6b626eeeadacb19caf62a8c6c6ed61519b6afa36f96af25d"}},{"ruleId":"D2","level":"warning","message":{"text":"NATSStore.handleWatchWithReconnect (cognitive 18): NATSStore.handleWatchWithReconnect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (12 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 12). 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":"go/pkg/datasvc/nats.go"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"864088679c32aaddc0f212324526f3d911e15529de408abd6e97b093bef7e634"}},{"ruleId":"D2","level":"warning","message":{"text":"NATSAccountServer.WriteOperatorConfig (cognitive 18): NATSAccountServer.WriteOperatorConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2 (nesting depth added 4). 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 shape REPEATS in the file: one other method here (NATSAccountServer.writeOperatorConfigLocked) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/nats_account_service.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fa76cf9a1620edfe5db19d7f9cebe69046d3fc3c23cdc00299a0d3ec8643a5"}},{"ruleId":"D2","level":"warning","message":{"text":"NATSAccountServer.writeOperatorConfigLocked (cognitive 18): NATSAccountServer.writeOperatorConfigLocked has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2 (nesting depth added 4). 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 shape REPEATS in the file: one other method here (NATSAccountServer.WriteOperatorConfig) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/nats_account_service.go"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"8978242dcbe36a40fb180613da6e48cced78a15899b7280207a731b4cae950f3"}},{"ruleId":"D2","level":"warning","message":{"text":"archiveMetadataFile.toModel (cognitive 18): archiveMetadataFile.toModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/edgeonboarding/download.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"faddcc73e9b19d28f3fdf4687ce794070863fc60bbfa2fad83c6e26acc24ab9b"}},{"ruleId":"D2","level":"warning","message":{"text":"mapper.distinctHardwareMACSets (cognitive 18): mapper.distinctHardwareMACSets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 7). 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":"go/pkg/mapper/utils.go"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cedeb72a42217973db13994d90046bae6850a6fb632dbc3bf969f0d1ca3a7d0"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.addOrUpdateDeviceToResults (cognitive 18): DiscoveryEngine.addOrUpdateDeviceToResults has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/discovery_devices.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d3de04898bf55d3168de70da35b607a2a6e4846455e5508776fd06ea3094b3"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.enrichSNMPVLANFingerprint (cognitive 18): DiscoveryEngine.enrichSNMPVLANFingerprint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, loops 3 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/mapper/snmp_fingerprint.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b3e38511e1e4052c63786e421685862e3954a1665bc86012849b25b5686a4b"}},{"ruleId":"D2","level":"warning","message":{"text":"CA.SignUserCertificate (cognitive 18): CA.SignUserCertificate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/remoteaccess/sshca/sshca.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"53638e5c93fc9d52bf5cea3f9f061845da7cdcbdce4e74e35c46546403c8984a"}},{"ruleId":"D2","level":"warning","message":{"text":"scalibrinventory.applyDefaults (cognitive 18): scalibrinventory.applyDefaults has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/scalibrinventory/config.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e588eef0ae369dbf30b91b08b01bc913823a1415652d8f017e040bd798ea4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.enrichPodCorrelation (cognitive 18): Service.enrichPodCorrelation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2 (nesting depth added 4). 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":"go/pkg/trivysidecar/service.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5444e0cd9ec772003df81e2a47b945fdbbde8077c06db8f2a4863dbcfa1e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"manifestschema.checkArray (cognitive 18): manifestschema.checkArray has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/tools/addon-manifest-validator/internal/manifestschema/validator.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"864b501ea956789dca9737bb08f9e4d8b3998e5c2673e9c0dfbeb211dcbf7641"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 18): main.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (4 pts) (nesting depth added 7). 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":"go/tools/addon-manifest-validator/main.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f34b8e7107f163b98dc5c989534ac6cfff890379e3516afadd059fa5fc72ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.maybeUpdateARPriorityMode (cognitive 18): Coordinator.maybeUpdateARPriorityMode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (nesting depth added 4). 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":"swift/FieldSurvey/FieldSurvey/Views/CompositeSurveyView.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bc297a2287ff4d648d90f3d999e36d16dc2045f019290d499a4bc33f855a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_nif::core::causality::betweenness_scores (cognitive 18): god_view_nif::core::causality::betweenness_scores has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 3 (nesting depth added 4). 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":"elixir/web-ng/native/god_view_nif/src/core/causality.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e2bf3c4e4001ec7cb17a95a35137d801b3ec8b24517f83a735ab75c5e8ebe8"}},{"ruleId":"D2","level":"warning","message":{"text":"correlation_engine::context_hydrator::parse_topology_edges (cognitive 18): correlation_engine::context_hydrator::parse_topology_edges has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/correlation-engine/src/context_hydrator.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"87180b98cedb0df9e86aeb3c91cb94b4fb4036a06126c95a36c88ffd11fed41d"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_integration_db::bin::observe_connections::main (cognitive 18): serviceradar_integration_db::bin::observe_connections::main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 3 (4 pts), boolean chains 1, loops 1 (nesting depth added 5). 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":"rust/integration-db/src/bin/observe_connections.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f96f790010d74ed1b015fafcc47af6580115dd97f3ddca56094f5888b3af937"}},{"ruleId":"D2","level":"warning","message":{"text":"CensusConsumer::poll_once (cognitive 18): CensusConsumer::poll_once has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/census.rs"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6288c3c5f0648ed7c542b5d81b701efd368d8321673a646cf2a68b80016c352a"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::fingerprint::recog_observations (cognitive 18): serviceradar_netprobe::fingerprint::recog_observations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/netprobe/src/fingerprint.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"646d0247af9401feb8dabcf3b50294ba0930115b1c91b531620ee406800badbf"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::ebpf_runtime::is_default_route_interface (cognitive 18): serviceradar_netprobe::ebpf_runtime::is_default_route_interface has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 2 (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":"rust/netprobe/src/ebpf_runtime.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4be08d3c27bbb50d052816ed084b2222269dd6f911e988bb263742ae993d06"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::attribution::socket_owners (cognitive 18): serviceradar_netprobe::attribution::socket_owners has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (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":"rust/netprobe/src/attribution.rs"},"region":{"startLine":2756}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8bec8f701abe9fcb0f52d3207be91f388d0bf73a582f08f491fe0a8f5b0bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"otel::agent_forward::spool::eviction::count_unacked_records (cognitive 18): otel::agent_forward::spool::eviction::count_unacked_records has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). 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":"rust/otel/src/agent_forward/spool/eviction.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dc8400937c8af4c26c0d60b817bba3332556f30006732db1f40fdd944ddb67"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::logs::time::apply_ordering (cognitive 18): srql::query::logs::time::apply_ordering has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/logs/time.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d287a20ba4c4c137e800f41be132795191a753b879dad35f114e38ad53cb37ab"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::parser::tokens::tokenize (cognitive 18): srql::parser::tokens::tokenize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"rust/srql/src/parser/tokens.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c573c17ae13232c60c928749b889dd9c6185e8435875c37784d0fdd89f00de"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::parser::filters::build_filter (cognitive 18): srql::parser::filters::build_filter has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 4). 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":"rust/srql/src/parser/filters.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"30188088b4e94510498f62c8535ffb84a12b667230d329981c9c106c3e2d9cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::otel_metric_points::apply_ordering (cognitive 18): srql::query::otel_metric_points::apply_ordering has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/otel_metric_points.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dad1c346ed609ce7c96d11b933b1b08925867da80b0bf9e184e57a408381ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_exec::compute_three_hop_mask (cognitive 18): god_view_exec::compute_three_hop_mask has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 7). 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":"elixir/web-ng/assets/wasm/god_view_exec/src/lib.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0250055e79c8bc81bf0b744362315cd9366575b79c1b57bd75fe568df4509dca"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_elk_scene.buildElkSceneGraph (cognitive 18): layout_elk_scene.buildElkSceneGraph has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, loops 2 (3 pts), ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 352, 385, 403, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d83341d5ec57e1590e11a111dc41c8c43ebfdc89d8ed8e08fd214359f65733"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_elk_radial_overview.indexElkLayout (cognitive 18): layout_elk_radial_overview.indexElkLayout has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (6 pts), if/else 3, loops 2 (nesting depth added 2). 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"348728da87ab817f758cbc732df0466e3d941024c5afe9532a68937b7f2a0f92"}},{"ruleId":"D2","level":"warning","message":{"text":"topology_overview_projection.orientForest (cognitive 18): topology_overview_projection.orientForest has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 2 (6 pts), boolean chains 4 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f508be28e339532f9036e7df10a41374236a7d71b9a49a79e6a93067918e753"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_scene_view.focusScene (cognitive 18): rendering_scene_view.focusScene has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 17, ternaries 1. Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 418, 402, 414, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5434d313a1bdc4eb9099568af0ec34b46db2b4523819269ab2f39c069d0191"}},{"ruleId":"D2","level":"warning","message":{"text":"boot (cognitive 18): boot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f160b6ec8d9e21d57e2859d4f63d6947f7232274f00e07a60a48506fa18f5a76"}},{"ruleId":"D2","level":"warning","message":{"text":"humanizeCausalReason (cognitive 18): humanizeCausalReason has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6, boolean chains 2 (nesting depth added 4). 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":"elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e2221d1601610d0de65c51474124b7c7970aa695947bd575ac3547ca4c4936"}},{"ruleId":"D2","level":"warning","message":{"text":"expandableEndpointClusterId (cognitive 18): expandableEndpointClusterId has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 7, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cede3f94d149e419de482f61fabd2b4c2edd34eec4ff25fb8ec99316111adf"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregateVisibleEdges::classBucketForEdge (cognitive 18): aggregateVisibleEdges::classBucketForEdge has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e233a99d34e91247d83178e609b8c8da740a86d4f828e7c6c8547a141bc2419"}},{"ruleId":"D2","level":"warning","message":{"text":"clusterEdges (cognitive 18): clusterEdges has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 8, if/else 1. Most of this is not in the body itself: 0 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 170). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7f5182398b077220181c53a040810ee30aba33b531c74ca6f8291742d446db"}},{"ruleId":"D2","level":"warning","message":{"text":"draw (cognitive 18): draw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 2, error handling 1, ternaries 1 (nesting depth added 2). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/FlowSparkline.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3003cb7288eb6a810215140820b810a7ee1bdfd7622f3a4a3c6989eb142a564"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerProvenance.label_summary (cognitive 17): ControllerProvenance.label_summary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 5, match/switch 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e8f17cbdff0380d9335ec01a34cee1ef67fb45fddd8866752b8ddc27d12da"}},{"ruleId":"D2","level":"warning","message":{"text":"Lifecycle.consume_by_state (cognitive 17): Lifecycle.consume_by_state has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"341b919610b557e39d50a325f4cef150435b7e5aae5e7812d9b9207b75dfabf5"}},{"ruleId":"D2","level":"warning","message":{"text":"SshCaBundleResponse.retirement_proof (cognitive 17): SshCaBundleResponse.retirement_proof has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 5, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdd0501d510453ca6392af8359920b946033c7e043d23e58e459ab57ff66d49"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxmoxConsoleSessions.reauthorize_session (cognitive 17): ProxmoxConsoleSessions.reauthorize_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1037dab78314bce3fa70c64b11721fe45bc0165a90b07ab7d3efa8cd2f0bde05"}},{"ruleId":"D2","level":"warning","message":{"text":"AnomalyEpisodeRegistry.transition_row (cognitive 17): AnomalyEpisodeRegistry.transition_row has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c559236f45657b12fc20418534fb0f606a9fdeaed674820ba4717d2496e5ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"Ubuntu.prepare_products (cognitive 17): Ubuntu.prepare_products has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54f8d42ab6efcdddd66663ec825c307814692d9454fc095dd848923bd6ef989"}},{"ruleId":"D2","level":"warning","message":{"text":"NetboxImportWorker.paginate (cognitive 17): NetboxImportWorker.paginate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (6 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":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f7f3cdcd652043232ddc9d98f6a7f42e39ceff0bfef01f7e35229716ab7a12"}},{"ruleId":"D2","level":"warning","message":{"text":"SPIFFE.parse_spiffe_id (cognitive 17): SPIFFE.parse_spiffe_id has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4 (8 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/spiffe.ex"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec67a72bab7388cd570704602578819be225e5f9a883cfb370ef50a94c6af22"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.handle_event (cognitive 17): Show.handle_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/show.ex"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d44f2fa559770ef40acfbd251c6f166f1a892962ecd044db2df6ca62e66f210"}},{"ruleId":"D2","level":"warning","message":{"text":"Overlays.load_stacked100_composition_overlays (cognitive 17): Overlays.load_stacked100_composition_overlays has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4801a16a1d42428a9ca4fb127deff63fa5594e39594095dbf41be1f6038455f"}},{"ruleId":"D2","level":"warning","message":{"text":"Sankey.srql_sankey_edge_from_row (cognitive 17): Sankey.srql_sankey_edge_from_row has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/sankey.ex"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7309d50a0fc2418c47889b0367bb1a8a93bbde4cec1daf220110d561340a94"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.applyDefaults (cognitive 17): Config.applyDefaults has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/cmd/wasm-plugins/alienvault-otx/main.go"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b7f28136efe4d94385cc41a3c70bd04152053da5f3f014051688329767d855"}},{"ruleId":"D2","level":"warning","message":{"text":"main.validateQueryParameters (cognitive 17): main.validateQueryParameters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/opentext-nom/config.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e38cd45ee50912d3f1813e9d1f84495a1b9d8f45e61639443d4ba1a9f9e86db"}},{"ruleId":"D2","level":"warning","message":{"text":"main.mergeProxmoxConsoleTargetRef (cognitive 17): main.mergeProxmoxConsoleTargetRef has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (nesting depth added 4). 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":"go/cmd/wasm-plugins/proxmox/console.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"c007b02b216a3a1cb3461d041d95ca183c09d31a4f964192d60e2fe7739f528d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.proxmoxGuestLegacyIDs (cognitive 17): main.proxmoxGuestLegacyIDs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 5). 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":"go/cmd/wasm-plugins/proxmox/identity.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"353c1fd70c939d78f49b2efd852f0d4958d5abc27ede59d10242e57e8bcd4409"}},{"ruleId":"D2","level":"warning","message":{"text":"main.resolveProtectStreamSourceURL (cognitive 17): main.resolveProtectStreamSourceURL has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/unifi-protect/protect_streams.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"935f993e7b2c918c709e463474fff9190e21c05b4aebc4abb60c9d6f6fc02966"}},{"ruleId":"D2","level":"warning","message":{"text":"main.loadFakerConfig (cognitive 17): main.loadFakerConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/faker/main.go"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f5426981427fce3e86cfe5b3726ceb6f6230c91f9f9b6773d16370ab8329a7"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 17): main.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac66b9b76f28415845dff713fef0eb20d9ee71d6a3e30cef34cdbfb7f13d27e3"}},{"ruleId":"D2","level":"warning","message":{"text":"main.projectRecordWithLimits (cognitive 17): main.projectRecordWithLimits has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, loops 1 (nesting depth added 3). 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87929117dafcd521bd2d1bcf37bf3317a537565d396786cc5d6cbc05ea753dd"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.stageAddonArtifactWithClient (cognitive 17): agent.stageAddonArtifactWithClient has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1 (nesting depth added 2). 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":"go/pkg/agent/addon_activation.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7540d3b91d1e21832e72d8b1e8fa7388defe3d2b098c10b1fd51c8d9fb35b8fc"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.buildMapperResultsPayload (cognitive 17): agent.buildMapperResultsPayload has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). 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":"go/pkg/agent/mapper_service.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d274a9ccf5498525e7fe607abd2a88863820355e797037127d425fd1585a35f5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validatePluginHostAuthorityTargetIDs (cognitive 17): agent.validatePluginHostAuthorityTargetIDs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"30feefbc4b0182a848631edfce9aa80dd1dff3bc24c90cd25eeaf0ad2cbf6a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.proxmoxConsoleSSHCredentialFromMaterial (cognitive 17): agent.proxmoxConsoleSSHCredentialFromMaterial has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2 (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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9208cd5ad580c24096abcf9a78656fd68e6ba75f1437feeff6df6e5ee1a90cc"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.refreshPluginHostAuthorities (cognitive 17): PluginManager.refreshPluginHostAuthorities has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5, boolean chains 3 (nesting depth added 4). 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":"go/pkg/agent/plugin_runtime_manager.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bd9afd994e44cc384ff838f04093387d6acf6f6bffdabb3c37c8746d045924"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginManager.ProxmoxAssignmentPolicyAcks (cognitive 17): PluginManager.ProxmoxAssignmentPolicyAcks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3, boolean chains 2 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"go/pkg/agent/plugin_runtime_manager.go"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"8888371c004b289b067bd6547f51471354102e1b8369d19c169b911c11fe4991"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginExecution.trustedProxmoxConsoleSSHConfig (cognitive 17): pluginExecution.trustedProxmoxConsoleSSHConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1c90139e382d4b313eb388ee53be7e339975d9fd08824e2b1fb294850af85a"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginExecution.writePluginHTTPResponse (cognitive 17): pluginExecution.writePluginHTTPResponse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2 (nesting depth added 4). 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":"go/pkg/agent/plugin_runtime_http.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"15437f5a4d2363ee6dcc378a5206c1c7db31145ebac7133d13cd16ce2751c225"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.configApplyFailureStatuses (cognitive 17): PushLoop.configApplyFailureStatuses has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4, boolean chains 1 (nesting depth added 5). 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":"go/pkg/agent/config_section_state.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f5721e550bb94138307fd31322533ce1705aeeb4a728a7a3da278103ffb21d"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.handleControlStream (cognitive 17): PushLoop.handleControlStream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts), loops 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":"go/pkg/agent/control_stream.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"24820835bb3bcc1189aee8c7bcdc58e1edbec6204e356c7061f16f12deb84c08"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.recordEndpointInventoryUploadSuccesses (cognitive 17): PushLoop.recordEndpointInventoryUploadSuccesses has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/endpoint_inventory_upload_ack.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d5f0ba3c73ea6f1216cf4a74842da924a8a1ce9ea5dafcf4cccbec45bcfa03"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.applyVisibilityConfig (cognitive 17): PushLoop.applyVisibilityConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). 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":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2573e1961420268b95255bedf4a9293eeead1e4a48484af21a2263f84c1c2c"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteaccess.validateDesktopTarget (cognitive 17): remoteaccess.validateDesktopTarget has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1 (nesting depth added 2). 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":"go/pkg/agent/remoteaccess/desktop_target.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"baedb48c0993efe0c11d5a3181c4b1bf8db186d577669749ca0121c9b23eef91"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncRuntime.ApplyConfig (cognitive 17): SyncRuntime.ApplyConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/sync_runtime.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4356a97f45f0be535a70853a3435cfdac580be55cc73304a3d11e6e8a4dacb"}},{"ruleId":"D2","level":"warning","message":{"text":"SysmonService.ApplyRemoteConfig (cognitive 17): SysmonService.ApplyRemoteConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/sysmon_service.go"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6c0f9b736f34f2d39c039bf13dc24af91e3c25ac242f21bd227663b0cbf31a"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.Run (cognitive 17): Runner.Run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1 (nesting depth added 5). 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":"go/pkg/bumblebee/runner.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d9e2cf8b341bb12c81978da07ba809744616bd6624913e0eb2664d2a44bae7"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.parseEdgePackageCreateFlags (cognitive 17): cli.parseEdgePackageCreateFlags has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2 (nesting depth added 3). 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":"go/pkg/cli/cli.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6e2a3a8e0e2f47b66f7e45566749cc03715dc4552188d3d5ca73d347bbaf6d"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.RunEdgePackageShow (cognitive 17): cli.RunEdgePackageShow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 1 (nesting depth added 4). 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":"go/pkg/cli/edge_onboarding.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"437f0e639d24ef15df720a501534a78781df1880e9791eb58637bb9198eb27ca"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.RunGenerateJWTKeys (cognitive 17): cli.RunGenerateJWTKeys has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2 (nesting depth added 3). 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":"go/pkg/cli/jwt_keys.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfef1de8b2abafefde6bb0a885eb294102bdcf15750db6beb16df2a1acc37ca"}},{"ruleId":"D2","level":"warning","message":{"text":"db.NewCNPGPool (cognitive 17): db.NewCNPGPool has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/db/cnpg_pool.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ae57ad8ca060ec7a8b55b74a1239e0eed5ea5af0169626b9fd69fd4755f80"}},{"ruleId":"D2","level":"warning","message":{"text":"endpointinventory.ApplyRuntimeProfile (cognitive 17): endpointinventory.ApplyRuntimeProfile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/endpointinventory/config.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d767329002924f975ab4b044453987551f9fe0749b0f02c8922d1a5f81179353"}},{"ruleId":"D2","level":"warning","message":{"text":"NATSPublisher.ensureStream (cognitive 17): NATSPublisher.ensureStream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 1 (nesting depth added 4). 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":"go/pkg/k8sinventory/publisher.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfed6af127b73f3d731fd3b8b98d35180d171643f8f292bc81daa2001d8f37f"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.knownDeviceNeighborByMAC (cognitive 17): DiscoveryEngine.knownDeviceNeighborByMAC has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"go/pkg/mapper/snmp_l2_bridge.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2168e2723f7dda24012e31a74d560314c3b1b71f8e3ce7a2120b38043d92372"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.handleInterfaceDiscoverySNMP (cognitive 17): DiscoveryEngine.handleInterfaceDiscoverySNMP has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_polling_handlers.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e484b048bca9f62fae620973c65ecff57f92e72f1574823cbc7e8b686114ded"}},{"ruleId":"D2","level":"warning","message":{"text":"models.FilterIPsWithBlacklist (cognitive 17): models.FilterIPsWithBlacklist has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/models/sync.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6368cff259bce23d187f4ddb2a87294c29366ea3f7b2b906cffc0ff0cddf62e"}},{"ruleId":"D2","level":"warning","message":{"text":"Tracer.resolveHopHostnames (cognitive 17): Tracer.resolveHopHostnames has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 6). Of this number, 10 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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":"go/pkg/mtr/tracer.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b9e1d5d4e170d4f6dce4ff4844950a881c7756b06bdf06f1d2615ff0ba0845"}},{"ruleId":"D2","level":"warning","message":{"text":"SYNScanner.startReaper (cognitive 17): SYNScanner.startReaper has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 138). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_mappings.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5e8c76923a93b314f7782f823d6e5d612e6fc75e1d4789ae57ecfaf26d4fba"}},{"ruleId":"D2","level":"warning","message":{"text":"SYNScanner.processTCPFinalResult (cognitive 17): SYNScanner.processTCPFinalResult has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, loops 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/scan/syn_scanner_reply_results.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41b3fedf9c16e740c9276431dda0895deb992fae5d117470ecce3368712ba63"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.recoverRoomCaptureSession (cognitive 17): Coordinator.recoverRoomCaptureSession has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (nesting depth added 3). 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":"swift/FieldSurvey/FieldSurvey/Views/CompositeSurveyView.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"854ac3a9045c4897a5c5e2f88f51fcb40472e9dc55c9d0364ebf5a5fa4f00bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveyView.uploadRoomArtifact (cognitive 17): SurveyView.uploadRoomArtifact has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 3, ternaries 1 (nesting depth added 4). 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":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdc77495ad06ec3333b31de0394d06ceedaad31dc57a827917fdb68d0a45421"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowCImporter.importArray (cognitive 17): ArrowCImporter.importArray has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowCImporter.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"811e542dd5cfa582e6a2faeae72e1149d4c59be2229e5abdfec4e05919fc7811"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrowReader.readFile (cognitive 17): ArrowReader.readFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowReader.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"42aeb6f1f9c3b690c7212acc2af1c6f0df5b1cf0fc4b9f5ab47061463de7bbe6"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesState::step (cognitive 17): SeriesState::step has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5 (nesting depth added 4). 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":"rust/anomaly-core/src/scorecard.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b029b8ed09c67d89f159e464da3a00684c6c608d5b201b4fcbc2e2cb17d174"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_core::rpca::rpca (cognitive 17): serviceradar_anomaly_core::rpca::rpca has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-core/src/rpca.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aace324272da6504551640742bd6dba20374e6902bea32d3a2b54b6f2993317"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::radio::parse_iw_list_modes (cognitive 17): serviceradar_fieldsurvey_sidekick::radio::parse_iw_list_modes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/fieldsurvey-sidekick/src/radio.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8c49580abc978619f12bdbec0253802d5f53d23658655ca0f19fd6b6978179"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::api::streams::stream_spectrum_summaries (cognitive 17): serviceradar_fieldsurvey_sidekick::api::streams::stream_spectrum_summaries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/fieldsurvey-sidekick/src/api/streams.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c74107b6cb4515f604ff01f59fe28a9e29c2db13a297379814d7c34ed58859"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher::handle_publish_pass (cognitive 17): Publisher::handle_publish_pass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 1 (nesting depth added 7). 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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2517791ba686da63f408c370eef569221dff12d5ff1251e80404ea2f2acc5d4"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe_ebpf::emit_ipv4_tcp_syn_signature_from_tc (cognitive 17): serviceradar_netprobe_ebpf::emit_ipv4_tcp_syn_signature_from_tc has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16 (17 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b5149d31a519a55aea91e9091ba4e7c4cdeb91feba2f3784dde26d0bc4fa76"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::ja4::parse_tls_client_hello (cognitive 17): serviceradar_netprobe::ja4::parse_tls_client_hello has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/netprobe/src/ja4.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3adeaf7d4189521543d7d163e312531fc0afca5eea7689f931ea0c77c40597a"}},{"ruleId":"D2","level":"warning","message":{"text":"network_config_downparser::parse (cognitive 17): network_config_downparser::parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, loops 1 (nesting depth added 7). 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":"rust/network-config-downparser/src/lib.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"774022974a8fd7ebbf5f9d99d82acf0b956c040281d9a843040aac92f49c4cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::validate (cognitive 17): Config::validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/rperf-client/src/config.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9465cc087291eac19a54c7f608eb97922beb71f9ccf1d70bffb12358c5300e"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_rperf_checker::rperf::parse_rperf_output (cognitive 17): serviceradar_rperf_checker::rperf::parse_rperf_output has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 2 (nesting depth added 4). 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":"rust/rperf-client/src/rperf.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c733cc852b191b692b8277455a9602c72b98092fac877eea5585ed41b9fff0d2"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::downsample::fields::series_expr (cognitive 17): srql::query::downsample::fields::series_expr has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (13 pts), if/else 2 (4 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/downsample/fields.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae93e9423a6b5f6dfbaaed09d9fb293b91ac9f0c7848ae567e4563c8d7455b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::starrocks::filter_sql (cognitive 17): srql::query::starrocks::filter_sql has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). 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":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88effe937f9e2501854ea9df4de8250277e6bd2c2e7fb510e70a46c0641bf72"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::server::initialize_api_keys (cognitive 17): srql::server::initialize_api_keys has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 3 (7 pts) (nesting depth added 7). 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":"rust/srql/src/server.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8f3812141e2e80c435053be4e10ce2f02ab63145f70edba694f6f0f80a4806"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::logs::topn::build (cognitive 17): srql::query::logs::topn::build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 4). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/logs/topn.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65f45206f56ca36b65d1882b5d9c7ecc4c640a15a071c66a304db99facb1892"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_scene_view.completeSceneBounds (cognitive 17): rendering_scene_view.completeSceneBounds has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, loops 4 (5 pts) (nesting depth added 4). 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":"elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1cd09cbc3f17408ca19e4a61c0d0d7c2f18a7f7f820e897baed7c6b7583449"}},{"ruleId":"D2","level":"warning","message":{"text":"PacketFlowLayer.getBounds (cognitive 17): PacketFlowLayer.getBounds has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (6 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/deckgl/PacketFlowLayer.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"88588719e5b192434486deea9beee622263dc15d3c283727e93ffe609c4062d5"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_graph_view_methods.managedClusterGroup (cognitive 17): rendering_graph_view_methods.managedClusterGroup has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts), loops 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"33520a7ee940c904a36bc5d1a82a5ae8d9ac9211b570043d53637463faa4ce0f"}},{"ruleId":"D2","level":"warning","message":{"text":"security_findings.bindActions (cognitive 17): security_findings.bindActions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4, boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 239, 246, 254, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/dashboards/security_findings.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadaa3182efb875817a7015b76980d0d93985a21ebdbcb3ab7d1f249a360f1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"NetflowGridChart.gridPanelAtPointer (cognitive 17): NetflowGridChart.gridPanelAtPointer has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 15, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"978f3632014310d7e9a498066e7904ab3ca216b45e22b1294587c2f3dd192bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.errorHint (cognitive 17): publish.errorHint has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 3 (6 pts), match/switch 1 (nesting depth added 3). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/dashboard/publish.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ba11b8a6bbcfb6f935dcb9b509b4be97d450fe79933eef79455ed1a842d6da"}},{"ruleId":"D2","level":"warning","message":{"text":"ensure_k8s_alerts.ensureK8sAlertsCommand (cognitive 17): ensure_k8s_alerts.ensureK8sAlertsCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"js/cli/src/notifications/ensure_k8s_alerts.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"508269a51f051847e99ef20b10ff0d2067e92e17cec7de8925963d26516b26d7"}},{"ruleId":"D2","level":"warning","message":{"text":"manifest.manifestErrors (cognitive 17): manifest.manifestErrors has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/plugin/manifest.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fa4b72d70f2746ebe76ab1079b9b22a967fa90db248e8e69d6fa21aba42597"}},{"ruleId":"D2","level":"warning","message":{"text":"status.statusCommand (cognitive 17): status.statusCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, ternaries 3 (6 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 3). 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":"js/cli/src/plugin/status.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"98db5613313f0b4874d4e4e74fa198a68b1a43b13d08659fc8f60c5a93dee010"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.validateSampleSettings (cognitive 17): validation.validateSampleSettings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (5 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 5). 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":"js/cli/src/validation.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a446ad6d7451f03d563a074b389b3feff57aae56b42684dc9a4105d7bc1ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"validateSettings (cognitive 17): validateSettings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 4). 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":"js/cli/harness/harness.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"064ecf4303611322f6b20a121db2aaf3ea540c51252c4f92bcb2488b44d90596"}},{"ruleId":"D2","level":"warning","message":{"text":"updateBrowserModuleHost (cognitive 17): updateBrowserModuleHost has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 3, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e5f1aec8a2c2c2c0d3b9958967610f88f21416034385de0cc0425e819bd85"}},{"ruleId":"D2","level":"warning","message":{"text":"deckLayer (cognitive 17): deckLayer has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (6 pts), boolean chains 5, if/else 5, other 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e862cab4e13a880a6610abc732b3d59d9fb63d4eef57deb7fea3463c48cbe57"}},{"ruleId":"D2","level":"warning","message":{"text":"clusteredLayerData (cognitive 17): clusteredLayerData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, loops 3 (4 pts), ternaries 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. 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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfffa420355b45051519e06d09da444d5086cc47e80e5a6a6d8512f18c87efc0"}},{"ruleId":"D2","level":"warning","message":{"text":"connectWebsocket (cognitive 17): connectWebsocket has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 0 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 278, 241, 261, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/CameraRelayStatusStream.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"009d045bbfb13a7980f663d3358781be36627357e1d42cea93560c54c99ecf77"}},{"ruleId":"D2","level":"warning","message":{"text":"managedViewStateForCamera (cognitive 17): managedViewStateForCamera has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 4, boolean chains 2, other 1 (nesting depth added 3). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d36c4394ac9c648cbe98760c41d84e0afe63f3c9795b382de2d4cc901d6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"resizeCanvas (cognitive 17): resizeCanvas has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8d51af90e00d0f992792069ab4e015f140d8a62f66bfcfbcf9ac9cee4eb493"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxLaunchPreflightAttestation.verify_binding (cognitive 16): AwxLaunchPreflightAttestation.verify_binding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b745f765b8b53311a7e2a1842568180ae20c6bd3516a882f80c23d37df6e8cb"}},{"ruleId":"D2","level":"warning","message":{"text":"AwxMembershipReconciler.upsert_membership (cognitive 16): AwxMembershipReconciler.upsert_membership has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 16. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf6d7ee7c346e09ed534615f8b5704d43600db5b1df83c193dfb8e30e78527f"}},{"ruleId":"D2","level":"warning","message":{"text":"HardenedLaunchPlan.validate_preflight_attestation (cognitive 16): HardenedLaunchPlan.validate_preflight_attestation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"341c6bd2c32fbec3268a46296db9435ca9c715921560e3d7aa294b12d1750fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"SecureExecutionCurrentAuthority.authorize_attempt (cognitive 16): SecureExecutionCurrentAuthority.authorize_attempt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8c59a69ff8ff3e85dddf4a0c6d684c7a1b497ae64bdef292a44a082a327c42"}},{"ruleId":"D2","level":"warning","message":{"text":"CurrentAuthority.current_authority (cognitive 16): CurrentAuthority.current_authority has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0447aef52be24024aa267529c57ddd9e6ce271a1277cd4f97c5545e709bb47e1"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchEnvelopes.prepare_and_seal (cognitive 16): LaunchEnvelopes.prepare_and_seal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (3 pts) (nesting depth added 7). 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":"elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a07ae390fd498e13818f15695967140aa3723ee2aa8954a8e6813c801cbd19"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxmoxConsoleSessions.request_open (cognitive 16): ProxmoxConsoleSessions.request_open has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4db5430379df04657a783ac15024be982069e793fa3f323a30bbe0eee872197"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowEnrichment.tags_from_active_ti_match (cognitive 16): FlowEnrichment.tags_from_active_ti_match has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/flow_enrichment.ex"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7a480511954cd2a36c33e24d71ae3283d022fa45aaf250b6c8dc94a607203d"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointVulnerabilityAdjudicator.exact_product? (cognitive 16): EndpointVulnerabilityAdjudicator.exact_product? has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 3, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ff638d7791749857ba6858a77238ccb1547f4e494ba8f6b23e005a47d8406"}},{"ruleId":"D2","level":"warning","message":{"text":"HypervisorEnrichmentIngestor.validate_trusted_proxmox_source_binding (cognitive 16): HypervisorEnrichmentIngestor.validate_trusted_proxmox_source_binding has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f8ab65c1fe6ec9cbaf5f6f8c3097d09cefe534275a54800952708f0c2c6bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"ZenRuleSync.sync_rule_impl (cognitive 16): ZenRuleSync.sync_rule_impl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 pts) (nesting depth added 7). 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":"elixir/serviceradar_core/lib/serviceradar/observability/zen_rule_sync.ex"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbda79f89773251b21eb2ad179e374352bdb2e0a8640f34b659493d6c9f71b57"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFrameEnvelope.frame_fields (cognitive 16): MediaFrameEnvelope.frame_fields has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/media_frame_envelope.ex"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7c82bd5cf4d9adc9471d497eb66b1fc0a0bbbddc9b72389be18ed7d910a3ed"}},{"ruleId":"D2","level":"warning","message":{"text":"ReleaseSourceImporter.import (cognitive 16): ReleaseSourceImporter.import has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 5, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c2bbb953d2d42c278db4a3537cfec51c636faffa99139f1f27f41dcf8e4a79"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectorController.index (cognitive 16): CollectorController.index has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, match/switch 4 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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. This shape REPEATS in the file: one other method here (CollectorController.credentials) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f912dc87f129dc268ab6d86137ec40354717002389e395ede4906bbb4f2541"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectorController.credentials (cognitive 16): CollectorController.credentials has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, match/switch 4 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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. This shape REPEATS in the file: one other method here (CollectorController.index) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a067ae8746d24e4e91a175a1eb1660aa79326020ed6175aad4bfc3de257370"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccessDesktopTargetsLive.target_params (cognitive 16): RemoteAccessDesktopTargetsLive.target_params has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_desktop_targets_live.ex"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4def6ed057b440f4709166919517f5c7c53fba271c411c2755e0ab7b92a4819"}},{"ruleId":"D2","level":"warning","message":{"text":"Show.assign_header (cognitive 16): Show.assign_header has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a49dd356f3b0c41d1f400b43e3c35ef97f5f08db155a8e740c5c7f00e5c36f"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-external-wasm-plugin-bundle.validate_metadata (cognitive 16): validate-external-wasm-plugin-bundle.validate_metadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, loops 2 (nesting depth added 2). 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":"scripts/validate-external-wasm-plugin-bundle.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2088302082fb535b17e4b920ce54c8cf488a7d18c2c0bec79dc9834c77884521"}},{"ruleId":"D2","level":"warning","message":{"text":"plot.main (cognitive 16): plot.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 4 (6 pts), ternaries 1 (3 pts) (nesting depth added 7). 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":"tools/anomaly-proof/plot.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"89435791546f59d9a1cfda971d0f6ce62868a133c14e8cabe0eabcced8d976ef"}},{"ruleId":"D2","level":"warning","message":{"text":"device_fact_writer.main (cognitive 16): device_fact_writer.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), error handling 3 (5 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 4). 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":"tools/device_fact_writer.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67b50e4358d2d55671688c0b20efbeba94dae138668f123a81ce0460c4317ed"}},{"ruleId":"D2","level":"warning","message":{"text":"otxJSONScanner.nextObjectBytes (cognitive 16): otxJSONScanner.nextObjectBytes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/alienvault-otx/main.go"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97a6a2e53743285699a23ed3c7b92eff28da5c75c077699e1aa70be896e95d1"}},{"ruleId":"D2","level":"warning","message":{"text":"main.projectAWXJobEvent (cognitive 16): main.projectAWXJobEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (nesting depth added 3). 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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfde8e79336548f57f65f430f86d6fedd8c1fa6d51d67f4761335bd5fa7521e"}},{"ruleId":"D2","level":"warning","message":{"text":"axisref.ParseStreamProfiles (cognitive 16): axisref.ParseStreamProfiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 5). 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":"go/cmd/wasm-plugins/axis/internal/axisref/vapix_parsers.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf11ef997aaad91aa6736a65545eaa89ce84ec3ae96ac0e8149cca860be746e2"}},{"ruleId":"D2","level":"warning","message":{"text":"main.enrichNodes (cognitive 16): main.enrichNodes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (nesting depth added 5). 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":"go/cmd/wasm-plugins/proxmox/inventory_fetch.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc57c8df1964edbdb0657ce6b250b77565187aa5c938d2dd6d9b048f94f1106"}},{"ruleId":"D2","level":"warning","message":{"text":"main.countResourceBottlenecks (cognitive 16): main.countResourceBottlenecks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/wasm-plugins/proxmox/summaries.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a29d1b89b325e2d4c1831ab71317072bddf11a8d64e88a27a76ee95b395024"}},{"ruleId":"D2","level":"warning","message":{"text":"main.ensureRelease (cognitive 16): main.ensureRelease has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/release/publish_packages.go"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b03fd67aaed9f905b8fe92886a335dc5cd41944d1c385df6179b1bbbf2e5cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.canonicalizeValue (cognitive 16): main.canonicalizeValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build/wasm_plugins/upload_signature_tool.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"00920e7d469132dd5760b7071a7e6edcdf1f43fe8745c83ea6d315f1bca6ef51"}},{"ruleId":"D2","level":"warning","message":{"text":"main.shuffleIPs (cognitive 16): main.shuffleIPs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). 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":"go/cmd/faker/main.go"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c33b9b9800a0f7af40e490cfe84b806561d50cfe0f58387e14e7992d630123"}},{"ruleId":"D2","level":"warning","message":{"text":"projectionBuilder.addSet (cognitive 16): projectionBuilder.addSet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (nesting depth added 5). 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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88605c2fa78f5db4a6af5ded1136171adfe40e2ad61c90a6519712150792911"}},{"ruleId":"D2","level":"warning","message":{"text":"structuralPreflight.scanVEXDocument (cognitive 16): structuralPreflight.scanVEXDocument has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). 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":"go/cmd/tools/ubuntu-feed-merge/structure.go"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbca5992914ac5debf4d2a4fb3315007bb005ece2a4adabf63fe824980f4962"}},{"ruleId":"D2","level":"warning","message":{"text":"grpcServer.StreamMetricFeed (cognitive 16): grpcServer.StreamMetricFeed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"go/pkg/addon/grpc.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d9fa91d7fa6159ad5d8213bb082af740d918be71d76669272d075b72f3b911"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.newRTSPCameraRelayStream (cognitive 16): agent.newRTSPCameraRelayStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 1). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/agent/camera_relay_rtsp.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a77e3fa77144f5ad12442f0b7bcccc431dded0780a35962903f3f12717792c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.pluginHTTPClientWithTrustedCAs (cognitive 16): agent.pluginHTTPClientWithTrustedCAs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (nesting depth added 4). 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":"go/pkg/agent/plugin_http_trust.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0b4654e88d1bd031be793f7e54882b45e4392c6d766626e5a622442159ae31"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.pluginActionGrantForHTTPRequestIntent (cognitive 16): agent.pluginActionGrantForHTTPRequestIntent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_actions.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"428d499a28dd879d926ade4ef50c50148452d25882446c209db4026ec22f3aef"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.canonicalAWXControllerOrigin (cognitive 16): agent.canonicalAWXControllerOrigin has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_awx_inventory_credentials.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"453f4912044061366c78070cf29bf12b57ca4743268e64d650fff92c854fa29a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validatePluginHostAuthorityGrant (cognitive 16): agent.validatePluginHostAuthorityGrant has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2201416e77cf65c94e2586d1d03532e53731821506f4af5d26511cfdacb554a4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.newConsoleSpecAuthorityState (cognitive 16): agent.newConsoleSpecAuthorityState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (nesting depth added 2). 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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed47ab326216a343c64a7c1890e2b1e8de84b237907907794615fddb53ea0ac"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.credentialBrokerTokenForm (cognitive 16): agent.credentialBrokerTokenForm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3, boolean chains 2 (nesting depth added 5). 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":"go/pkg/agent/plugin_runtime_oauth.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"032e85fb7d6b66015351be08e33ea95b01db4a12c8aac77b50b4e6314e5cdd9d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.localSourceIPs (cognitive 16): agent.localSourceIPs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 7). 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":"go/pkg/agent/push_loop.go"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"8253388fa3cfc0350483efddc7023fa7f9cadd829b985a212c906543c9017937"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSweepService.GetSweepResults (cognitive 16): MultiSweepService.GetSweepResults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/multi_sweep_service.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7f407db824a5ec199460acdcc5bb629a849930d3ea248cfc957a790910a1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.applySweepConfig (cognitive 16): PushLoop.applySweepConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (nesting depth added 3). 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":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfb1e5a9215d330fd8c3c70b105dde85a83908e1ee8f5b5d34c8e32df411f14"}},{"ruleId":"D2","level":"warning","message":{"text":"PushLoop.pushSysmonStatus (cognitive 16): PushLoop.pushSysmonStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_status.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbea57d01e220a285abe756011b42280bc04567552f14bb1efc61f58a3ad7a8"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteaccess.validateSSHOpenPayloadScope (cognitive 16): remoteaccess.validateSSHOpenPayloadScope has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7 (nesting depth added 2). 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":"go/pkg/agent/remoteaccess/ssh_open.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea467a921c07aa6b218f2a6507db4324c6305bfd66fdc749fb0b04b4a0348bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"TCPAdapter.Read (cognitive 16): TCPAdapter.Read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). 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":"go/pkg/agent/remoteaccess/tcp_adapter.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe783ac660a249b5cce4cbe0926da08e68bb5135bab2bbb43ceadc7b9b23dd5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.runAddonOtlpRelay (cognitive 16): Server.runAddonOtlpRelay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 5). 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":"go/pkg/agent/addon_otlp_relay.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb301fd5605f939d272e7598a169ecbbaa456f52b6182a07dbeca8823579cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.runDeviceCodeFlowWithClock (cognitive 16): cli.runDeviceCodeFlowWithClock has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 3). 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":"go/pkg/cli/auth.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5323637952f74d21b397b0506b0904ab0267f69260354b10cd9181a85feeb1c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.watchStream (cognitive 16): Client.watchStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (2 pts), loops 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":"go/pkg/config/kvgrpc/client.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e66ec272bdd00f541fc533a43b09c893eebb1fdfe4526594fccbbd2925a0093"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.Watch (cognitive 16): Client.Watch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 89). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/config/kvnats/client.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fe05d052da8eee2155b7de8b84e486d282b66c0c44c5fe17fc3e43442bb077"}},{"ruleId":"D2","level":"warning","message":{"text":"NATSStore.ensureDomainLocked (cognitive 16): NATSStore.ensureDomainLocked has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). 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":"go/pkg/datasvc/nats.go"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"281a2d189fd92f7d3b42fe8d4149d4a3af7ccc79fef859d4c319fccd5883e315"}},{"ruleId":"D2","level":"warning","message":{"text":"edgeonboarding.extractBundle (cognitive 16): edgeonboarding.extractBundle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 5). 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":"go/pkg/edgeonboarding/agent_enroll.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2a85bc821700996dcc9ff9c88f52e0aff134c7ce0d98efa9dcbb8b6061912"}},{"ruleId":"D2","level":"warning","message":{"text":"edgeonboarding.chownAgentAssets (cognitive 16): edgeonboarding.chownAgentAssets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/edgeonboarding/agent_enroll.go"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b13e7b5a0a4160b5f06f805f1d572a1dd7ed21a37addb518817e0a69f8822b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Bootstrapper.generateGatewayConfig (cognitive 16): Bootstrapper.generateGatewayConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/edgeonboarding/config.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"99da2aa3c0bdeded67959413f1a578cc77f67a9b27bba8909dcae4eccf0cdf95"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.Run (cognitive 16): Runner.Run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 3). 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":"go/pkg/endpointinventory/collect.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4240e0a933d98c66759c782c7cc000cce6f955d3b46a3cbc5dd68c0e4929e321"}},{"ruleId":"D2","level":"warning","message":{"text":"grpc.NewSpiffeProvider (cognitive 16): grpc.NewSpiffeProvider has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/grpc/security.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"070951869841b184391b2b902aeffd4b3ef090ee3ae14113c242dbdb82bb191a"}},{"ruleId":"D2","level":"warning","message":{"text":"k8sinventory.SnapshotFromLister (cognitive 16): k8sinventory.SnapshotFromLister has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). 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":"go/pkg/k8sinventory/snapshot.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"29811585fb68d045d0a5b12b0e13d90031fc2008f9d547ea0d5ceea67e6daddf"}},{"ruleId":"D2","level":"warning","message":{"text":"mapper.mergeInterface (cognitive 16): mapper.mergeInterface has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/mapper/interface_dedup.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd43a509bb0d905d5a597d1ef05ad0c4cc10dd19720283b8d490749f5bf1192"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.processDevicesForSNMPTargets (cognitive 16): DiscoveryEngine.processDevicesForSNMPTargets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/discovery_recursive.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f904ccd8c48ab7a780053186ee040d21baf1a708169e1af97bc615ea637cb2"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.getInt32FromPDU (cognitive 16): DiscoveryEngine.getInt32FromPDU has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 5). 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":"go/pkg/mapper/snmp_interface_pdu.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c782fbfdad1b469843aeed5a37ca097c33057dd4a65410ca1514b1caf163f06"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveryEngine.processWiredClientAssociations (cognitive 16): DiscoveryEngine.processWiredClientAssociations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). 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":"go/pkg/mapper/ubnt_topology.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e16c308c78aaff6ea3ede18d92dfcdd3bbd964aaea04376fcc1fc2ea2630127"}},{"ruleId":"D2","level":"warning","message":{"text":"EventPublisher.ensureStream (cognitive 16): EventPublisher.ensureStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 7). 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":"go/pkg/natsutil/events.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce23570c41f014034e718bfc98831fb4a48a398bfecf12cc070189770bd74c7"}},{"ruleId":"D2","level":"warning","message":{"text":"scalibrinventory.sourceDiagnostics (cognitive 16): scalibrinventory.sourceDiagnostics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 1, loops 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":"go/pkg/scalibrinventory/adapter.go"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"537d642070f7418cd146a1406e802f69fb5691fa853d34a13bbc8a8de23f18bd"}},{"ruleId":"D2","level":"warning","message":{"text":"scalibrinventory.scalibrExtractors (cognitive 16): scalibrinventory.scalibrExtractors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (5 pts), match/switch 1 (2 pts) (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":"go/pkg/scalibrinventory/adapter.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79e0b545378dd17a985e56c452aff4ec1cac5a9c537fbd05e012c26970be53f"}},{"ruleId":"D2","level":"warning","message":{"text":"configurationResource.Update (cognitive 16): configurationResource.Update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 pts) (nesting depth added 7). 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":"go/pkg/terraformprovider/resource.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7db4eab5501551ae14c1ce4dcebf68ea5199627d2281789e502a2f41b1887fc"}},{"ruleId":"D2","level":"warning","message":{"text":"trivysidecar.LoadConfigFromEnv (cognitive 16): trivysidecar.LoadConfigFromEnv has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"go/pkg/trivysidecar/config.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"99aa2f583a5d2957c8b3d6bbe263eaaaa48a71173be723db41a21674eec9c47a"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_addon::frame::compact_latest_by_series (cognitive 16): serviceradar_anomaly_addon::frame::compact_latest_by_series has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 7). 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":"rust/anomaly-addon/src/frame.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"62470ee957c057275a2bc8357022fd1cd1f69a14b5bddf803c8f74c140a075ca"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_core::seasonal::synthetic_baseline (cognitive 16): serviceradar_anomaly_core::seasonal::synthetic_baseline has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-core/src/seasonal.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"464da08d8ba614c0531315b730452d0d23da935091668bbd9033da82247fc4c2"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_anomaly_disposition::disposition::peak_profile::evaluate_peak_profile (cognitive 16): serviceradar_anomaly_disposition::disposition::peak_profile::evaluate_peak_profile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"rust/anomaly-disposition/src/disposition/peak_profile/mod.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8bbf7197eaf8849222550da6f365d79ae927d4e71eda0b5da6515206e0e2ec"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_fieldsurvey_sidekick::live_capture::run_capture::process_block (cognitive 16): serviceradar_fieldsurvey_sidekick::live_capture::run_capture::process_block has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). 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 shape REPEATS in the file: one other method here (serviceradar_fieldsurvey_sidekick::live_capture::run_capture) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/fieldsurvey-sidekick/src/live_capture.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"466eecfccc8d2b8825aaa6e19f434a4b14364e80510c01a09ab67b6a52db2454"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_flow_collector::publisher::pattern_covers_pattern (cognitive 16): serviceradar_flow_collector::publisher::pattern_covers_pattern has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 2 (5 pts), boolean chains 1, loops 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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9d0ad8bd41a2d1fa7f2b8e63ad7a510390410aa24b5159aae832483abea3bd"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::fingerprint::dns_version_bind_banner (cognitive 16): serviceradar_netprobe::fingerprint::dns_version_bind_banner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/fingerprint.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42b707d0023275aa0bbf7c7e6eff5dbdf4c91390cf87c0a6ddc191bace0f51"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_netprobe::dpi::tls_client_hello_has_sni (cognitive 16): serviceradar_netprobe::dpi::tls_client_hello_has_sni has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 2). 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":"rust/netprobe/src/dpi.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f6be071aae39fb947a883f3f99434f13b87a46d7f9bd3d53a4c5772d9dbe7b"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelCollectorAddon::relay_otlp (cognitive 16): OtelCollectorAddon::relay_otlp has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (8 pts), if/else 2 (6 pts), loops 2 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel-addon/src/addon.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c28f8c0d698514bca1fa0cae0a2f148eeca09b1cf081042147d1b2dbaf325b9"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_powerdns_addon::handle_connection (cognitive 16): serviceradar_powerdns_addon::handle_connection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/powerdns/src/lib.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"73af3e410d7c66d31c2cd76149ea34e0ac32a13f3a9d6643c49def0df2a6b799"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::sql::dollar_placeholder_spans (cognitive 16): srql::query::sql::dollar_placeholder_spans has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/sql.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"41af9f7023882b8c98dee8ddfbe05487f3fe32592e34a2a3940bd4f6c397d19b"}},{"ruleId":"D2","level":"warning","message":{"text":"srql::query::wifi_map::field_sql (cognitive 16): srql::query::wifi_map::field_sql has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 9 (16 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/wifi_map.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb68b27c0612c9137237170a5db690f53e5a6edcb2caf7ae8738947cf42e8a8"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceradar_trapd::spiffe::load_server_credentials (cognitive 16): serviceradar_trapd::spiffe::load_server_credentials has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/trapd/src/spiffe.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"544b3aee70eee9e3aa1638a6df118fc1ed3504d9e4608e390b2405be74c765ba"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer_state.createDirtyTileMask (cognitive 16): renderer_state.createDirtyTileMask has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 7). 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":"elixir/web-ng/assets/js/lib/remote_desktop/renderer_state.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"280a0e843271d0f9f72a89a5e5d832934101e679a116ba458c568d3d3b65f2c4"}},{"ruleId":"D2","level":"warning","message":{"text":"tokenizer.parseSegment (cognitive 16): tokenizer.parseSegment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (5 pts) (nesting depth added 7). 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":"elixir/web-ng/assets/js/lib/srql/tokenizer.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63635534b992ebb9b0248f99ad9a1ad86d7c1b9f1daa61e9f931a409ec8c90d"}},{"ruleId":"D2","level":"warning","message":{"text":"god_view_acceptance_geometry_observer.renderedPhysicalRouteRecords (cognitive 16): god_view_acceptance_geometry_observer.renderedPhysicalRouteRecords has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), boolean chains 4, if/else 1 (3 pts), loops 2 (3 pts) (nesting depth added 7). 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":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ce6102dd212014a459476635e88f7dff54ea0f3d8b8d04ce96f67c2622281f"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_elk_scene.decodedManifolds (cognitive 16): layout_elk_scene.decodedManifolds has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, ternaries 6. Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 538, 580). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"875ef7e70d4d8c7290b19d74ae46b1922b2653e115e85184f5e80d6cf3f8ed12"}},{"ruleId":"D2","level":"warning","message":{"text":"topology_overview_projection.summaryRelations (cognitive 16): topology_overview_projection.summaryRelations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (5 pts), ternaries 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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":"elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"40489f9f1f07c2e1a94d3cfa08c247989109dad2c51530e22d4ef5ade9f1ef4f"}},{"ruleId":"D2","level":"warning","message":{"text":"layout_topology_state_methods.mergeGraphNodes (cognitive 16): layout_topology_state_methods.mergeGraphNodes has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (7 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e70a08f6e1142f5ebe5b52f1c60036ce1e30c189cf1894fc50dcc45003e547"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_graph_view_methods.routeSegmentsOutsideDeclaredJunctionApproaches (cognitive 16): rendering_graph_view_methods.routeSegmentsOutsideDeclaredJunctionApproaches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"64588c1da97e25f84ddef1fee9f7cdf1e546e899ad43da43005e5d042cc0d8ba"}},{"ruleId":"D2","level":"warning","message":{"text":"rendering_graph_view_methods.selectManagedDensityForScale (cognitive 16): rendering_graph_view_methods.selectManagedDensityForScale has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 pts), loops 1, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2fe8eda00abc4f5f36420c58124db7e283449d76ce7f419824e85dc7da129e"}},{"ruleId":"D2","level":"warning","message":{"text":"attachTimeTooltip (cognitive 16): attachTimeTooltip has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6, other 3. Of this number, 12 points are the body\u0027s own statements and 4 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/netflow_charts/util.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7277e0abe3682527a5c83f61ea3940ae0b9d2774b1ecb226acbcd0dffda8a084"}},{"ruleId":"D2","level":"warning","message":{"text":"mounted::initDeck (cognitive 16): mounted::initDeck has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 4, if/else 3 (4 pts), error handling 1 (nesting depth added 3). 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":"elixir/web-ng/assets/js/hooks/SpatialSurveyMap.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"033abd40c13c350c4ae69a7dfdd527c05aa331bc2801b12f74060c4e58ed8c27"}},{"ruleId":"D2","level":"warning","message":{"text":"parseProps (cognitive 16): parseProps has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), error handling 1, loops 1 (nesting depth added 1). 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":"elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5be90f8b8789ba6e37735652d107db37d1a495bf2815e91a7284c052ee685c2"}},{"ruleId":"D2","level":"warning","message":{"text":"navigationPath (cognitive 16): navigationPath has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 4, if/else 4 (nesting depth added 4). 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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"df97e83391e54fbb92cf0f8dc4e0d8243f9b3f2bdc333b8b6c46106258ae1aa6"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 16): _draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, error handling 1. Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 19 function items inside it that branch (strokeForKey, dashForKey, opacityForKey, \u2026). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowLineSeriesChart.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"da252737d335fe7d99726306e8313e6b38e7a02fe2066df5f0e872c95bdb1196"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: log_live/index.ex: FileTooLong \u2014 8628 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 416 functions. The bar is 500 significant lines; this is 8128 over it, 17.26\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba8a5a0587e3f8c2c019b65b69e7cfca2bcde133b067225b4049d90851ac99f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: topology/god_view_stream.ex: FileTooLong \u2014 4975 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 397 functions. The bar is 500 significant lines; this is 4475 over it, 9.95\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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c00ea56182f373165254677b4de7511c56c9e683d43950872d957195319a08e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugin_package_live/index.ex: FileTooLong \u2014 4831 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 259 functions. The bar is 500 significant lines; this is 4331 over it, 9.66\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a61de0c68ef7e89f560e3be5d5d71e7d48107f441520ef16506b895c29c819"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteAccessSSHConsole.Component: FunctionTooLong \u2014 Component runs 885 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 785 over it, 8.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82910454dd50b0c342e5ba8daaf5023284ce546c080c22e70cf63d93acf6b7c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PushLoop: TooManyMethods \u2014 216 methods, declared across 30 files: agent/push_loop_addons.go (30), agent/control_stream.go (29), agent/push_loop_state.go (23), agent/app_tcp_route.go (20), \u002B26 more file(s). The bar is 30 methods; this is 186 over it, 7.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f724329782e408be8fdfa658cdfb6d297f79e6ab95a910d17ce36e23bd50c97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network_discovery/mapper_results_ingestor.ex: FileTooLong \u2014 3340 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 277 functions. The bar is 500 significant lines; this is 2840 over it, 6.68\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":"elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04895694d29b645d579c3e37fa22a854b8c7b78535f3df9a12abddb92f8066e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiscoveryEngine: TooManyMethods \u2014 189 methods, declared across 42 files: mapper/discovery_dedup.go (12), mapper/snmp_l2_bridge.go (12), mapper/discovery_devices.go (11), mapper/proxmox_poller.go (9), \u002B38 more file(s). The bar is 30 methods; this is 159 over it, 6.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/types.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c7683bb54620d0555367eac38bc656e9ced9f71ac1ca18dc32641de7b06c67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: integrations_live/index.ex: FileTooLong \u2014 3136 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 100 functions. The bar is 500 significant lines; this is 2636 over it, 6.27\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9983c4287612238e90d96e7968eea931c93beb2d3abd5c3afe23ebdd8627351"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event_live/show.ex: FileTooLong \u2014 2714 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 144 functions. The bar is 500 significant lines; this is 2214 over it, 5.43\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c1fd1a420a794e0d130606570ae30369438e6d9479a269db171f953be467c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/network_credential_rules_live.ex: FileTooLong \u2014 2545 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 143 functions. The bar is 500 significant lines; this is 2045 over it, 5.09\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0423e1f633825af734e450d0760f1c9244c5d8aedeb5acb32f11a7ee1456e6c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/agent_config_generator.ex: FileTooLong \u2014 2544 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 200 functions. The bar is 500 significant lines; this is 2044 over it, 5.09\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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21101ab788349ee78f99e4345a2a48bbdd7888d638aa994d1a88b39827b9b984"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: awx/main.go: FileTooLong \u2014 2541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2041 over it, 5.08\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":"go/cmd/wasm-plugins/awx/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b972f0d71dd7cc31e19457c39b910925101112b43ca19c722e614cfabe0e83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: addon_package_live/index.ex: FileTooLong \u2014 2531 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 143 functions. The bar is 500 significant lines; this is 2031 over it, 5.06\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"999131f0538bb089f846ee92541479d32e51959d9ae61a9154fe596fc757e10d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/callback_command_result_coordinator.ex: FileTooLong \u2014 2319 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 113 functions. The bar is 500 significant lines; this is 1819 over it, 4.64\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10afa5d7786e7578b8db95b457c91375a4688042b88851021732d22f44184fca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notifications/dispatcher.ex: FileTooLong \u2014 2304 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 190 functions. The bar is 500 significant lines; this is 1804 over it, 4.61\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":"elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4272c60f985d9029a5226174b32c8c5cf374e13c912020c77e1a4043dd668b86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processors/analytics_signals.ex: FileTooLong \u2014 2112 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 173 functions. The bar is 500 significant lines; this is 1612 over it, 4.22\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24da88173f3e6587cba7166110715c1ffb47fb8d3b92e707eea08f1dfb2bf19c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/agent_command_bus.ex: FileTooLong \u2014 2107 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 171 functions. The bar is 500 significant lines; this is 1607 over it, 4.21\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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb52950aaeea5e62cb19f6cb8defb75133601d681c486aded8731e6ea423f10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: srql/catalog.ex: FileTooLong \u2014 2102 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1602 over it, 4.20\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":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/catalog.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8e7bb99ee7df75fc1a28292e19557f75736697245a5b1e14ed61735e040254"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/endpoint_inventory_components.ex: FileTooLong \u2014 2062 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 98 functions. The bar is 500 significant lines; this is 1562 over it, 4.12\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/endpoint_inventory_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f67f6363e5fdad0fd19f59c222eff9ef702a890f0c5bb6bbf36df306bc8bca9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/attribution.rs: FileTooLong \u2014 2012 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 61 free functions. The bar is 500 significant lines; this is 1512 over it, 4.02\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":"rust/netprobe/src/attribution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1c0f8c01c5f2af2ddb4044da74d1a85e7ec723e6790ee0fdc2035168257ca3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents_live/releases.ex: FileTooLong \u2014 1990 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 111 functions. The bar is 500 significant lines; this is 1490 over it, 3.98\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"876059a3ea6d9f412473f3f36b137d4ab2e54a38ec65a21859ad9944ae7e6910"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interface_live/show.ex: FileTooLong \u2014 1983 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 92 functions. The bar is 500 significant lines; this is 1483 over it, 3.97\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4944da5391f119f33983fd031712e3b56b52d9cf12b0500d1d04393cb1cc59a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar_web_ng/field_survey_review.ex: FileTooLong \u2014 1919 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 147 functions. The bar is 500 significant lines; this is 1419 over it, 3.84\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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb747a2c1267f0df1afdd12abe01b30596ffda2c3082fb84a475a0cca7c7a4b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/endpoint_vulnerability_matcher.ex: FileTooLong \u2014 1910 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 119 functions. The bar is 500 significant lines; this is 1410 over it, 3.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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ac381a53d9e257d07c6cf9dc31e5cb1c3249a33d1b92fe5c7b69264d23bbed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/timeseries_metrics.rs: FileTooLong \u2014 1882 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 69 free functions. The bar is 500 significant lines; this is 1382 over it, 3.76\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":"rust/srql/src/query/timeseries_metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d849f65c5e884183f5836d719d2541cf3c31a4f42908aa0d82d44b72bc3419"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/anomaly_capacity_components.ex: FileTooLong \u2014 1847 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 129 functions. The bar is 500 significant lines; this is 1347 over it, 3.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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b1a3c7b3f324a8f2001b5f3cf3be72dd109be29012fef72c4e5600bb7991bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: alert_live/show.ex: FileTooLong \u2014 1833 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 100 functions. The bar is 500 significant lines; this is 1333 over it, 3.67\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cd286a837631d7192534d3856dd4d53d98b04d8fe1cbd13a366d067916ac3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent_live/show.ex: FileTooLong \u2014 1826 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 109 functions. The bar is 500 significant lines; this is 1326 over it, 3.65\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf977aa1db138d7c66bf56e768f0e91c1ca70cb0acdc56d67032db9aa2f9fb7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/starrocks.rs: FileTooLong \u2014 1815 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 80 free functions. The bar is 500 significant lines; this is 1315 over it, 3.63\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":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef51965b4af3976986a0880524ef41eedb8e6e8c3262eae79a32d6bdd0e1bd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sweep_jobs/sweep_results_ingestor.ex: FileTooLong \u2014 1812 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 122 functions. The bar is 500 significant lines; this is 1312 over it, 3.62\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":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04da9adc1e441c48f56d7d23e128e1101e0bbd583851dd1be246b33671b5c4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CmdConfig: TooManyFields \u2014 108 stored fields. The bar is 30 stored fields; this is 78 over it, 3.60\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/cli/types.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b724d108b83e24334f90cfb66fcb0900b53fd9a37b5e6871f5e8f3b98bd65d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analytics_live/index.ex: FileTooLong \u2014 1771 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 89 functions. The bar is 500 significant lines; this is 1271 over it, 3.54\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/analytics_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd631afb3a1b895e40beb198ec363f8c2f0db09fb18ecc71a3edc353c94c688"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteAccessDesktopSession.Component: FunctionTooLong \u2014 Component runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c4f03414c78e0fce997008e7ff2808566a6a1e782719f15a9e489cdd296ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notifications_live/index.ex: FileTooLong \u2014 1707 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 115 functions. The bar is 500 significant lines; this is 1207 over it, 3.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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0eaf7c4ca27943d78b32c6f95eb989bbc5a0909c92b5a839f5efa0243be116"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/manifest.ex: FileTooLong \u2014 1675 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 111 functions. The bar is 500 significant lines; this is 1175 over it, 3.35\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":"elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca62e563bdacb40c6b323e1ecb6b3877605579667ad2ad2c294f93dbdd0e8ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 84 free functions. The bar is 500 significant lines; this is 1174 over it, 3.35\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":"rust/netprobe/ebpf/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e7f0dc8f3fbbbd49e41331057785151b7a56bbbc9c044ad88ad095d8b0d6a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/publisher.rs: FileTooLong \u2014 1670 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 45 free functions. The bar is 500 significant lines; this is 1170 over it, 3.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":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ee5af3c812c092885af32a75451386d534463c922b06d603033c1b37972bdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SurveyView.body: MethodTooLong \u2014 body runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"27024a8e854ebd8467c30624ea548d8c3aed843882035add10689a4c2b245320"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/show.ex: FileTooLong \u2014 1620 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 72 functions. The bar is 500 significant lines; this is 1120 over it, 3.24\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06451e63d70e2a4a13193a8e55506a6fe1bbbc7c7a82f3bae289b0d5b6d9194f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scan.NewSYNScanner: FunctionTooLong \u2014 NewSYNScanner runs 324 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 224 over it, 3.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_constructor.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"002504fed6c16adf769e9e1cdc5dadff633574b12f447ae9a8a94df5eed0fa75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/plugin_runtime_host_authority.go: FileTooLong \u2014 1619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1119 over it, 3.24\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":"go/pkg/agent/plugin_runtime_host_authority.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bc365b97540625ad48b1eab8d64211d74fe3050ee90a3e7b3e501111fa9329"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/inventory_ingestor.ex: FileTooLong \u2014 1606 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 124 functions. The bar is 500 significant lines; this is 1106 over it, 3.21\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":"elixir/serviceradar_core/lib/serviceradar/camera/inventory_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73864f4ef755688eb0e76c4c67eb31bda23fac7a71018070be4cd9c49f5f947"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mtr_profiles_live/index.ex: FileTooLong \u2014 1588 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 74 functions. The bar is 500 significant lines; this is 1088 over it, 3.18\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29b1f4798a0171547566ab1121be5fd0854b9b1fa6cb54e7bb1ee125c6e1001"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/device_enrichment_rules_live.ex: FileTooLong \u2014 1584 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 58 functions. The bar is 500 significant lines; this is 1084 over it, 3.17\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43442ab8997d0d202387e20e3355083df861b0a50278a20ee0316af3f4dc198"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: log_live/show.ex: FileTooLong \u2014 1565 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 104 functions. The bar is 500 significant lines; this is 1065 over it, 3.13\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ae740b18cadee1269f5e677184c0f0c69eeda15d4e45b113517ae9e0a18207"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsView.body: MethodTooLong \u2014 body runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/SettingsView.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5d22f4cdbb2e61a5ba72e4d6e854cdc2515710ce1848f8742e72bfbc754835"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar_agent_gateway/agent_gateway_server.ex: FileTooLong \u2014 1534 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 141 functions. The bar is 500 significant lines; this is 1034 over it, 3.07\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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b188cb21de97d8fdee0a90d49c4796034e97845f94bfdf0a380d0e76f7f6c10a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: integrations/armis_northbound_runner.ex: FileTooLong \u2014 1527 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 105 functions. The bar is 500 significant lines; this is 1027 over it, 3.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":"elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"887da58c7709b2b7f1c51378c2cf4c54a27033c09fa41f733ed10201159bd498"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::flows::filters::apply_filter: FunctionTooLong \u2014 srql::query::flows::filters::apply_filter runs 304 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 204 over it, 3.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/filters.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a520e2ff1db25c85b64b2ee6a031bffe66d92930b7d142db6cbcd3b6bf81b97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/secure_execution_command_result_coordinator.ex: FileTooLong \u2014 1508 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 78 functions. The bar is 500 significant lines; this is 1008 over it, 3.02\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba834fb2a87ac78eddecd8f062550de0e717c5ce3d0dbf82b3fffd4303897b72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ubuntu-feed-merge/projector.go: FileTooLong \u2014 1503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1003 over it, 3.01\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":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5697a937b455c4433215ad72ecef91bd33a4f62b2d3f282404a5bbd13f6a0eca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: advisory_feeds/loader.ex: FileTooLong \u2014 1470 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 97 functions. The bar is 500 significant lines; this is 970 over it, 2.94\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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fd681f3be19be5ecdb7f3c009484ac71e46948f53a3e0e256bb4211f33374e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/OperationsTrafficMap.js: FileTooLong \u2014 1453 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 953 over it, 2.91\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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2dc02b7e0686257e8bfd42a464320df04024fb266e9d321b2a0f56ff3fc63a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: declarative/definition.ex: FileTooLong \u2014 1451 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 108 functions. The bar is 500 significant lines; this is 951 over it, 2.90\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":"elixir/serviceradar_core/lib/serviceradar/notifications/declarative/definition.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e1add1cd6d18e3f96c526dad3822ae3efade35247364c2b7f4df492ac63363"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/hypervisor_enrichment_ingestor.ex: FileTooLong \u2014 1427 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 108 functions. The bar is 500 significant lines; this is 927 over it, 2.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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c322e42cbdf253981f27912574249b66c19936f11895e0b99778af41045e68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: observability/plugin_result_ingestor.ex: FileTooLong \u2014 1418 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 96 functions. The bar is 500 significant lines; this is 918 over it, 2.84\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":"elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b1873c58e5cf7b895d870ea489e54b96754b246e93b99db2813ac38c9b3c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardWasmHost: ClassTooLong \u2014 1129 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 729 over it, 2.82\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c0764dc1e9d01c0b8e5b72b73cc82c4ee76973a70c5a1a37005af346ab6739"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ansible_live.ex: FileTooLong \u2014 1388 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 888 over it, 2.78\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/ansible_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16056ba3c9da6d9ab7d934a9fb1fc65512f3a6b16e8793ce68c05d225b08b3ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proto/monitoring.pb.ex: FileTooLong \u2014 1387 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 887 over it, 2.77\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":"elixir/serviceradar_core/lib/serviceradar/proto/monitoring.pb.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c530b4fab2d4dcd5b5834d5b20839bf319f4558a510ed2bcf2a2b66b294f22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processors/trivy_reports.ex: FileTooLong \u2014 1382 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 95 functions. The bar is 500 significant lines; this is 882 over it, 2.76\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5713421db87abf85d0c4773739ff90edb80daa7e1288ea816b88f05965a0d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/remote_access_broker.ex: FileTooLong \u2014 1378 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 878 over it, 2.76\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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_broker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbff69a5a9c29980469144a091a97203d621f99356097e62fca6a48c8e3a12c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wifi_map/batch_ingestor.ex: FileTooLong \u2014 1370 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 87 functions. The bar is 500 significant lines; this is 870 over it, 2.74\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":"elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f75cabb0516985a1f7b80e739c663af29b04e556645cd3b579d1f931000ae0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_fieldsurvey_sidekick::live_capture::run_capture: FunctionTooLong \u2014 serviceradar_fieldsurvey_sidekick::live_capture::run_capture runs 274 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/fieldsurvey-sidekick/src/live_capture.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a520a59ca5c9f20a99850ae8875d2f55e4d756dcf8771b8a41e36b87bd3a3570"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rbac/catalog.ex: FileTooLong \u2014 1353 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 853 over it, 2.71\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":"elixir/serviceradar_core/lib/serviceradar/identity/rbac/catalog.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9272d152f1e59fd4c8f0de34057ca5919fc8953fccce4ad1b2d2b1836b567f59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/DashboardWasmHost.js: FileTooLong \u2014 1336 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 85% of them inside a single declaration: DashboardWasmHost (286-1909). The bar is 500 significant lines; this is 836 over it, 2.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd0c129324a430ed6c643ab2ef2b9c7e96276ccb4bfdc686a6cceca8fab30f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/control_stream.go: FileTooLong \u2014 1324 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: PushLoop (29 blocks, 229-1685). The bar is 500 significant lines; this is 824 over it, 2.65\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/control_stream.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a93e98d4a711c272f6281a668d77dc56fe36de4d90de235466b104a320bcc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: threat_intel_live/index.ex: FileTooLong \u2014 1324 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 824 over it, 2.65\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/threat_intel_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbf578913a1f0586657a749dc4e4f4c18970701fbe32a9f5eb8e03bae0804f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/catalog.ex: FileTooLong \u2014 1315 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 36 functions. The bar is 500 significant lines; this is 815 over it, 2.63\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":"elixir/web-ng/lib/serviceradar_web_ng_web/settings/catalog.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae91f56e3bd03ab6e4b4d53c4d4819a6e158040e16332dd1dd8b96dc0c9ccbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/awx_client.ex: FileTooLong \u2014 1310 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 90 functions. The bar is 500 significant lines; this is 810 over it, 2.62\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ed6a4823feb750fbe301d2b72e0d1a3a06e0b7c6a17224bdb8b03a90fb6b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: OCSF: TooManyFunctions \u2014 78 functions. The bar is 30 functions; this is 48 over it, 2.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":"elixir/serviceradar_core/lib/serviceradar/event_writer/ocsf.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3197aa25080841d7fcf958e586086628fc995577f993bb52c8e2a0e20e1e4f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/rbac_live.ex: FileTooLong \u2014 1300 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 53 functions. The bar is 500 significant lines; this is 800 over it, 2.60\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f66987b9dadd4747777901a047bc7e969765cdf190365e70ded4fe504b6c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PluginManager: TooManyMethods \u2014 77 methods, declared across 8 files: agent/plugin_runtime_manager.go (46), agent/plugin_runtime_wazero.go (14), agent/plugin_runtime_http.go (6), agent/plugin_runtime_notify.go (4), \u002B4 more file(s). The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2c446ca5165f4d5a3827f070f791951e43f51728512870e963aec7af47e840"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: faker/main.go: FileTooLong \u2014 1283 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 783 over it, 2.57\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":"go/cmd/faker/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71adf8d4e9070092bc8e2ceb3898bf8ba4db99ba1c5d48efbd5b32c56b0a4dcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/remote_access_sessions.ex: FileTooLong \u2014 1282 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 96 functions. The bar is 500 significant lines; this is 782 over it, 2.56\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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b9109b5396ad997a46525b4485ea1bcf5d663389bd4b6ad1a1d5fb9bbc047e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/authentication_live.ex: FileTooLong \u2014 1277 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 32 functions. The bar is 500 significant lines; this is 777 over it, 2.55\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/authentication_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab563988ae3c184fc2ce79b3878475570a80db6b5e8f8bf3cd366ec4b5efe15e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/ubuntu.ex: FileTooLong \u2014 1251 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 92 functions. The bar is 500 significant lines; this is 751 over it, 2.50\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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c923222773fc1fa1797e1758cf29ff378c1000327d9430dfd284aebe78598870"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagnostics_live/mtr_compare.ex: FileTooLong \u2014 1250 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 81 functions. The bar is 500 significant lines; this is 750 over it, 2.50\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_compare.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"550e22199b9bdce181e56e9f77e4b620e0e3d796ac76d9e9bf06651fa8c3647b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: alienvault-otx/main.go: FileTooLong \u2014 1242 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 742 over it, 2.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":"go/cmd/wasm-plugins/alienvault-otx/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9607b1fc39368aad1042b75ffc89a841034e5ee123465dc23d395eea7589749f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/SignalMapView.swift: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 734 over it, 2.47\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":"swift/FieldSurvey/FieldSurvey/Views/SignalMapView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4785a370c2a58a452a285b07a799dd70be215e4148c24bed83caef3333b32fd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/srql_components.ex: FileTooLong \u2014 1227 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 727 over it, 2.45\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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/srql_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0431e54a974b30fb58f51c78e9566172ef5556d970bbe481cec5d94df1b8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/integration_descriptor.ex: FileTooLong \u2014 1220 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 720 over it, 2.44\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":"elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a885b0d1849403190b9e7619b0a19119ebd357df0ad5dbbbe13c3cc58c9f44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge_package_live/index.ex: FileTooLong \u2014 1217 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 36 functions. The bar is 500 significant lines; this is 717 over it, 2.43\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_package_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85d0e0cb650f2571de6577f39eb2205ec7d9617be02ef99bc4faa684e4e0f85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/visibility_components.ex: FileTooLong \u2014 1215 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 84 functions. The bar is 500 significant lines; this is 715 over it, 2.43\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/visibility_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91193810c789aa0c9a73983c60b153b74efbd3ebe63499f7443c504a349610a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/agent_gateway_sync.ex: FileTooLong \u2014 1203 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 95 functions. The bar is 500 significant lines; this is 703 over it, 2.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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a51c8bea56f7510f6ab42040625b48b75dad6671578879d2a4d51280a946e6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/ContentView.swift: FileTooLong \u2014 1196 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: SurveyView (18-1014). The bar is 500 significant lines; this is 696 over it, 2.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"507cf00f7fd2a629894af3945dc10ca7ee9858134db749c40c4ad0f3531c176e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/awx_launch_contract.ex: FileTooLong \u2014 1185 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 105 functions. The bar is 500 significant lines; this is 685 over it, 2.37\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6bcf98efca0f474073694bb876fdede2ba45277c94815078260c5b50988440"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: pluginExecution: TooManyMethods \u2014 71 methods, declared across 11 files: agent/plugin_runtime_network.go (20), agent/plugin_runtime_execution.go (14), agent/plugin_runtime_host_authority.go (11), agent/plugin_runtime_artifact.go (9), \u002B7 more file(s). The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_execution.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3873d86680ae763fa925203a714793184fc5778b2c0ea0cb4c380b0c964737c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/addon_rollout_coordinator.ex: FileTooLong \u2014 1171 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 86 functions. The bar is 500 significant lines; this is 671 over it, 2.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":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1285e3684c57b29d05f7cc156595f1ef7649a5f90bdb3ac26c3d346e7468d151"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetectorEngine.evaluate_inner: MethodTooLong \u2014 evaluate_inner runs 233 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"089243a3fd8c0cd4231299b264405c9adb558ae3636a9367d48e2deb2180ab31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/mod.rs: FileTooLong \u2014 1156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: DetectorEngine (2 blocks, 626-1735). The bar is 500 significant lines; this is 656 over it, 2.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26b6fad60cf2eab2bf001bf52147d873fe3ebebdf5a86ff62c92ad64632dbfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remediation/armis_unmerge.ex: FileTooLong \u2014 1146 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 60 functions. The bar is 500 significant lines; this is 646 over it, 2.29\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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffe3ae51f32f8893211f1786726dae579c8d4627a2803e906a516be8492b31b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: addon_fleet_live/index.ex: FileTooLong \u2014 1138 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 40 functions. The bar is 500 significant lines; this is 638 over it, 2.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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b1eea268b0bd9bdab719d391d163c6548447afe6ac23af810ce53fad7d6241"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/anomaly_capacity_data.ex: FileTooLong \u2014 1132 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 97 functions. The bar is 500 significant lines; this is 632 over it, 2.26\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4904469b7d3a8ee3226f4afbd2c5271f45de6039de21fe5a7c38d15ecdf75ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: spatial_live/field_survey_review.ex: FileTooLong \u2014 1123 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 74 functions. The bar is 500 significant lines; this is 623 over it, 2.25\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/spatial_live/field_survey_review.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897ac1fb68e49817b58c3b1779afd59839473a9fabee19aa60272495c33c4337"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PushLoop: TooManyFields \u2014 67 stored fields beside 216 methods. The bar is 30 stored fields; this is 37 over it, 2.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc7e346032edc7067ba8c27429ba54d99b708d5ca8d256fcb4655c6e8f7b176"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: capacity_forecasting/worker.ex: FileTooLong \u2014 1116 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 99 functions. The bar is 500 significant lines; this is 616 over it, 2.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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"437357e6f2c8972d7b46669d5d4ace22886287cf9d9701da13f5e3c25fcfd38f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/RemoteAccessSSHConsole.jsx: FileTooLong \u2014 1113 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: Component (386-1557). The bar is 500 significant lines; this is 613 over it, 2.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2275f2a8076059aa7fa84811eeb64e5f2ed35604d131fb6e8b43ed8ca76cf9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flows/attributed_live.ex: FileTooLong \u2014 1113 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 75 functions. The bar is 500 significant lines; this is 613 over it, 2.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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/flows/attributed_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414e570d1204d6419027b1e185f6f42e078e5f30576aa8cc59f98651b77ffa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sysmon_profiles_live/index.ex: FileTooLong \u2014 1113 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 613 over it, 2.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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"098d560bae0084b64ec6a4c915e12e9939832b8e2c92ac6693aff6bd5fb74a5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cluster/startup_migrations.ex: FileTooLong \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 92 functions. The bar is 500 significant lines; this is 608 over it, 2.22\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":"elixir/serviceradar_core/lib/serviceradar/cluster/startup_migrations.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db8ac6dfd561f6a2de240b7ef7fa531ba379239f16d104e59ab2662df67956c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: god_view_nif::core::utils::runtime_graph_row_from_term: FunctionTooLong \u2014 god_view_nif::core::utils::runtime_graph_row_from_term runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/native/god_view_nif/src/core/utils.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba51dbb3c1bb900b13e3a8351ea9af639915f13573bcba0b36c58ea041076ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/remote_access_recordings.ex: FileTooLong \u2014 1103 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 104 functions. The bar is 500 significant lines; this is 603 over it, 2.21\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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_recordings.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96df1b32c34aad98a1df37f6d9cd82da290a2429313367d04e45feae9d46d26"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Converter.convert_ipfix: MethodTooLong \u2014 convert_ipfix runs 220 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29a1e084356df28e9a4ac1b9263ae11df468bf4273cce2c22e767a912dbcd60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: callback_grants/ash_store.ex: FileTooLong \u2014 1077 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 72 functions. The bar is 500 significant lines; this is 577 over it, 2.15\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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83dd087b35b859b5c60f3e4bebebacf018f5a25313773faa444f1893ce2e25e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ubuntu-feed-merge/main.go: FileTooLong \u2014 1061 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 561 over it, 2.12\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":"go/cmd/tools/ubuntu-feed-merge/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"636051bee344eade81d3dbb1eb1396ce6aaa345760bcc85e5b7c0ddfd11aed1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardBuilderCanvas.Component: FunctionTooLong \u2014 Component runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"360df9b8078291efcb9b13b6c4772b53fb9613dbd98b6c92b4bf64df6197931c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntitySpec.for_entity: MethodTooLong \u2014 for_entity runs 212 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/field_survey.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"746616290b943ff0f55ef8171e33745186173cd4f8ce76bbe13265bb8d8d74d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagnostics_live/mtr_data.ex: FileTooLong \u2014 1050 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 61 functions. The bar is 500 significant lines; this is 550 over it, 2.10\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96eb91c836aa6f8df2f9f4a44f9b04c5edc59ec2f1cc48066e6df55803ce424"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard_package_live/index.ex: FileTooLong \u2014 1045 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 545 over it, 2.09\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/dashboard_package_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5631863c43f04d72f407ef9bbf13d318609efe3a60b3246714cb5dd04e2b5e15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rules_live/index.ex: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 33 functions. The bar is 500 significant lines; this is 541 over it, 2.08\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rules_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0ae5c2039047486a5a15de3e114197ebbb9d79d8092534be39e7baf00e4d86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/endpoint_inventory_ingestor.ex: FileTooLong \u2014 1039 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 81 functions. The bar is 500 significant lines; this is 539 over it, 2.08\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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a145d184f681fe920ca64e6cdd35e34a21fe195cfe254ce45ffedcec3e2738ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/agent_release_manager.ex: FileTooLong \u2014 1023 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 83 functions. The bar is 500 significant lines; this is 523 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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_release_manager.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc578a3fb17095ec9a16c9cefe472f09f5d0f4153b472a0ebfbed39b4c0b826"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/remote_access_session_controller.ex: FileTooLong \u2014 1023 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 81 functions. The bar is 500 significant lines; this is 523 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f46ccd3f5a04f5c80eb48e8d075474d863a7af9aaff65155c9c4fc025ab2b07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cluster_live/index.ex: FileTooLong \u2014 1020 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 57 functions. The bar is 500 significant lines; this is 520 over it, 2.04\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd06087ed4b69910ce770ae1f0fab9f270b887f14c08092628ac86e6ec882b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netflow_live/index.ex: FileTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 518 over it, 2.04\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb237042ff7d28ba941e485c4a761619881dce89d7930270318e471affe49655"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Publisher: ClassTooLong \u2014 812 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 2 blocks, lines 63-1257. The bar is 400 significant lines; this is 412 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"07af272a894a634333ce73530845335cc95662ac99042f27e4e52f7d160c4d9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/remote_access_desktop_targets_live.ex: FileTooLong \u2014 1014 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 70 functions. The bar is 500 significant lines; this is 514 over it, 2.03\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_desktop_targets_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5231a00cddec3b564ce7208a268720e6ef4d7f43e3b6ebab4b3240294d3ef96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::timeseries_metrics::build_interface_profile_hour_of_week_query: FunctionTooLong \u2014 srql::query::timeseries_metrics::build_interface_profile_hour_of_week_query runs 202 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/timeseries_metrics.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b5db5c30ce6e2bc59dfb0b65dc9ed249ee7a3a61c3b32e216ebc720c0ae79d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/remote_access_stream_handler.ex: FileTooLong \u2014 1004 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 93 functions. The bar is 500 significant lines; this is 504 over it, 2.01\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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9573f9daa60cddd3fef663bf3e437b589a30bf5c218add319e73ad6a04ca94d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent_live/index.ex: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 53 functions. The bar is 500 significant lines; this is 502 over it, 2.00\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030eb6e95dc04839ac2c79c511b895a48a1f0d93e7212a337ceb654dedc82d0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/plugin_assignment_recovery.ex: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 92 functions. The bar is 500 significant lines; this is 501 over it, 2.00\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":"elixir/serviceradar_core/lib/serviceradar/plugins/plugin_assignment_recovery.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717f024d7e10d763dcc07793c86e0c05d46ba519a4b1a30a85bbe7a72288d9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/proxmox_console_sessions.ex: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 77 functions. The bar is 500 significant lines; this is 499 over it, 2.00\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":"elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40923a6cd4e2611eb2a6023c04a28dfaaef94a3674641249403eb730bda4a46d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar_web_ng_web/router.ex: FileTooLong \u2014 992 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 492 over it, 1.98\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":"elixir/web-ng/lib/serviceradar_web_ng_web/router.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdf3fd01eee7658e2a25833876cb8182b865a90020c4453830ae13e3cb7b46a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: callback_grants/current_authority.ex: FileTooLong \u2014 990 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 53 functions. The bar is 500 significant lines; this is 490 over it, 1.98\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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"760d8e8ef7967a4fdb08f793ba0b9f26e1fa7e62484e92ab87486fb78a746a9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: god_view_nif::core::arrow_serde::encode_snapshot_impl: FunctionTooLong \u2014 god_view_nif::core::arrow_serde::encode_snapshot_impl runs 197 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/native/god_view_nif/src/core/arrow_serde.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbbecfc5a1fe97d6ecc38bcb6539f0ce36f64309741737ee7d8285d89651613"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/anomaly_detection_live.ex: FileTooLong \u2014 977 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 477 over it, 1.95\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/anomaly_detection_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43edd4fac125d0d9dbe76f1a022a7bd386b1f7958ae59077c3e571ddeee0c299"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteAccessApplication.Component: FunctionTooLong \u2014 Component runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"064a45589ba88bbc978a0b7ab67fed2799ec681724a542daf3a51b917bc1f192"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: NotificationCredentialRequirement: TooManyFunctions \u2014 58 functions. The bar is 30 functions; this is 28 over it, 1.93\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/notification_credential_requirement.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a336b9fad8d9cb989c6c1938a0c14bd5e8ba302d7d6723b3cb2aaad41fc8eb78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: awx/launch_preflight.go: FileTooLong \u2014 966 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 466 over it, 1.93\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":"go/cmd/wasm-plugins/awx/launch_preflight.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80ee62baf65c114079659467702dfb089d52faffa7e2305bcb03d4ed320048"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera_relay_live/index.ex: FileTooLong \u2014 966 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 466 over it, 1.93\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_relay_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32930439fb3d01c55e8768bb23f838878cfc63f6ac11ea332d75b51a5f784d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: callback_grants/lifecycle.ex: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 73 functions. The bar is 500 significant lines; this is 459 over it, 1.92\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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"647f2307509edb153af9ece7ae33e268b04d829124d04982e580acca4296206c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::devices::filters::apply_filter: FunctionTooLong \u2014 srql::query::devices::filters::apply_filter runs 190 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/devices/filters.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cc687f3e81c08eaaac296b7bc8f9c7d6779efe11f4354d31802c0eea8d8cd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: god_view/rendering_graph_view_methods.js: FileTooLong \u2014 946 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 446 over it, 1.89\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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"507780ccd683cfec7ebbe5bdce66c3aa5c024dba609a364fbb36fdcab40315ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: god_view/layout_elk_scene.js: FileTooLong \u2014 940 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 440 over it, 1.88\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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b6ee30fbce0e616509e57fabb427073e97c8073e29144884f14536b3b00aa9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntitySpec.for_entity: MethodTooLong \u2014 for_entity runs 187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/wifi_map.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e503a58f819ce4e72e7d8642cec09df100a80743bae7cf45ccebff998ee52d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SurveyView: ClassTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 347 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1317eef323259209ddddd4d117f39c94c5b3a30238cb36d0f4a4d2d3f033e7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authored_dashboard_live/panel_components.ex: FileTooLong \u2014 927 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 427 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/panel_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"088479f997df918afb33f1221114dac2893cdd51eef79dc7880e6ac28232e208"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: observability_health_live/index.ex: FileTooLong \u2014 926 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 426 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/observability_health_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28afeae3db72713846065c28822433da319ded02a48981322236de9e29e85d1b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DetectorEngine: ClassTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 34 methods, 2 blocks, lines 626-1735. The bar is 400 significant lines; this is 327 over it, 1.82\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"a687b2649bb995793bbda46f77729516838e0ee1d5c186df57196b251a077d3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/plugin_runtime_manager.go: FileTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: PluginManager (46 blocks, 127-1441). The bar is 500 significant lines; this is 408 over it, 1.82\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9631b53fabd7ab094a86b670bf29943fd6198e00612c470654bb53d342ae7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/awx_result_projection.ex: FileTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 71 functions. The bar is 500 significant lines; this is 407 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2aeea1b86f1921398d3fad53ae6a04809258c7611d8d9569a76e3d52699da0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::flows::stats::query::build_grouped_stats_query: FunctionTooLong \u2014 srql::query::flows::stats::query::build_grouped_stats_query runs 181 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/stats/query.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c9f92914ca4343d3aa5626c58fd055aca2e2e7c3a83899b9d98d1009d6568"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Slack: TooManyFunctions \u2014 54 functions. The bar is 30 functions; this is 24 over it, 1.80\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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1141b67649427f295a66496010a0be6d2dc82c64696c0ee03812ed1a97dba50a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteAccessDesktopSession.createRdpLauncherRuntime: FunctionTooLong \u2014 createRdpLauncherRuntime runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f65c7b2460e7c9bfde7c7a60b267c5cda837fa72f314941aaf7809f00be420a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteAccessTerminal.Component: FunctionTooLong \u2014 Component runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessTerminal.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcb62fe785144cac02fda04b918639d59bba968c9193a791788e435dff0532c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/packages.ex: FileTooLong \u2014 898 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 66 functions. The bar is 500 significant lines; this is 398 over it, 1.80\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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5390c0c7fbd160161ee69bb2b3460eca6bd4af84a9898b3596c197eb5c733403"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trace_live/show.ex: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 394 over it, 1.79\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0494a18d5cad70051755a47d7e729537953077e21a9d1e5ab925feb4a08936f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetworkSweeper: TooManyMethods \u2014 53 methods, declared across 13 files: sweeper/sweeper_run.go (9), sweeper/sweeper_aggregators.go (6), sweeper/sweeper_banner_grab.go (6), sweeper/sweeper_lifecycle.go (6), \u002B9 more file(s). The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/sweeper/sweeper.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb66bd322c44958bf1238484c9cb43c167c04bd32bbf6126c287997c64b6e9c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AlertActions: TooManyFunctions \u2014 53 functions. The bar is 30 functions; this is 23 over it, 1.77\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/alert_actions.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a624a10686324a2878bd89e5fb927d71465077f5fd2fc7a0e4109563953adf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: collector_live/index.ex: FileTooLong \u2014 883 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 383 over it, 1.77\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/collector_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e0d1af50f8d6011571c2cdb64d2d9bad3fa512f041c2a6eefaf7c4c6f000fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar/telemetry.ex: FileTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 33 functions. The bar is 500 significant lines; this is 382 over it, 1.76\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":"elixir/serviceradar_core/lib/serviceradar/telemetry.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1bdc0af22e11eee0b5345faeabd16aab667f0ce95f6082cfe54fdc1020242f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/source_identity_drift.ex: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 381 over it, 1.76\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":"elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf9ee214b58853b57b90450a7786f2affbbde4e984ef3d2c51492b9d04082a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Network/SidekickClient.swift: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 377 over it, 1.75\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":"swift/FieldSurvey/FieldSurvey/Network/SidekickClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee392ceeaa366376f6934e7b4912d47123f611b1e065362fd87714fb285b6dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent_commands/status_handler.ex: FileTooLong \u2014 873 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 373 over it, 1.75\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":"elixir/serviceradar_core/lib/serviceradar/agent_commands/status_handler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d939ce02e65f6cd234e1f2910f4f30109c26db190f005be45aebcab7054f3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: DesktopMediaSessionTracker: TooManyFunctions \u2014 52 functions. The bar is 30 functions; this is 22 over it, 1.73\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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3320e3e1ed9ba45ea774e855917e2697ddafdec726ac31d092d7625f8241e8b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: EventHandlerRunner: TooManyFunctions \u2014 52 functions. The bar is 30 functions; this is 22 over it, 1.73\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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/event_handler_runner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf586126f4d81eb497e6587c73947e0374651e48d4e5e3f800af90a463e8160c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PushLoop.handleMtrBulkRun: MethodTooLong \u2014 handleMtrBulkRun runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/mtr_bulk.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d508d222e3b604ac1e7c56fc61c41f944731a64fc096f2c7eacf903fd4b5e30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/HomeShellView.swift: FileTooLong \u2014 863 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 363 over it, 1.73\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":"swift/FieldSurvey/FieldSurvey/Views/HomeShellView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac2b4f60feab49c2818ec546cada6fa04514b6e207eb0eacff9d577d40cf187"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Publisher.run: MethodTooLong \u2014 run runs 172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92a7ef162378c1672714b7e1a12ea113283a72e152c15e2bed939ce69baa66e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServiceRadarCollector.handle_traces: MethodTooLong \u2014 handle_traces runs 172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel/src/lib.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be0882d8cb7c655caf6644d41be6459429a3f34e208fa14e50df91ef46e784e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/metric_envelope.go: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 353 over it, 1.71\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":"go/pkg/agent/metric_envelope.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19c8eabf5a938536dba655346ffd1ba7a580c74c8e9e79f51be8f96c4353dcc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Decisions: 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/decisions.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"809abc8812b8526abbba37b42c53257dfb653a16e23378dbcc54856e473bee0e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SyncIngestorQueue: 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":"elixir/serviceradar_core/lib/serviceradar/inventory/sync_ingestor_queue.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d426c1df04a759930f28e3c02499efabc008140ee1fcaa40902d26fd4a4f27a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_anomaly_addon::frame::process_frame: FunctionTooLong \u2014 serviceradar_anomaly_addon::frame::process_frame runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/frame.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"993e0dbc3deabc78f2f41d0bce66f9ee77807015073a435ead8d8676edab77ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar_agent_gateway/control_stream_session.ex: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 75 functions. The bar is 500 significant lines; this is 349 over it, 1.70\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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/control_stream_session.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba61e5ca2b1ee2dd51c7b4aa0eae18ffa940e4952047fc09e64cff79546ba5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scalibrinventory/adapter.go: FileTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"go/pkg/scalibrinventory/adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22f0643f5e807a86afaa21f713b53b024839d18abb7c301dfe9ef72a9b62d7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/proxmox_enrichment_ingestor.ex: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 346 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":"elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"870549206c0b00f816bb8e2f9792028b5974365e95b58470f3e3feddecbe40c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: security_findings.dashboardHtml: FunctionTooLong \u2014 dashboardHtml runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/dashboards/security_findings.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e7d40d0ddde6b25e4c499481b4865ee9dae9488329088513c3d8fd24e9bf73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event_writer/config.ex: FileTooLong \u2014 842 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 60 functions. The bar is 500 significant lines; this is 342 over it, 1.68\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/config.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e95c19fe6b8af0c3a81e1c771db01c1e1821b98c6484deb7265251b6108299"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processors/anomaly_episode_registry.ex: FileTooLong \u2014 841 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 341 over it, 1.68\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88245b18c4f37c6a341bc387b2ad63dd42ff1086ee535e9918d229c39722865"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Publisher.publish_pending: MethodTooLong \u2014 publish_pending runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"b537990273f21361c735a8d3ba04faaac96916adb58ae4374714672a0818dfbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::flows::stats::filters::build_stats_filter_clause: FunctionTooLong \u2014 srql::query::flows::stats::filters::build_stats_filter_clause runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/stats/filters.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb25d64c9bd90dd00cfa25782da262156b93fd700cfaed71b3b4d4d8824ec7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authored_dashboard_live/show.ex: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 334 over it, 1.67\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedd97cbfb16080879b021e7c6d4b68e3ae6f6c398c063e0152fed7ee9147d31"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Storage: TooManyFunctions \u2014 50 functions. The bar is 30 functions; this is 20 over it, 1.67\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/storage.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0c2176726c80e90f35e18f06be50677346268db6c0889c794f7ddd416d7b72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: composite_checks_live/index.ex: FileTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 331 over it, 1.66\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8dcb2f4069e260219b3ae495e17dd2627c65f130c912a2c62250a777400907"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/release_update.go: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 327 over it, 1.65\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":"go/pkg/agent/release_update.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d256ad87dce826179404acbb6ba9ee86e0f4e357244e7ee4b76cc06874a14b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event_writer/producer.ex: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 318 over it, 1.64\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d3afde01a518fbe306994288934be744cd2146c08e53fa7c1792b4828c30c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/prefix_tags_live.ex: FileTooLong \u2014 817 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 317 over it, 1.63\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/prefix_tags_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cac61807d410fc26167af0450973738597b24a3bc5f581f43fb9496be22ff2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 817 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 317 over it, 1.63\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":"rust/workload-identity/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c180e24a79c58007c27ef929184411d9956f8ecc2f9a1f08887f6ce2b85c223"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Declarative: TooManyFunctions \u2014 49 functions. The bar is 30 functions; this is 19 over it, 1.63\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/declarative.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d600ef84e543e42efb717f058e793b7b419ecb598e673406344ed14feb4c6a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: FlowRow: TooManyFields \u2014 49 stored fields beside 1 method. The bar is 30 stored fields; this is 19 over it, 1.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/row.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b71d5b83d24577614e1cb6774b5c6dc317e9a2f4400878ceccc2a8187772d91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/controller_provenance.ex: FileTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 58 functions. The bar is 500 significant lines; this is 315 over it, 1.63\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e0d257c0c2c8a5881ebe1a44ed5612e748a3b5f0516fe6e118bba22c2c22fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::timeseries_metrics::build_profile_hour_of_week_query: FunctionTooLong \u2014 srql::query::timeseries_metrics::build_profile_hour_of_week_query runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/timeseries_metrics.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"009abc8e364b16b6ce8bdf89fff36d0d76ed06222d85cec068f95cf8d58e2364"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SYNScanner.Scan: MethodTooLong \u2014 Scan runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_scan.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"08287f08791443cf5d5a6fd4e3ab46d436f6fc4870cf070c052795cd4c922036"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/netprobe.pb.ex: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 308 over it, 1.62\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":"elixir/serviceradar_core/lib/serviceradar/proto/agent/netprobe/v1/netprobe.pb.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdb56fa4f2e15f9033de144d2d450a00c96e09edd423c2f2a540ccf80d5a156"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: infrastructure_live/index.ex: FileTooLong \u2014 806 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 306 over it, 1.61\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f333cefed533ea4f1254a314791745f89a32282fe0ed15764851750a17b22c64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fingerprint.rs: FileTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 305 over it, 1.61\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":"rust/netprobe/src/fingerprint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5b12bb9fd8dcbee47911dd274185d429e482ec3910d5dacaa2ed36797a27cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::downsample::sql::build_sql: FunctionTooLong \u2014 srql::query::downsample::sql::build_sql runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/downsample/sql.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f24ef435e7797a22abe5f9cf27aa0c6d0ce5d64c4711e8e8d53406a59f787e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: srql/builder.ex: FileTooLong \u2014 795 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 295 over it, 1.59\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":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/builder.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fd9328cf09bae54d39a6d8d97c58bf0ac69fa510a9ff4928c66ba56c03ab91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: srql/page.ex: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 293 over it, 1.59\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":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65512b3987a9f6a2a9a309db5394eb9aaa5ceb4c3143b2574e3b4d92c6d1ad83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Publisher.connect_once: MethodTooLong \u2014 connect_once runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"5726d3c9290a9fdacc84902dae5f497f19d2bf73ae19e2d62c418d322a626a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/producer_schedule_dispatcher.ex: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 70 functions. The bar is 500 significant lines; this is 287 over it, 1.57\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":"elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0cec4c50e4ca2f0c04af043f40cbdb39fac6d46823896d72dae7da20fd5f95"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: DeviceDiscoveryIngestor: TooManyFunctions \u2014 47 functions. The bar is 30 functions; this is 17 over it, 1.57\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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_discovery_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aa020ad4e17f49338267d237dcb7f7359d6981c9faed0acbbf212577f18bf7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Assignments: TooManyFunctions \u2014 47 functions. The bar is 30 functions; this is 17 over it, 1.57\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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/assignments.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"652aff2c2a53d2e8e82aca38d8ea651c3ca2b8a570de4bb8bec700e783d96181"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SeriesCheckpoint: TooManyFields \u2014 47 stored fields. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/checkpoint.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ed94560049e45c306fa1372dad803f2a4c274c9c4569d57e4753165dcb04f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: security_live/index.ex: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 57 functions. The bar is 500 significant lines; this is 280 over it, 1.56\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/security_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f28878dd7be94b5a29a30e8818b15a5b3bcdd53448bd5cfffd3ffd6759957"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: observability/mtr_automation_dispatcher.ex: FileTooLong \u2014 779 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 279 over it, 1.56\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":"elixir/serviceradar_core/lib/serviceradar/observability/mtr_automation_dispatcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4408ef0e801d980c275a30eaf70699f1b72fe9567b07ef2f4a375c3b0741f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard_package_live/show.ex: FileTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 274 over it, 1.55\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_package_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7ad595b1789fd16c47c639f69b98a1badef37abf627fce8a5d0e6d09d2babf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: credentials/plugin_assignment_materializer.ex: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 74 functions. The bar is 500 significant lines; this is 271 over it, 1.54\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":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3e0630a866c74c7be3ee58167c8273ca7f04c3262e9696d65513988a34c7e1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: EventIngestor: TooManyFunctions \u2014 46 functions. The bar is 30 functions; this is 16 over it, 1.53\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":"elixir/serviceradar_core/lib/serviceradar/camera/event_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf25e5698fe57a2647c3a249f673fb795b21f1fab1080ab24ee861f89625483"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SecretBroker: TooManyFunctions \u2014 46 functions. The bar is 30 functions; this is 16 over it, 1.53\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":"elixir/serviceradar_core/lib/serviceradar/credentials/secret_broker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c518d5c45039f46bd363eb353a2cb4d2753a32116f40cbbf609f55bffd3ae35a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: UserAuth: TooManyFunctions \u2014 46 functions. The bar is 30 functions; this is 16 over it, 1.53\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":"elixir/web-ng/lib/serviceradar_web_ng_web/user_auth.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a422f7802ec10885cd16771e0f81ac38bbff04b0372a469a0e75627fa0f9d556"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_netprobe::attribution::drain_ring: FunctionTooLong \u2014 serviceradar_netprobe::attribution::drain_ring runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/attribution.rs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c870ce9b59d63b683f700539586fcdcec0721ea69317ea9ada06bb1452a05bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/cli.go: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 257 over it, 1.51\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":"go/pkg/cli/cli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd9ec68e5b0e8d7a9ee117b1bd0aff35c09d5271dd4f09f2d07871ebc64cdf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/RemoteAccessDesktopSession.jsx: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 256 over it, 1.51\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":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8551d709f5fef1bba52c9d60612dd9ab3d5a8c7236b9ebc6ce90816f4154e7d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/promotion_rule_builder.ex: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 36 functions. The bar is 500 significant lines; this is 256 over it, 1.51\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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/promotion_rule_builder.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fc79280b2d1b22081c0e6866d5399faf229cd378444aaa98f7f530831c16d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteAccessDesktopSession.Launcher: FunctionTooLong \u2014 Launcher runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea7c940e314bc67bfccec35e58da3b237b295724c62d6bbc1fe9e87ad121903"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_flow_collector::main: FunctionTooLong \u2014 serviceradar_flow_collector::main runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/main.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5307f463b2a2016a67a2b593013d4dc8e5a1d87b64a7e081106bb29723a377f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompositeSurveyView: ClassTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 201 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/CompositeSurveyView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f664b47da7b1b93cb92c1040a144fb38863cf636591448548978443dc6f3e93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 45 methods, declared across 2 files: netprobe/client.go (38), netprobe/capture_session.go (7). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/netprobe/client.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8e02d325520a79947afd3250328b5ccddc65789f4052d5d8cb491cb9160c55"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SeriesState: TooManyFields \u2014 45 stored fields beside 1 method. The bar is 30 stored fields; this is 15 over it, 1.50\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/state.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb3f44addb408b71b556b987bf1a4963b3e679a9e66e6e45ef9ec246cb116ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: DeviceRow: TooManyFields \u2014 45 stored fields beside 1 method. The bar is 30 stored fields; this is 15 over it, 1.50\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/models/inventory.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d7deb819b58688ccc1b0913e5b048b37153565f4fccddd5950f8fc0bf05dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: FlowRowLegacy: TooManyFields \u2014 45 stored fields beside 1 method. The bar is 30 stored fields; this is 15 over it, 1.50\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/flows/row.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40c243e65f415e637cf92428c59546cb779c465c64acbf478802833f1ffc06f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetectorEngine.evaluate_transition_with_seasonal_key: MethodTooLong \u2014 evaluate_transition_with_seasonal_key runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c4e503472682831a1de7fcbdbf6f96c8e1805e244cf3e39d91e4e4f9ea704a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: addon/manager.go: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: runner (36 blocks, 349-1244). The bar is 500 significant lines; this is 249 over it, 1.50\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"121d821c0dd33fed2eaadb9f5af72fa18dfe5db654be6ef54bbb141349e06384"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/addon_profile_reconciler.ex: FileTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 247 over it, 1.49\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":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconciler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"840615922d615cdaf5163a3124a384e65d370a2884c2ace68d73373835d8d644"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compilers/snmp_compiler.ex: FileTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 60 functions. The bar is 500 significant lines; this is 246 over it, 1.49\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":"elixir/serviceradar_core/lib/serviceradar/agent_config/compilers/snmp_compiler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"079b2eaea3dd2d37ac7d8d9ca59b8e1db444dc629f161a0f33ff87fe22fc2b26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/device_writes.ex: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 245 over it, 1.49\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":"elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_writes.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"017803e9488dd31408b8782a4d49e5807cd8b57a1bebac963f5ab89aa6ed5d73"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: otel::nats::stream::ensure_stream: FunctionTooLong \u2014 otel::nats::stream::ensure_stream runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel/src/nats/stream.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb3d6986aa44d7493389558da52358a42a65161b8b2207e51e81ea2c487f470"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/endpoint_vulnerability_adjudicator.ex: FileTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 67 functions. The bar is 500 significant lines; this is 235 over it, 1.47\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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"987da2d9201e398ee6643cd19a57077b3be32ddf9151e7d80655538a8e2783a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/mtr_components.ex: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 234 over it, 1.47\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/mtr_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eef24889bbb7a8ce418823b0b86d7223b2ba41a4004a5705446eb83a157684"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CameraMediaSessionTracker: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc99dff6c1dbd7eb548531c286b817ee1855e1d8df8276c5690df42e9f73e43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Application: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/application.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e06a5caf6a3ae1bd5c74fd6406ca49c64f6f9fc91674007a9420c261149724f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: StatsAggregator: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/core/stats_aggregator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63816a013412992931faa7d8b0e2ee9aadb67411e7803a4b4adde029ffb143a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remediation/proxmox_unfuse.ex: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 233 over it, 1.47\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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb1bff47258f4e779fc4a88e6cad14d2ce8e6befb3ea2d8fb90121cf1707f7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/interface_components.ex: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 230 over it, 1.46\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/interface_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0bd81dc5e4c68e262866859c14ef9397a83a2de798a4c786add9765de1a2cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: endpoint_inventory.dashboardHtml: FunctionTooLong \u2014 dashboardHtml runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/dashboards/endpoint_inventory.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b0e48b197a7948a1d7f6cb588260216244af304aeb7cb29bbad3b29800be42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/nats_bootstrap.go: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 228 over it, 1.46\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":"go/pkg/cli/nats_bootstrap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3e214926f0da3ccafae28c6e5c0e7b986cf079270c0db502379ef896c1f5db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: job_live/show.ex: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 228 over it, 1.46\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/job_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7639af13405308fb8eb08b77823b8af6cf397c2ce5048daa720f898bbee3d6a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: seasonal_disposition/edge_baseline_producer.ex: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 223 over it, 1.45\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":"elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ef87158e7846c18b2e160249ded6d4000fe498cf3bdff37ff9ac293a5d0d15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/device.ex: FileTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 222 over it, 1.44\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":"elixir/serviceradar_core/lib/serviceradar/inventory/device.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9c0e1d3385c4d2a2570aee1ca0db34e554e26f0f6292833a1008aed7b3779e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/awx_membership_reconciler.ex: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 220 over it, 1.44\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4269f7876072ef0f372f05feed1dad99a6d1d32449ca8401678eac57e294a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Driver.Sync: MethodTooLong \u2014 Sync runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/syncsources/armis/driver.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e0c6911cfefebebcbf526046d799b457857d6c28bc382e670117f0d1d1a96b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/awx_template_binding.ex: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 33 functions. The bar is 500 significant lines; this is 219 over it, 1.44\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_template_binding.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f822e158f594cec262c5e8e13c4d7daea80b2f3c25c1e0548295051064903e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/timeseries.ex: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 219 over it, 1.44\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":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"269354eaf79cc6f5ba8c3eaa10e10904b79dee989c51fe5d43644205c47c6c90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/otel_exporter_logs_otlp.erl: FileTooLong \u2014 717 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 217 over it, 1.43\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/src/otel_exporter_logs_otlp.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"113d8cd106230b23cffe769e5244be428f53694726d845b2a7b98f9d211c0722"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Discord: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e1c1a2a8ce2f7ddacd9f86cec69c1149c637f8d783a76a01037b06988afe1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: FrameRunner: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/frame_runner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55efadc79ab895137345aac7723de43d85ea82583e6c7aed886f2afde97cf761"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Bulk: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr/bulk.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca1a09c9c53b1dae9dc2aac079da614f4cdd447dbb2a3a3d9709283ff447f3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/layouts.ex: FileTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 215 over it, 1.43\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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/layouts.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185b0aeb37da08c90086b10ceb13e39d359eaf3d8125f7bd51888ff632af7796"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeDashboardView.body: MethodTooLong \u2014 body runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/HomeShellView.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbec9a25510e03b0c5bef6bae11eab7c52ed7cf64a11cfdeb4e553721b284f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RealWiFiScanner: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 171 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/RealWiFiScanner.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f43799c1c8632024acff2d103912d626f8f82a34abe37458f3638be23665fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar_web_ng_web/stats.ex: FileTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 210 over it, 1.42\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":"elixir/web-ng/lib/serviceradar_web_ng_web/stats.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a213e5d596c6cdb367673b582bc89c45dac2719b1635aab84db58ea7611fcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::starrocks::profile_sql: FunctionTooLong \u2014 srql::query::starrocks::profile_sql runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/starrocks.rs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ec9e6fceb02a711f1364e6f7c500c1b2fadf5fbd1eaf1d23f7ae735c74985d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/generation.rs: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 209 over it, 1.42\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":"rust/integration-db/src/generation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"109ce29f373dc93fe7a573384bababaddd672f19165e5997dcdd31f5224668b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/mtr_bulk.go: FileTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 201 over it, 1.40\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":"go/pkg/agent/mtr_bulk.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0291ba1db255595d2780aee9624d04ae153bbc0e2caa169ecfcb86c8633d6ae2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PluginManager: TooManyFields \u2014 42 stored fields beside 77 methods. The bar is 30 stored fields; this is 12 over it, 1.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"369972e78dbfa9e61331245f47c6b926f9931ffdb87b5fc8e470e5d3d8ba24bc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Pipeline: 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/pipeline.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421bec9a37aca0dfbf067f160cb5d1efbdb85b00c90129368df9bb074d0f0377"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SettingsComponents: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/settings_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8c5593f97cf596ce29145d808cb14dcd0a49b78342d82e6914bc990f91ad99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processors/flows.ex: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 59 functions. The bar is 500 significant lines; this is 200 over it, 1.40\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/flows.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdf89dc3f57c06d25bf7c4d7899e3ebbdc2190decda253a178ca1cfeabc49bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: layout_elk_scene.validateTopologyScene: FunctionTooLong \u2014 validateTopologyScene runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b04f4149a5df727c26a394f9a50738f64fb227506eb12b73d127145331f8665"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/bundle_generator.ex: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 194 over it, 1.39\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":"elixir/web-ng/lib/serviceradar_web_ng/edge/bundle_generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc629ec557f57a6b60e404e97d79945489f1aa29ed6b1a0b8371f5d4b9a9ac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/af_xdp.rs: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 194 over it, 1.39\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":"rust/netprobe/src/af_xdp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f689caf2218ae05eb933ba681a1f96a4629ea10785ebe9143aca9272d711f65f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processors/logs.ex: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 66 functions. The bar is 500 significant lines; this is 191 over it, 1.38\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ef0a3336b0a35296baedf6cc251861d76d3cc705a2fcf168a446e957ef1020"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/remote_access_file_transfers.ex: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 80 functions. The bar is 500 significant lines; this is 188 over it, 1.38\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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_file_transfers.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"046607a515d5b4cca7579303c856acd4b6ce5a0c3f3ea2d4a90b54523331bc7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RemoteAccessTCPText.Component: FunctionTooLong \u2014 Component runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessTCPText.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a838392a7cc626bfc9fa4e74317b54f8a2edffff82e9835d5aea8fbe25eed79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: northbound/command_result_handler.ex: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 61 functions. The bar is 500 significant lines; this is 184 over it, 1.37\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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/command_result_handler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a05d4c4b2c249b03fe9b351c377bceb6116c83eabc8aa823138ef61711cccc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SweepCompiler: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"elixir/serviceradar_core/lib/serviceradar/agent_config/compilers/sweep_compiler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6539d6581969313e7f44ef8a7778c8a2f5740770bf881450445766d3605a1939"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: FalcoDecomposition: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beac9d8cfc9d8f569fc668b1bd84e7ce8998e38ac56dd50b2e09e4908a32b9ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: EndpointInventoryIngestorQueue: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor_queue.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eeb19635698f9714862ced52a9c43435d0c9bab08d3e71de802ccfccdd33e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: EndpointInventoryVulnerabilityRisk: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_vulnerability_risk.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"034d14b236a33215732f03abe5976fec433605ba0ee02025cd5f6071e3dd0bf8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CameraMediaSessionTracker: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8c58c2149cae2dc0d418f0bb4c064f248a677089a934a54217f4462338e8ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: OIDCClient: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"elixir/web-ng/lib/serviceradar_web_ng_web/auth/oidc_client.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f462b3fda7e83bf10262945d2cdf01e6919fb1377f1035c72780367f6402b5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Presentation: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/presentation.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"395b7ed5891d6f25e78483837fd2303e5dc33999229282814b1e6aa8847c0847"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/authorization_live.ex: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 183 over it, 1.37\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/authorization_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"961222c94c1c2984f613c3f8c8260a2830fe84e4d1304537c88eb937dbad16fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Network/SidekickRelay.swift: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: SidekickRelay (258-949). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b037456d4ca84fe7581d7fc233229972cd8ee807c4279828fb39afa22c6d279b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/arrow_serde.rs: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 178 over it, 1.36\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":"elixir/web-ng/native/god_view_nif/src/core/arrow_serde.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc806e89e68eae7ea3c6c32a8c42b0e78ac38b45d7b9971209d12c1d2f3ad63"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsView: ClassTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 142 over it, 1.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/SettingsView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a4323d892ff0015c5425372d1a27cee40f8160b46bb0171c42175f82b2db46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: infrastructure/agent.ex: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 174 over it, 1.35\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":"elixir/serviceradar_core/lib/serviceradar/infrastructure/agent.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde0c746b9c9b1208891f9f0d99063b0c1014cd40b2306663481bd75dcb9a9bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote_desktop/webrtc_signaling_manager.ex: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 174 over it, 1.35\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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2b1a60719fef9735f29d3169c07bbb185ea45d693b78f15017f6f1db51c8cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: advisory_feeds/feed_worker.ex: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 172 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/feed_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df414303d31167de312063d6a1b65d362e4e0d75e953d056207215c6abb23c60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ubuntu-feed-merge/structure.go: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: structuralPreflight (32 blocks, 74-897). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/structure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd33aa8684e7bbae3df77df9989f4602b76e6525168ac38033264023e79f32f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::parser::parse: FunctionTooLong \u2014 srql::parser::parse runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/parser.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e4a333ee4ca3caca50da1b4b7d68c7bf447cbca87b0288845a7fd9c7cc7b8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/proxmox_host_authority.ex: FileTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 169 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":"elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5866dcc4bf252fdfb11b3f79ee913f4f335b9261a37dafe8706e2d28188a12b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SYNScanner: TooManyMethods \u2014 40 methods, declared across 16 files: scan/syn_scanner_stats.go (6), scan/syn_scanner_mappings.go (5), scan/syn_scanner_packet_build.go (4), scan/syn_scanner_batch.go (3), \u002B12 more file(s). The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_types.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"312bdacbeb12fa61607c31877ff6cc4955c10cbcdd6c7d46e6dfe1c9c8d8c1ca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SYNScanner: TooManyFields \u2014 40 stored fields beside 40 methods. The bar is 30 stored fields; this is 10 over it, 1.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/scan/syn_scanner_types.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f804ddd6247f4c0278dc60f9d28400d385a6c84966da7e9513f1896b1ac1e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SshCaBundleResponse: 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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8970b9d4b3c7a7838682bc4aa49a84297105048ab65abac8f14e615f64699f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Store: 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":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/store.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5e90905a7da671ef7c9e13a3004bc6caa1d29dee5ba79916be7a14844277f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ProcessRegistry: 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":"elixir/serviceradar_core/lib/serviceradar/registry/process_registry.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dde52a34260d73fff21c5762714920bde9619944864b7d6eff35cafed8f92d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ReleaseSourceImporter: 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24d089c1f039f6a3a2cfc5c312765693d74ea03e764416be51e39197281f148"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: FlowData: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9583e8d1a7c621a7071a8c3a8bacbbb6eb06f41b5abd0bbb081435ed5917d757"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: structuralPreflight: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods, 32 blocks, lines 74-897. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/structure.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"78608a0e1c0ea06a0505db3b0eb3b850af023253d8948265e7dbc0f1737bb1a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: job_live/index.ex: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/job_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f851af3939c0ab98985cbbeca0b562a4e0bec53c378dd71709ed39fd4c620c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_netprobe::main: FunctionTooLong \u2014 serviceradar_netprobe::main runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/main.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"305cf707dbd5b98e36a095fef370241e009d18043633619d79323139493ab737"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/push_loop_config.go: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: PushLoop (18 blocks, 61-1107). The bar is 500 significant lines; this is 160 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66ab6e6c98d169121580170a5e8ebeb58673c576c01990be33c9adc2c7ee4ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/interface_threshold_worker.ex: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 160 over it, 1.32\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":"elixir/serviceradar_core/lib/serviceradar/inventory/interface_threshold_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea47a7dcd2e42d94b27531d72c198da20b9e924ce229bbfb706ea3e17f6ce998"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_flow_collector::publisher::ensure_flows_stream: FunctionTooLong \u2014 serviceradar_flow_collector::publisher::ensure_flows_stream runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a7334c1f5fb43bf2e0e7402d7905d8ed33505dd7442404dde774cc1ed6dc51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/mtr_hops.rs: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 158 over it, 1.32\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":"rust/srql/src/query/mtr_hops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f3190fd685600f40078358175a8e42cc45721aec5b02f1cee6f177b560038f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/DashboardPanelChart.jsx: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 over it, 1.31\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":"elixir/web-ng/assets/component/src/DashboardPanelChart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"333ed223528811ef9184c893a59035a37720c3f40c4b84d75e6d311360ec270b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: layout_elk_scene.decodeElkScene: FunctionTooLong \u2014 decodeElkScene runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac05be61a947562715cd4187bebd16d64a675c3a8c54760d9e626218d17ab1c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboards/security_findings.js: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 151 over it, 1.30\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":"elixir/web-ng/assets/js/dashboards/security_findings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"971aed88d3f7d8d173da9122ca28be745f321a3ef64bc7f79a345e659ff28b17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ReleaseArtifactMirror: 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":"elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26abd17bb9324482c8948a2c5580a3dd5e11684aaaeebea52f42d244c604e757"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SyncSnmpInterfaceConfig: 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":"elixir/serviceradar_core/lib/serviceradar/inventory/changes/sync_snmp_interface_config.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1633a3c25c9a9965fe5d021493675eb5447dd95acbc24c0e320b4d9f89b041"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: OutboundMail: 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":"elixir/serviceradar_core/lib/serviceradar/outbound_mail.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7641c25f3c10d21fd1f7b8ce8d559f4e5172f8903d69ecb16d911c670067c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: NativeAddonSync: 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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6c231056867717e94719521e1422603ccd2360c0d4ba184606febd4b0ff373"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SRQL: 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":"elixir/web-ng/lib/serviceradar_web_ng/srql.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ba5e6944bed6a321150b9d8ac737dbe319b43e80f7d6bd5f9dd08688f93b42"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Paths: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/paths.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"426baeb394ea019c7ea1b46a580c199eed2f505a567cb1a44b5376118b4de80e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/relay_session_manager.ex: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 150 over it, 1.30\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":"elixir/serviceradar_core/lib/serviceradar/camera/relay_session_manager.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f09d2e8c85800fe98200bd2ea4482ddd8caf43822e8172871414bc1c10f1b90"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetectorEngine.restore_checkpoint: MethodTooLong \u2014 restore_checkpoint runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/checkpoint.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdab109f62357a81aa86509761a85e5f2107e8cb069fa12d2ed0bb8cc3546e95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authored_dashboard_live/source_queries.ex: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 68 functions. The bar is 500 significant lines; this is 149 over it, 1.30\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/source_queries.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f180705fafce3fc145895f1210791ef5485df38895ed18be87ef92649a08fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/interface_data.ex: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 148 over it, 1.30\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/interface_data.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caedd2127011892af395cacee08842c19359f33b83c9dd7d7eb66917c715f5f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jobs/job_catalog.ex: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 147 over it, 1.29\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":"elixir/web-ng/lib/serviceradar_web_ng/jobs/job_catalog.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f395ce55b62a9a6793f35a8f3c17c9d30e97f57079e84fba07e18d251e3cc4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: topology/runtime_graph.ex: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 147 over it, 1.29\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":"elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd2fb0551ea95aa9e93cdffc98d82a3cee214ca8ca71c997749d3e8d342af08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_anomaly_addon::verdict::cusum_drift_record_with_policy: FunctionTooLong \u2014 serviceradar_anomaly_addon::verdict::cusum_drift_record_with_policy runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/verdict.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4e74aa2065aa7533634f3ab565483ee36684ba252d887bdd52eb7f66ad2bff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: advisory_feeds/nvd_applicability.ex: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 59 functions. The bar is 500 significant lines; this is 144 over it, 1.29\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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/nvd_applicability.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34280d4232418a7ba4114de51e062549157ab85f7d03c4082bd3426c19dece51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mdns.rs: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 141 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":"rust/netprobe/src/mdns.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc73389816e686eb2bee6266d30399c1de81d00543e74b8c08e440f173b18433"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agentgateway/gateway_client.go: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: GatewayClient (28 blocks, 89-1026). The bar is 500 significant lines; this is 140 over it, 1.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agentgateway/gateway_client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4a1897dd7ca80dd25d000cf1797cf399dee6e35a51e78f0987b1c5efd6f89f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar/results_router.ex: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 76 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":"elixir/serviceradar_core/lib/serviceradar/results_router.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3c0692aeaefc2ffc8bd852eb071dea35c12616614211759278f06aeca0cd75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/callback_command_dispatcher.ex: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 138 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f0bfd3d0ffa7e27a04e561508d8fafaa91e86027fdfc711cb0bdc2b60b1fb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: snmp_profiles/credential_resolver.ex: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 137 over it, 1.27\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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/credential_resolver.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ade62707527a3220a4a21c86b9a0b330762f6c653e6a1c890aa6c324083b81"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GatewayClient: ClassTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods, 28 blocks, lines 89-1026. The bar is 400 significant lines; this is 109 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agentgateway/gateway_client.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b658211fe5610754e4131c812a48ba3e48e5fe219baac280c9c52e505f54245"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/wifi_map.rs: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 135 over it, 1.27\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":"rust/srql/src/query/wifi_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23407c208004785aab5b6bfd3e869324c9b3ac76d5bfe762fae64efc2fa31f07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SidekickRelay.start: MethodTooLong \u2014 start runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c2069613c314f3bf012daf9538da7b3da41ca4dd4eca96c1669458ba4eb797"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RPerfTestOrchestrator.start: MethodTooLong \u2014 start runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/rperf-client/src/server.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea23855a900e6adec2f7f76c8859206e6ca0c347ff67549f62b614747a8e53d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/telemetry_onboarding_live.ex: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.27\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/telemetry_onboarding_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97561ec3814cb1cc5e90471bd8c2ef1e23d35dd292bb0d101f9676d2327d3214"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: runner: TooManyMethods \u2014 38 methods, declared across 2 files: addon/manager.go (35), addon/artifacts.go (3). The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon/manager.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"08454b697e79e143d4fdf98dbb3f7a3b71a3c5e2ae9e0c3ab3640395d30d6249"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RealWiFiScanner: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/RealWiFiScanner.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d490e2f1c582e76afa40ef56dca14a8c9bdb1a8b505f75775b58373ef81496"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Coordinator: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/CompositeSurveyView.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a7856c4823a0bb9a569985d9a7b9ebf490f68bc2c3343080e5443edb0c0e49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CredentialUsage: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/credentials/credential_usage.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"686f4d26b5e041bc2e048706a60b005fdd3d13c6d579102e9441c43f88cb58b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: RemoteAccessHostKeys: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_host_keys.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0683b348eb2327aa4e64de2c48dddad285a6737969a62c0a2907f4a2288d765b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Utils: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/utils.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd8f5508a077d82d2ac7f1bb17bfded1546ace45d56681509522fc76bc392e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ThreatIntelPluginIngestor: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_plugin_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e7e6e3f3730ffe522c0f5d62db966af7213224b06bb1c977b8fd88cd9efe9d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: GroupAccess: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/group_access.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d481d89ccf246bf8bfde199f7148d231a14ddf7b8fa67836704bacc906360b2b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: DashboardFrameChannel: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/dashboard_frame_channel.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414d859575b9250aa7278a44615b595a3e86fa6adec29748091dcd8b07eeee4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Metrics: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/metrics.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1c222dcd0577bb8dea986bb06160ca28d53eaf1ba42e9dd4b13fb67a9f2a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: OCSFDevice: TooManyFields \u2014 38 stored fields beside 4 methods. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/models/ocsf_device.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"97300819f23e9c041256c2c3b8d2f7af9fc6d7d06e004a6ca18f8415c6669801"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SidekickRelay: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 105 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5352536c99a11ec2aa01b15da5fe2bc96c02a47cacb9c3f61da09e78624b922a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboards/packages.ex: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 131 over it, 1.26\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":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/packages.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb58e129fae9564ba1fed06ac806a423806888530cca984fb9a8372ce9cd11e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: apply.applyCommand: FunctionTooLong \u2014 applyCommand runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/plugin/apply.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c1a2ec7ee11d498ab68e14ffa3f48c7e687ff5a196ec174a45cf3c09ec2a94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ui_components.ex: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 129 over it, 1.26\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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/ui_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bdc4df4ffcaffabd064da4ef05a3069596f2bc276eafa81f968f7358b2f4e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user_live/api_credentials.ex: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 129 over it, 1.26\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/user_live/api_credentials.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e20d976c8c7ad09ca53e9ba14a78bdc50b2c59e4b2f9525b444a65c9034211"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: datasvc/nats.go: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: NATSStore (35 blocks, 42-1055). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/nats.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b6ce8b408ef54af26fa0b98c58bf2229f732c44343ccd54f5d80f72a02b32c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth_user_live/show.ex: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_user_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca7771aeca3b0d4679e3925514cde5f60cc124621861bfbcf125ac11248ed3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/endpoint_packages.rs: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 121 over it, 1.24\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":"rust/srql/src/query/endpoint_packages.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec38e788dcab9991bcb30d1a7e9934f188e0ca58b565c93a70389d36db11bd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: events/filters.rs: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 120 over it, 1.24\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":"rust/srql/src/query/events/filters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"563338f43f7b519a30440e77740b76e15cb355f48ce3959f1ac9f343c6722cbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SweepService.GetSweepResults: MethodTooLong \u2014 GetSweepResults runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/sweep_service.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"525db7324af767e0f6a30e568e59ab335bca244ea4e63811e46bfe969a980fef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: god_view_nif::core::layout::layout_nodes_layered: FunctionTooLong \u2014 god_view_nif::core::layout::layout_nodes_layered runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/native/god_view_nif/src/core/layout.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b90f66e26f0bb495d848d5d9e38f58fe90d90e444d18df121375b29d5e511a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/edge_onboarding.go: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 118 over it, 1.24\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":"go/pkg/cli/edge_onboarding.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65f396fb1b21ac76f9eac39a1f37166643e82fbc8d719caed2c4587b8fdc4a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArrowKeyedEncoding: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/LocalPackages/arrow-swift/Sources/Arrow/ArrowEncoder.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9434456dcae2d0f52175b1e153b489a209b63f424dc631533bc9fbf8ed9781"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: BumblebeeIngestor: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc7ca9f9f5e1c43a67ada473fe89f47294b2a026da500330d85032586f85d1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Ids: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/ids.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7291ca9367e77f9124a942bd821d32438a067147b374763d116fb1bcce66c9a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Escalation: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"elixir/serviceradar_core/lib/serviceradar/notifications/escalation.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b61eddc1aadd481ef36a856f300ba0777546a5834fc752ad680f81181b1b890"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: FirehoseReplay: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"elixir/web-ng/lib/serviceradar_web_ng/notifications/firehose_replay.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a7fdffbc65f72982577e724a4389bb73bf839eff7ff20ba184c2f1acdd28de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: NativeAddonImporter: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2a013c54c57be87d9bbd8ab450f758149b3923024d482d605d2d882b9e82dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Points: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\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":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/points.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2554376589cd7548d1545701ab8389f85e13e1b081d2f671135ff98ef640f54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetprobeEbpfRuntime.start: MethodTooLong \u2014 start runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/ebpf_runtime.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"317bea979285a11b4917d0fc86f4ccf21b595ce0913eb031cfc39b0b2e6d722f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QueryEngine.execute_query: MethodTooLong \u2014 execute_query runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/engine.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b5abe51810551d641a968604f47939aaa63132600e7310a9d74875f63d2ddc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: topology_graph/canonical_rebuild.ex: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 114 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":"elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/canonical_rebuild.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"788d1e4c7938d9b493e5824e0fe5f0716f1344270b81df881166fe1c2781e988"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: god_view/rendering_graph_data_methods.js: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 85% of them inside a single declaration: godViewRenderingGraphDataMethods (139-773). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25777094a07b192a7af143346a6e13ad4b300cff0acdcfe51c16c37e8624cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/live_awx_launch_preflight.ex: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 111 over it, 1.22\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb922af823642648474319612a9a313e11c870c41f913a6f0cb15b4ea6370f4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar/status_handler.ex: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 65 functions. The bar is 500 significant lines; this is 111 over it, 1.22\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":"elixir/serviceradar_core/lib/serviceradar/status_handler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8efa71fd0008a4d329c890ab3955c78a9e87df3ee8591ebcb0b4327d2d6b63e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/CompositeSurveyView.swift: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CompositeSurveyView (10-831). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/CompositeSurveyView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9fc54bf4ebb5fd92e0e98a3ac67c2d39913ae5586c5ca8bd68f360eb277236"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metric_live/show.ex: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 110 over it, 1.22\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/metric_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c28a1fd37ae80741916094dfd24f5ad93eb39c9bc2d4d4b79f643073309ab5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::timeseries_metrics::build_profile_hour_of_week_peak_query: FunctionTooLong \u2014 srql::query::timeseries_metrics::build_profile_hour_of_week_peak_query runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/timeseries_metrics.rs"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb70e526b3bd9df2a4c6aa6c7a69b5d2d5bf2865b82d9aeed171e39678be5c48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: armis-api-probe/main.go: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 over it, 1.21\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":"go/cmd/tools/armis-api-probe/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7796481f76795e867231a4fcdc1182c43b38adf6b79506d3a8da811c94fe6e37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nats/jetstream_consumer.ex: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 46 functions. The bar is 500 significant lines; this is 105 over it, 1.21\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":"elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e349d03e1533df8cdc0a30f5a085d0f6d148d7264539c8915a121cf0f8c3ae9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PushLoop.pushFlowAttribution: MethodTooLong \u2014 pushFlowAttribution runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_flow_attribution.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3981b8963cf3ec32bb0b3b0aa7102ffae7aa4f0c822bd2084f9cc48eafae2201"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mtr/tracer.go: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: Tracer (33 blocks, 66-1047). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mtr/tracer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5850f36b854f55fc2774fe3b5abac36c7ff6fff0ab21004cf82398b513e4f20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Network/RealWiFiScanner.swift: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RealWiFiScanner (37-809). The bar is 500 significant lines; this is 101 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/RealWiFiScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"960b1b3d770865814d12d81820a171396abf0651480126ebf64a9f7969771690"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/device_enrichment_rules.ex: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 46 functions. The bar is 500 significant lines; this is 101 over it, 1.20\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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_enrichment_rules.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfc60474a27f1c51622f69c0cd09c4d6ef70d4b0c3a81bdf626234668b5152f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CallbackCommandContract: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f27c3ff9ab6cbbc7c85b96fa4d23ab0d333d0bc85e9cc69873e4eb29cc524a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SecureExecutionCommandDispatcher: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0f4440bcb8fb241b438472ee526d90ba60116e1501a2e6a9789f8c6f2dbc4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Sweep: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2b16c9a36943562bd4bea82da3812c7262c260f5b88b255a4b0e7d6febd98c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: DeviceSourceObservationIngestor: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/device_source_observation_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07fe1cc6cb6963106d9fb388436ac011103533f59c74645190281f776b01d9b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Suppression: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/suppression.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0359cf7cc093de1b133c31bfbb5f7209ac056d76098268337ca8241f056ac02"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: DisplayContract: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21c32c6804c291a34a7d0945ce5acaae6388421c534c6c443a60e5f704da82c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: NativeAddonImporter: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/native_addon_importer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8113f3d308c6049382316d13d967f536df9b1a44969ab6169ef0f967c27fa877"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: TokenRevocation: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/auth/token_revocation.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f288fbd8810cfbf06658145189efdf180138de182750190ccaf46f281195d3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: EndpointInventoryData: TooManyFunctions \u2014 36 functions. The bar is 30 functions; this is 6 over it, 1.20\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/endpoint_inventory_data.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5522f2e197d65e52130285859968b89d707fe887d09e37c67cbd153616f3d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/field_survey.rs: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 100 over it, 1.20\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":"rust/srql/src/query/field_survey.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1ff6e14a4ec80d9a3217c704f525459f878abca0bf6799310ed2c8bb5bddcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::wifi_map::field_sql: FunctionTooLong \u2014 srql::query::wifi_map::field_sql runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/wifi_map.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a290e04fff0e249188d6bf5a3eab8f24151fbdae9634188a6af48128f934cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: topology_live/god_view_camera_relay_components.ex: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 44 functions. The bar is 500 significant lines; this is 98 over it, 1.20\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/topology_live/god_view_camera_relay_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b77392f2c033525875c44cb35cca5271939208aef2c99d2dd7f4742d7adef71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: networks_live/active_scans_components.ex: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 95 over it, 1.19\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/active_scans_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c8bb3226043e280853c83cb5ffafb085d3afad7971f1dd6e245562dc08e07"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: validator.field: FunctionTooLong \u2014 field runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/manager_validator/go/validate.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc32314bc67f4cbb00d9a70ebc66db07ef9c2e9b9566681184957d4922e3c8db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: god_view_nif::core::causality::evaluate_causal_states_with_reasons_impl: FunctionTooLong \u2014 god_view_nif::core::causality::evaluate_causal_states_with_reasons_impl runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/native/god_view_nif/src/core/causality.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d8295cb3eb0f3010dbf44b090da793f74451c28540098e9afaf34bdb8000e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::events::filters::apply_filter: FunctionTooLong \u2014 srql::query::events::filters::apply_filter runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/events/filters.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9ec23958da98769c9662f2596dc58053f8c1db5a478a53e4f48c7943d9eb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: identity/device_lookup.ex: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 94 over it, 1.19\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":"elixir/serviceradar_core/lib/serviceradar/identity/device_lookup.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d838fad1251ffa5645fc4e486d965bdabfc461cf6de72f57e50bdb836d723a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: declarative/catalog.ex: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 94 over it, 1.19\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":"elixir/serviceradar_core/lib/serviceradar/notifications/declarative/catalog.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da66446f853841342be4bf209e7a6d06c94c4e397b08e5556e0ac6a195aee0ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/push_loop_addons.go: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: PushLoop (30 blocks, 101-1109). The bar is 500 significant lines; this is 93 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_addons.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76351ba08f14990fa2eaf8950fb178cd4cf91414af84bd35f7fe6d220de81de4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 93 over it, 1.19\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":"rust/powerdns/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b688cd7fcad971843af534f2a136c657b741016342a61422f08afd0822f5cba9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/remote_console_target_resolver.ex: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 53 functions. The bar is 500 significant lines; this is 92 over it, 1.18\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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f327b43d79d65887eb7927e312a253efac0aa1aad95aba2710f2aafa1418b773"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: observability/threat_intel_retrohunt_worker.ex: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 92 over it, 1.18\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":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_retrohunt_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb45a4afa489f4b7b5fa1bee776f0998cf3232e70d4032e31826df61c740c6d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admission/lane.ex: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 91 over it, 1.18\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":"elixir/serviceradar_core/lib/serviceradar/admission/lane.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202f1ee926ba7b45082bcd4c107055a2f8b22ec4d84aa2413dde0b95d2ed7377"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/automation_result_sanitizer.ex: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 functions. The bar is 500 significant lines; this is 90 over it, 1.18\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"349d472f45e132f63666ac649fe364ac02a14a4fb2808041f4a8cdfdaa9b1808"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/endpoint_inventory_package_set.ex: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 90 over it, 1.18\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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_package_set.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4f0394f4e446e5e22f158fd995496f3b1172fb90ee2d481fccbc3b578d0595"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: observability/log_promotion.ex: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 60 functions. The bar is 500 significant lines; this is 90 over it, 1.18\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":"elixir/serviceradar_core/lib/serviceradar/observability/log_promotion.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d86501bfcc606fc8076ef168d294a70cfb18e41f4979b372f372c9caf1c8a12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiscoveryEngine.querySNMPL2Neighbors: MethodTooLong \u2014 querySNMPL2Neighbors runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/snmp_l2_query.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9703f3718c3c54808721a40b5d1b39333483695fdd9e58bc3d2bcdc50d97ac1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: snmp_profiles/builtin_templates.ex: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c73fdfe2d3f8bcb473e700c7db98686a66aec2c3df00e339e8dd1bd2ba0c1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: axis/main.go: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 over it, 1.17\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":"go/cmd/wasm-plugins/axis/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1dba0694deb30c953eca1ef194a46c9261bc839d3bba05cb478893b6528839"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/SettingsView.swift: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: SettingsView (7-757). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/SettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126ed63af566cbd3d0765ba5c0467c4ed74296a2d4d9c30507e7aef48bb96ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/secure_child_launcher.ex: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 44 functions. The bar is 500 significant lines; this is 86 over it, 1.17\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fe36aa5fc591df0f782d5e8d2d856eba552381660fe2a7734f9abd0c9f99ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ebpf_runtime.rs: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 86 over it, 1.17\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":"rust/netprobe/src/ebpf_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78cfe0a5b3e67a0aa7bb8252a98abf2d14b2f81c5fd5d8841994b741d5aaa18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tracer: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods, 33 blocks, lines 66-1047. The bar is 400 significant lines; this is 68 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mtr/tracer.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d05fb542448029b98518f54ff0d4c3a745720adf35ddbdf112c37a037355d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: identity/duplicate_sweep.ex: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 85 over it, 1.17\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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/duplicate_sweep.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9658ebcdb04e7cc186a08048178152a34a7439fc132d985a0944dfa82388535"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::timeseries_metrics::build_stats_query_with_source: FunctionTooLong \u2014 srql::query::timeseries_metrics::build_stats_query_with_source runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/timeseries_metrics.rs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"062d2c7d796a1ecad01af148d3ffe853fa9e00d07e6e7034db60517d5ff3e91c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::translate::translate_request: FunctionTooLong \u2014 srql::query::translate::translate_request runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/translate.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"caff699236d0b5d59e0423670833f681f4b9953e066b0121b6bfe4e4760fccb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/push_loop_status.go: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: PushLoop (12 blocks, 48-668). The bar is 500 significant lines; this is 84 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_status.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3581abf4d95e5f630de7ce47600b48db9f8b19f14bacee8341e46f4350dbf05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/cpu_metrics.rs: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 84 over it, 1.17\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":"rust/srql/src/query/cpu_metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b5f75b5abdaeaa3fc355f3cfed297d08cca83e4ddd270cbe28d903817aaa78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ReleaseArtifactServer: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/release_artifact_server.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8230403366523e098869e43bbc3909afa7a12a75460b02dc76a0976cf83f6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AwxMembershipApproval: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_approval.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26933debfc692be33c1da23d4c45aad558c61e8ec4d8a9c5eee0cbd0b8127ccf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: InterfaceClassifier: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/interface_classifier.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd161f06d6f2d1a7687e1b6de854eacd235e1909f0fe4d3338ad183c1ac4a17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: GenericWebhook: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/generic_webhook.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"759bff9008f339ef4f61e3ca7bc0e638194b153ab8a8199c3aa82a9295ca3da0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: NativeAddonSyncWorker: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e052325e6f2e5b9deebd4c9b4be46169edd9e048f281617e0481fff4942fb8a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Table: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffee26b3f19338a88d7f31239ec05bdde2ff08f2d88ef6682b74da32bf1a8bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Helpers: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/helpers.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b369058ae6f5cbe0d09f3d6b1a6b77653911ebd3910191efedc96dad92176b8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/census.rs: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 83 over it, 1.17\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":"rust/netprobe/src/census.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"479be1695f6a9bdbf6463f8637b564768a2c1b52849e6fca2e15b6e24f2480fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: god_view_acceptance_geometry_observer.acceptanceGeometrySnapshot: FunctionTooLong \u2014 acceptanceGeometrySnapshot runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d4834bc1991a45a46c14731ccb3160fc453c3ddf8bf62b6fff2486827822e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: god_view_nif::core::telemetry::enrich_edges_telemetry_impl: FunctionTooLong \u2014 god_view_nif::core::telemetry::enrich_edges_telemetry_impl runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/native/god_view_nif/src/core/telemetry.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51a5a41115b0b2da7c93367de7752bef0dd89159b8315055cd5e26f05e441ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddonConfig.into_engine_config: MethodTooLong \u2014 into_engine_config runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/config.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"79772b0dac966d59c2534a1ce78517ffa96584b9c62a62a7358601de7c993733"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: runner: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods, 36 blocks, lines 349-1244. The bar is 400 significant lines; this is 63 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/addon/manager.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d5cd9e050bed49350d82aac1a4a5e4317558c8049a21844397573ca2b54e16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flows/filters.rs: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 77 over it, 1.15\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":"rust/srql/src/query/flows/filters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0a1b3a222cb17e406b42d4eaf2dfbd8b44d75bb5e812cd762e259ae8995358"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NATSStore: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods, 35 blocks, lines 42-1055. The bar is 400 significant lines; this is 60 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/nats.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be334ae997d0078095ec87d06ab96761f2807ea6f974a4df0257042e0c005be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiscoveryEngine.querySingleUniFiAPI: MethodTooLong \u2014 querySingleUniFiAPI runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mapper/ubnt_poller.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1869510096ad714bb1f518811fc4f8a9fa061034f2db0c8937534ee09b8575d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Converter.convert_v9: MethodTooLong \u2014 convert_v9 runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab13592f735898a77b62e9acd7193a4510d94ac4663241b843c086357b95a8d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::devices::filters::params::collect_filter_params: FunctionTooLong \u2014 srql::query::devices::filters::params::collect_filter_params runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/devices/filters/params.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60f550c31e7096eb78ba8c61d65238a4f3338cbc1177db72220838912343a2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.projectOSV: FunctionTooLong \u2014 projectOSV runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/projector.go"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b3050edf985b3c08b8cc24cdf85aabf5afa6f77a9a0a0407a76fe077c6922b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge_sites_live/show.ex: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"943f232ca8dad69dc1502526a32e819adccbc71955dd58aee5d011d9e6fc3056"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: northbound/dispatcher.ex: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 68 over it, 1.14\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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41ca58823811c9b3f8fc13c364d1e7ffe7113952e4dcf69761ae1bfa02e92c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/addon_fleet.ex: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 55 functions. The bar is 500 significant lines; this is 67 over it, 1.13\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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_fleet.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec717efbba91a330b6328d38dc283ab803b942d5ec98f22780b504469537125"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/edge_controller.ex: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 67 over it, 1.13\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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/edge_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef94b6a322a527f3c85b2fc969eb4b56f8dbba967b6e5c2169982052a55a56f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/saml_controller.ex: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 67 over it, 1.13\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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/saml_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0601ff123e84645cf7f13c4631ff6b82cb6130e501027792cecaf07582d59f57"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NATSStore: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/nats.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fdc5a8868faccdb8be448f7dad31b6002b7f2976d188c04749386408582471"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SecureExecutionCommandContract: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4602b2b906665c666204d02f868390dd4a2775dc38d209300c2d4b58b3b5dc15"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CredentialGrants: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/credential_grants.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc863ddab08de31c4b5475acd1720ea60cdfee2d149f3ba5e9f481bcfccf80b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: StateMonitor: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/infrastructure/state_monitor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"111ccddfedd6812fde5be478aad247bf5ce35eecfbba9aa2ee20b454b3e0fd85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SourceFacts: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/source_facts.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7ec105f8ca09c9d4dc1f731dc200bc44081597fc9883b19b9a28dbeba42f71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: PluginCredentialGrants: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/plugin_credential_grants.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0991dcf3423219ef9acb050450f94c5060f3e1bbfc80d4fded5b1dee68f41147"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AnalysisHTTPDispatchWorker: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_http_dispatch_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d51491463f4d973d2b2aef36cefba34efd25d55fb97db554051793f2774f900"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DetectorEngine: TooManyMethods \u2014 34 methods, declared across 3 files: engine/mod.rs (30), engine/checkpoint.rs (2), engine/counter.rs (2). The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe61ffb5239481ace81bcce8690515ad5d35c4069e542715536622cae5728ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: EdgeOnboardingPackage: TooManyFields \u2014 34 stored fields. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/models/edge_onboarding.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"519149a6fdffe18eefa8844b0eee28ab109c82c0f5f2e7c5aba5e6f1a78fa702"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: monitoring/alert.ex: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 over it, 1.13\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":"elixir/serviceradar_core/lib/serviceradar/monitoring/alert.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e7b9e40c559a63290f1e3eb8cd0f190883e8e5336b614e2b8b54e263ea6531"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/auth_users_live.ex: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 31 functions. The bar is 500 significant lines; this is 66 over it, 1.13\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_users_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a0f9e101b0af247975f2cbf863fb041a753cc520ad5e08e16c1da27f33ef98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PushLoop.pushNetprobeResults: MethodTooLong \u2014 pushNetprobeResults runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_mapper_netprobe.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bc135b64f113444a909c22489ccbc886cfa69473cdd58ce5cd8f7c3f7e4700"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_netprobe::fingerprint::license_clean_p0f_event_with_accumulated: FunctionTooLong \u2014 serviceradar_netprobe::fingerprint::license_clean_p0f_event_with_accumulated runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/fingerprint.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf552fc60f3301d6f5c74df4f8cb9b8cdf433c0ff9f5046a4ec4ef8c04eab80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/secret_refs.ex: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 63 functions. The bar is 500 significant lines; this is 64 over it, 1.13\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":"elixir/serviceradar_core/lib/serviceradar/plugins/secret_refs.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0316ca74fc185af40d225d9543b2281721f7f9e06b5a410a31ab5212c82b2d0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notifications/notification_delivery.ex: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\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":"elixir/serviceradar_core/lib/serviceradar/notifications/notification_delivery.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618433f7b23361d753aaf4f367bf7b87f8b1421feb0c943370030fb1683fd260"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/remote_access_recordings_live.ex: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 60 over it, 1.12\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_recordings_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0838509dc0e66f95e70aca91a426d189353cd824cad3ea9702b31f8737a4bd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netflow/converter.rs: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: Converter (2 blocks, 13-609). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b678b0a046a342e45da61c460624a156757ea23ef4aa2b8be70afc906f232d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_anomaly_addon::engine::apply_drift_lifecycle: FunctionTooLong \u2014 serviceradar_anomaly_addon::engine::apply_drift_lifecycle runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/engine/mod.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f97ea811cb1bb6f51cda538d689e82fa21c0d0e5f5a45e6d06efa8d3baeb27b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/snmp_service.go: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: SNMPAgentService (18 blocks, 92-754). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/snmp_service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17fdaf9c88c3e287eb67cd86a90ae2c12adc901ab2532e32e3eba0a699e774e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transports/email.ex: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 64 functions. The bar is 500 significant lines; this is 58 over it, 1.12\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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/email.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99a81053cb9b1c5ce01e0d9f820c0a68a9e4ba6c4b3adfd4a07594e57bceab8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote_desktop/media_session_manager.ex: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 57 functions. The bar is 500 significant lines; this is 58 over it, 1.12\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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/media_session_manager.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d21b9aa01a2a84ba4ca9d72d9e164454546ec94bc24f88daa78c46f78bfd8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: capture/filter.rs: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 58 over it, 1.12\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":"rust/netprobe/src/capture/filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd8384d2c82be88e502fbff172314b90ba8ac83a521a9a960e6c8f393cc26aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processors/falco_events.ex: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 functions. The bar is 500 significant lines; this is 57 over it, 1.11\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad15e43e4130d584e630c31ea76619272ad1fa9232b98012a6dccc2c8b22a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/device_controller.ex: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 57 over it, 1.11\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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/device_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d2201012dd2fbf2d26eb0ab9aba38644409c3fba6c571c07ff437474e9a5e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/callback_launch_orchestrator.ex: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 55 over it, 1.11\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ff8d9144cd66b2b090bb637512987ffe45a59ae85681a7ec4e26df6b1603e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notifications/renderer.ex: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 55 over it, 1.11\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":"elixir/serviceradar_core/lib/serviceradar/notifications/renderer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b63a6ae73943428b9fe72094b5f603e6aaa132cd304989eb5232242b43c0da8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_anomaly_addon::verdict::verdict_record_with_policy: FunctionTooLong \u2014 serviceradar_anomaly_addon::verdict::verdict_record_with_policy runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/verdict.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ef97894bdb30c231df2479cce5acfe32440b812f3977aaf1d7cd011c779741"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::virtualization::filter_predicate: FunctionTooLong \u2014 srql::query::virtualization::filter_predicate runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/virtualization.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f835621a887d71a7e63256ff9a40717446ea83caf2aa19a43386f3c1e94a9d67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/push_loop_capabilities.go: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 54 over it, 1.11\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":"go/pkg/agent/push_loop_capabilities.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efa5ad9d1c7a5f8c8793d0fee2b8be06f46e024096665d0cb91ac398c9b2078"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: devices/manual_device_creator.ex: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 53 over it, 1.11\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":"elixir/web-ng/lib/serviceradar_web_ng/devices/manual_device_creator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a9e29a71007ed17d1438de8b4d86ec5203281bdfbcaa3931e8da93aed3aa40"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NATSAccountServer: ClassTooLong \u2014 442 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods, 17 blocks, lines 44-900. The bar is 400 significant lines; this is 42 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/nats_account_service.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c982678baa6e2a5f6980e8bebfb2e94600f3c095d433a4337eacb2ad50640be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/plugin_runtime_http.go: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\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":"go/pkg/agent/plugin_runtime_http.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e759605d355f3c5f991320dd6238aa9e2fa3c9aa38b4a9939b5465948a9da058"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Device: 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":"elixir/serviceradar_core/lib/serviceradar/actors/device.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e1c325c2efc08f3ecf96f3757040de80483b0953c934658fe7150970c40df1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: RemoteAccessTargetPolicy: 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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_target_policy.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39b94db67c225526565cc1734afd48dca3e5ba56b292fa4589ff9fbb7274420"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: OtelMetrics: 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/otel_metrics.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a28740e9d07cec694fc39242eb076e2d0ac4f5a2445cec09e42cc551ee34b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: BumblebeeCatalogRefreshWorker: 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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c0a32bfd0119c82b34c6d71588ab8639989892dc6687591bd7f24bbbad586f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Stream: 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/stream.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8291ed38231413f84b014fc0576391b17ff3b3b83b1a937824302567b1898c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Index: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_hub_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35858d6a58d9d5e951d74ab45c1823b7609805acac9d9fbe7b9d8e5ff2b5c317"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CameraComponents: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/camera_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef83bd113085343f251817515113e5360be4685b64012d1e6059e9db958b9c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: DeviceTabRuntime: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_tab_runtime.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1213c27cf47bb9861789582d71939912f2fd69faceb3b89f80b869871fd07569"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: MailLive: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mail_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf43d48df975e7e890bec2c0b5dfb78f9859a7c90a86dce0345a77f84a5b40de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CredentialInventoryComponents: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live/credential_inventory_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df576a929477de2118d4c7f049a84f343234c23afb5d8f1dc07b831cd7bfa678"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AddonConfig: TooManyFields \u2014 33 stored fields beside 3 methods. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/anomaly-addon/src/config.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a57485fc6cf15b5e12dfaf4baada618ad79f7ae43b5cdc724df699ff1aa0b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/secure_execution_current_authority.ex: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b21aa769f7db5d0b7546b57cb56252b88e23b3056b6d92403cfd295e4d343"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/remote_access_requests.ex: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 49 over it, 1.10\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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_requests.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddba1e85f8eb082785223a6bd387941a2aa2d8d0f1037670a033f0ee1296d243"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/first_party_release_client.ex: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 49 over it, 1.10\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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_release_client.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"878eab2a53f95938142ba3e5d88b65eb8565227f79067208c7421bcff580dd15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/dashboard_service_views.rs: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 49 over it, 1.10\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":"rust/srql/src/query/dashboard_service_views.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a229ff98ce368144737be13526454219402683a7b1c968804a0cb9af74e615d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/show_template.ex: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/show_template.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"586fbc28f8f8c81ec75b51379128b9854ef64874e4d5a838bad3264f97ac0d13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remediation/agent_links.ex: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 47 over it, 1.09\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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/agent_links.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcfe76bf4355f61f41f80ef9f8ca941bc28b344a04b6cb938123cfe1f65a7c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: timeseries/series_data.ex: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 45 over it, 1.09\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":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/series_data.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6901bb6598dff4513780eac95c1844d328e7e58768ac2a6c2b8619a3b9fc879b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardPanelChart.CapacityForecastChart: FunctionTooLong \u2014 CapacityForecastChart runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardPanelChart.jsx"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e46d6637f2bf81b979901544fde095982b49ad4b0fd9e02e3ffb5436b1bdbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rendering_label_collision.anchorPlacement: FunctionTooLong \u2014 anchorPlacement runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_label_collision.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf36e9e30dd28e20f2d2b9aaf8abcdf2007f2a9a6ca752853a510204f5ec9e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Metrics.new: MethodTooLong \u2014 new runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/metrics.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3237f65a512a9872ae42839770db6bc8a1105deae164f109fc09ed93d40b4550"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mapper-baseline/main.go: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\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":"go/cmd/tools/mapper-baseline/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5054471a8f40db273fdd532fdc58b8cfe9b0d68d216566b3afb2b5070d6b3ac5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/file_callback_response_policy_provider.ex: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 42 over it, 1.08\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a577266da807d9965b1951085b1a7d2df77398091fbc8a4b9fb18dc96c4fa055"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote_desktop/webrtc_client.js: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 63% of them inside a single declaration: RemoteDesktopWebRTCClient (143-659). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/remote_desktop/webrtc_client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f58dc58b89da7a7bb0c693d8abd14934fbf431a23820b02416248f71a1308a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: integrations/integration_source.ex: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\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":"elixir/serviceradar_core/lib/serviceradar/integrations/integration_source.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff6c10f0922d67ca26b1877886a1f016da08adfdbed6925ec945902ed66baf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::viz::meta_for_plan: FunctionTooLong \u2014 srql::query::viz::meta_for_plan runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/viz/mod.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d97f728418290861a91334e1b76709ccc0228f9778c9ca47b55e108d65650f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_service/client.ex: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 39 over it, 1.08\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":"elixir/serviceradar_core/lib/serviceradar/data_service/client.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b3ed6d9c29ccbb972b9ab46c2b787adde0ada890c209482869ade92f63a09c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/event_ingestor.ex: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 38 over it, 1.08\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/event_ingestor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"198bf3268b130690942525198bc817238e258c0837f0cf5b3c62b9764967b492"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edge/collector_bundle_generator.ex: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 38 over it, 1.08\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":"elixir/web-ng/lib/serviceradar_web_ng/edge/collector_bundle_generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4602c3d199fa862278e549f1f7b0e949b5110fe5cd7f583699d635ac03e6011b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxmox/console.go: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 36 over it, 1.07\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":"go/cmd/wasm-plugins/proxmox/console.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"601722e66b1938927616e61daa7967ce28c3d165be621f25d38928dc50522fbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PushLoop.applyConfigResponseWithSequence: MethodTooLong \u2014 applyConfigResponseWithSequence runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/push_loop_config.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"13525258549bb1468f11bec9dccd3fb72758f2712403940e8e474632adf91c89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: srql::query::field_survey::field_sql: FunctionTooLong \u2014 srql::query::field_survey::field_sql runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/field_survey.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a69246beac8dd160504abcc48c83fcefe3944563e688c1ce685e057e1942961"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 34 over it, 1.07\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":"rust/dgraph-topology/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e7c6b75cae52103137403a80497cafe71805995d566913687705dd2a805bdd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Client: TooManyFields \u2014 32 stored fields beside 45 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/netprobe/client.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"52767e5517c502140a0b7cf0c1771479f57716c4b0c4d15296ce50e90eb9b5a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tracer: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/mtr/tracer.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6182e9a6ffacea830fee25d8225f0c524beb2747e46ba0b63633f73d3a56f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CertIssuer: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/cert_issuer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"309c3ffe1ee8dc6de7dd4d31bec3b3351376970979859f96749089858b6220dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ExecutionLifecycle: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/execution_lifecycle.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d206d84dfbc124b8f6d62e53d976ec5a17bd4c78d675d07726cb55df5b8fb7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AnalysisWorkerAlertRouter: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/camera/analysis_worker_alert_router.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea76e0a0699c4ceeb894705ed825628f22f75312776297239d8ba2a03cc061a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: PluginIntegrationProvisioner: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_integration_provisioner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c58a8629e4dee1d1a2d19555fff5d3cd790f31909f87983ed465baf3821667"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: OnboardingPackages: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/onboarding_packages.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe532711507bb36ed3f75928023fb79ed3d6bb1e102cf05bcd797e56cc6e5914"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ReleaseManifestValidator: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/release_manifest_validator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf55cb4f13488e185b895f96aa8a7650ebdc605ca85632c699ee7dec59b9004"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ReportDeliveryWorker: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/report_delivery_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc451b56ffd5a006d2ca51358874c268c3898fba1a8daf9a9082b38f3620cfbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CredentialManagement: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live/credential_management.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"502c76a1ab12196eff565f9913f49d4e40dd14e339777430099fdca07b1e05b4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EdgeWrite: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/dgraph-topology/src/types/writes.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"64803f01e2dd0e406340d4bd4fa605a8447652958fad738e3db196601f82dc78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: device: TooManyFields \u2014 32 stored fields beside 10 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/syncsources/armis/device.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa260b1bcc0e22ab61f1d3a749bd48bce340c9f167938f95b1835367b3b76e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AlertRow: TooManyFields \u2014 32 stored fields beside 1 method. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/models/events.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"206fe46036eaf956002911f98350680509757bf5357ccb20dda2b1e00b87c60f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inventory/device_hostname_rdns.ex: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 33 over it, 1.07\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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363715f7a67a2674cad20f8d15cb85e00379531756aaff4ca15f8bb6eef579ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 33 over it, 1.07\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":"rust/anomaly-addon/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5713d7d35ccd76ceaaea36c9dc722ae3727525d71f84b78493802a7a861bcf70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/proxmox_console_plugin.go: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\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":"go/pkg/agent/proxmox_console_plugin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"878d60b84acf3ce365c2dbc2c8ae58b055b63a25d29d84fe8765ff084dde72bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: event_writer/flow_enrichment.ex: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 39 functions. The bar is 500 significant lines; this is 32 over it, 1.06\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":"elixir/serviceradar_core/lib/serviceradar/event_writer/flow_enrichment.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df8d6bdb42aa973f622ce6cd8d81c70a12878ce2a69544109731bf2c4b410c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/first_party_importer.ex: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 43 functions. The bar is 500 significant lines; this is 32 over it, 1.06\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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1b37e76a00569cb094f4c1fc81508265cddd0de629c268b67a64028bbf5212"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.rs: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 32 over it, 1.06\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":"rust/rperf-client/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9574ed66842f401694ebf7774e3886a8b62fbed813612c5f74816a63154067"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BaseProcessor: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods, 31 blocks, lines 45-925. The bar is 400 significant lines; this is 25 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/sweeper/base_processor.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"24329f556aed497e6492fd41b805d1c42fa6153be0e7501c1c8c495c520988f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ansible/variable_schema.ex: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 31 over it, 1.06\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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/variable_schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"852a22e0d19fcf1de01d0c91bf4fb0bf9569658f2faef2817b54228f51707b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/plugin_package_controller.ex: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 42 functions. The bar is 500 significant lines; this is 31 over it, 1.06\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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_package_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6067644a6af88a4134d1ddca4bf4875573dbbf0e953b4b9e78128ae0e8c1da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: datasvc/nats_account_service.go: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: NATSAccountServer (17 blocks, 44-900). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/datasvc/nats_account_service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fedfe282d61f32db71f21bc576b91f792f5ab9f0065832526a6c579bde7c901"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent.newDesktopMediaGatewaySender: FunctionTooLong \u2014 newDesktopMediaGatewaySender runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/desktop_media_sender.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fc8b6eed0f19d9f2726b1d29fa7931aab7eb775fa4adc1b1d0675f4dfdc0b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: pluginExecution.hostHTTPRequest: MethodTooLong \u2014 hostHTTPRequest runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/plugin_runtime_http.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e76cc90cb392ec31012be119df2dc40e7c5e7a44919c0a4c33895f35d314b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prefix_tags/netbox_import_worker.ex: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 28 over it, 1.06\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":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"417bd81de124f71a7d2696b1bba09f610fa48b48f3df6dc183cbda8cc7605942"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/config_schema.ex: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 25 over it, 1.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":"elixir/serviceradar_core/lib/serviceradar/plugins/config_schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd6ed51b97fcaa72a04a44d78c2f7bc6bae43b7cdbd0cc7a196b3c5c430bc07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prefix_tags/loader.ex: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 32 functions. The bar is 500 significant lines; this is 25 over it, 1.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":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/loader.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6998c912716f9f8b1a8c0ba39fb4051e829fa08a48cf83bbf708887aebfec337"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/trace_summaries.rs: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 25 over it, 1.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":"rust/srql/src/query/trace_summaries.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305ddbfb8e16bc2d03b8cdad6bcfdb9e90e8bd9ceb4da9c5b7ae69d80aa9717"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service_availability_noc.dashboardHtml: FunctionTooLong \u2014 dashboardHtml runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/dashboards/service_availability_noc.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80a68f6b085b60bc0795860b0802165d46e0962f96e20df1db1bc95bd6e426a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serviceradar_flow_collector::metrics::render_prometheus: FunctionTooLong \u2014 serviceradar_flow_collector::metrics::render_prometheus runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/metrics.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48ce56a6f6559b71bd5ecd9bfd56636eec8255fc1ee7214504d8d619155aee3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: topology_live/god_view_camera_relay.ex: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 24 over it, 1.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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/topology_live/god_view_camera_relay.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"937636764886135256c78955f544eb55aaa1a4fffc08b33086081b0e3c871e78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/availability_source_profiles_live.ex: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 over it, 1.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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/availability_source_profiles_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9becdde836f15eaad1efaadc32d91bdd48f08fd3c028d25565b1de7a800e326"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Converter: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 2 blocks, lines 13-609. The bar is 400 significant lines; this is 18 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/netflow/converter.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0a0c18d470921092d4bedb475d896d29eda67a58918b79e6d201fc7db65d0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/sync_runtime.go: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\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":"go/pkg/agent/sync_runtime.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf8d260e902dc04d70550e7d0734b69ca1a1effbc8d7243c925377f46f9e1b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sweeper/base_processor.go: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: BaseProcessor (31 blocks, 45-925). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/sweeper/base_processor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7692a11749700d54018a24d0d4b334b04af8d255745c7c3fc1a7b6535303bb29"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: structuralPreflight: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/cmd/tools/ubuntu-feed-merge/structure.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2f717a797842aeb2ec69528642e11a42b200cf43116330458f9c2f8517bce5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CallbackCommandRecovery: 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84cdffdcdc9d0d83e47c8ed0d430cda95dcb9543c7c8adf60a1892eb4bc7f53"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Dgraph: 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":"elixir/serviceradar_core/lib/serviceradar/dgraph.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6543af472a0adfc57278378294e47192a4f676b49eb4f9a1c0a9c4c15828834a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: UbuntuAdapter: 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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/ubuntu_adapter.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9313fe871fd2419c04f18d5ec774c85246d04e91306052cac59c2fa706bd3f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: IntegrationIdentity: 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":"elixir/serviceradar_core/lib/serviceradar/inventory/integration_identity.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c715cbdb811a78063b45c85bf79f1e4208b76abe27279a97316374093d8f7998"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AlertGenerator: 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":"elixir/serviceradar_core/lib/serviceradar/monitoring/alert_generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"378982a2edee9d382c256349893f09c05c3e0a77358d92de9d82ebe0f58cef98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: PluginStateContract: 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":"elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/plugin_state_contract.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8303ff43fd07e5febbce8887f5a3f48c91479fed773f1d8763535ef75e07a977"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: StatefulAlertEngine: 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":"elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c3262833eba83d97b11b0bf2e6dc38b0d0506ecc656aee4779b9aa48dd502c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: MapperPromotion: 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":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/mapper_promotion.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12320fd43d26ff4a95fcecad5fb3bcdeb1fdfcf495caae166f0d4d4ccf047e74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AnalysisWorkerResolver: 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_resolver.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82611c99b59e0fdb67e2733d7bb54ff3ca3e3974db48013ebcaa2d0f9189dd5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: PluginConfigForm: 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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/plugin_config_form.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"338647396161b386309d06622ddf6f990b81ec599c308ab1d4b573099713b7f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoginView.body: MethodTooLong \u2014 body runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/ContentView.swift"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"523ee436e9bd9f1bf0ba14589c4efe16b7abe99832033c80dc58444a22ab71cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: observability/signal_display.ex: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 36 functions. The bar is 500 significant lines; this is 14 over it, 1.03\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":"elixir/web-ng/lib/serviceradar_web_ng/observability/signal_display.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae944e9deb8d2478c6529ad22488f96d747ec396b28123c6bda15fe87c2a45f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/collector_controller.ex: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 40 functions. The bar is 500 significant lines; this is 14 over it, 1.03\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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8e4cd31764e91695110ffe41be3aa7eff2eb58698439ac1fb46eb21809996b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SignalMapView: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Views/SignalMapView.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3443651ff8f7248d297dd164fe0beade1e859357dd17c8beb5d600101f0fb28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/frame.rs: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 13 over it, 1.03\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":"rust/anomaly-addon/src/frame.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be97301687945feade5637a5cb8a76568d76ed6e46f83169820710ef270aa179"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: god_view/lifecycle_dom_setup_methods.js: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 80% of them inside a single declaration: godViewLifecycleDomSetupMethods (158-702). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"815efed22499d4063e1288712653b5fb23578285c1c46be65db612c2a24cd982"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: identity/merge_engine.ex: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/merge_engine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2570877b00e8ddd7334f8d8350fae6665417e0a92a7636f1342c3b9ea24ab7ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/addon_activation.go: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 over it, 1.02\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":"go/pkg/agent/addon_activation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd48292855dc1ebe484b70e1488ec8e9a172304ee597c9cb31c506441e5ddf53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/github_importer.ex: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 11 over it, 1.02\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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/github_importer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d1a1e3583cb675cc3bce23100b6f4a291f3c0f322d71bdc4e514bfd5045969"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validation/orchestrator.ex: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\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":"elixir/serviceradar_core/lib/serviceradar/composite_checks/validation/orchestrator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f46b668f40171cbee1d5c8ac6c30b93437291c3cfa8b5295f38a22641062b79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bgp_live/components.ex: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f06094d046ddb78c9081fd72a898f76dda743b5fcec20706e76e1fc5f45f76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: otel::http_server::handle_otlp: FunctionTooLong \u2014 otel::http_server::handle_otlp runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel/src/http_server.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab8772d9e99ae65720ae3ea316755b241971df537b1aedc6e03ffbcdcb39397"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/inventory.rs: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 9 over it, 1.02\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":"rust/srql/src/models/inventory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ead8270424e72458d4cec095b1eb39594f66bb69f7b1ad73c55b913ee72fde8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/scan_live.ex: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/scan_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6722355ff7b4533b2aed499cd595ff4edea54cc29287d632db767cfb8235223b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authored_dashboard_live/index.ex: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd69a8f4430a04521b3f0c00348da1d8ad98f83672ba9aa15f75b471999e69f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serviceradar_agent_gateway/status_processor.ex: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 5 over it, 1.01\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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/status_processor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfa39afd034ddf7eb8521d7c33afb2732749c7245f30ac1a6eca3d3d5009c91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notifications/provider_seeder.ex: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\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":"elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"820c09d073d90f8de6999749001675264c0eb4e35eac8e245504dd34eeab83f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Publisher.drain_retries_until_empty: MethodTooLong \u2014 drain_retries_until_empty runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/flow-collector/src/publisher.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"de04aab87dd1ef64c7e2d26bf1539f936f6553612da1895c1cbffe6e67deebd4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OtelCollectorAddon.configure: MethodTooLong \u2014 configure runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/otel-addon/src/addon.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed668df288790e3261beed65b07580a866967e5eb9d319c35282d9d862b09cad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/awx_callback_credential.go: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\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":"go/pkg/agent/awx_callback_credential.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3d79b735505956785bbb2ecb832180c03091b8a4b4da370bfbedea9dc15cc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/proxmox_console.go: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\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":"go/pkg/agent/proxmox_console.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"893399c982d406a1e18d534f5473947a2f04958b1c90dec8c0d758f03eb749bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device_live/endpoint_inventory_runtime.ex: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 54 functions. The bar is 500 significant lines; this is 3 over it, 1.01\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/endpoint_inventory_runtime.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"432ac9045c67c6b6f74384d1886d847de6e3b4d51a362407d5df1d389a064631"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index/command_status.ex: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 3 over it, 1.01\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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/command_status.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85dffdff3e6e24568e20519bf57fb666e6a9d4d3c588a22d0655d7bbedf3acf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SidekickClient: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 2 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/SidekickClient.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d765ae5520169a2681d1e5d0222fe51e1f2225062e42fb71f7cce7ac3c9ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 19 shared lines): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:65-104 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:109-148 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:83-129 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:134-180 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:185-229 \u2014 These 5 members are variants of one another: a block of 19 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"873050b33d7eaa6b7e41e4e92f4a443a3fa9dcd107d4c5877a1122858e9ec412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:212-248 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:258-286 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0886b0eeb6cf593495d5064f5017a33d9c43339faf1f561a1282a3edde056879"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex:33-70 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex:279-316 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd51657362253026c97ec6c129ea680cdfa1977c7263f8b6240f128a2c78eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): elixir/serviceradar_core/lib/serviceradar/plugins/storage_token.ex:48-58 | elixir/web-ng/lib/serviceradar_web_ng/plugins/storage.ex:108-118 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"elixir/serviceradar_core/lib/serviceradar/plugins/storage_token.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dd6b025194ed9fbb895c4c68e7c818ef0d7ba20a1834db99090305d725feb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:132-146 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:167-181 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cc3ad3b7995e48230a28e0ff1cbd181df43006473f276e0153899d74c172ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:1237-1252 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:1257-1272 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff13ab747d4c8f2a44f3e9b317eed4a0aabedccfb582560e60a5075db4d0b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/layout_helpers.ex:20-27 | elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/layout_helpers.ex:31-38 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/layout_helpers.ex"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"51006074839732e174bbac5127dbcde0393c0c5c9bcecdbfb725dbb769402803"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex:83-90 | elixir/serviceradar_core/lib/serviceradar/inventory/agent_link_repair_worker.ex:428-435 | elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_worker.ex:94-103 | elixir/serviceradar_core/lib/serviceradar/inventory/device_identifier_gc_worker.ex:208-215 | elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_assessment_worker.ex:47-54 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex:42-49 | elixir/serviceradar_core/lib/serviceradar/jobs/schedule_health_worker.ex:124-131 | elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_state_cleanup_worker.ex:247-254 | elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_cleanup_worker.ex:47-54 | elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex:117-124 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:54-61 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex:57-64 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:48-55 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:50-57 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_security_refresh_worker.ex:73-80 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_cleanup_worker.ex:58-65 | elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex:51-58 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex:100-107 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fb587ff26856fd6a7bab562397285bea78bfaa7899dd150257cacef3b2b0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/credentials/plugin_credential_rule_reconcile_worker.ex:98-107 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_integration_reconcile_worker.ex:56-65 | elixir/serviceradar_core/lib/serviceradar/identity/cli_auth_cleanup_worker.ex:87-96 | elixir/serviceradar_core/lib/serviceradar/inventory/interface_threshold_worker.ex:90-99 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex:40-49 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_worker.ex:53-62 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_legacy_assignment_recovery_worker.ex:95-104 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_policy_assignment_recovery_dispatch_worker.ex:70-79 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex:36-45 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex:77-86 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_credential_rule_reconcile_worker.ex"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9551885dc6357488ae121c74ecbdc4d0ad5f80a78a69092b77f676d018a274"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:361-381 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:479-496 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:527-544 | elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:179-187 | elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:1064-1072 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1098-1106 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1115-1123 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1196-1204 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1408-1416 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:2015-2023 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa6c4a6dbc84a1486a49cad2046f0108cc4220529de1abde9a0e2b92f3b607b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex:63-90 | elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex:267-297 | elixir/serviceradar_core/lib/serviceradar/events/health_writer.ex:31-58 | elixir/serviceradar_core/lib/serviceradar/events/onboarding_writer.ex:36-63 | elixir/serviceradar_core/lib/serviceradar/infrastructure/event_publisher.ex:240-275 | elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:1471-1515 | elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_event_writer.ex:74-106 | elixir/serviceradar_core/lib/serviceradar/observability/oban_failure_event_reporter.ex:106-150 | elixir/serviceradar_core/lib/serviceradar/observability/sync_log_writer.ex:79-116 \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":"elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c122a54ec7054555e28e064a1660eb907dc30f24eeee1b450ca83095675afd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex:441-448 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:602-609 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex:205-212 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/spec.ex:286-293 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/process_metrics_components.ex:173-178 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/common.ex:33-40 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/visibility_components.ex:1504-1509 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex:165-172 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7c14f5759666e3e673e2d4521b6bbd9594ec2d6affd9a9752ebc085595990b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_response_policy.ex:117-126 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:136-145 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex:310-319 | elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex:1254-1263 | elixir/serviceradar_core/lib/serviceradar/inventory/device_source_observation_ingestor.ex:207-216 | elixir/serviceradar_core/lib/serviceradar/inventory/sync/batch_executor.ex:30-39 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_response_policy.ex"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"770eb0370acd8c96e6a0d671e4e7f8823ed02f6c995a4e771723293a19ee0d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/flow_attribution/correlation.ex:54-73 | elixir/serviceradar_core/lib/serviceradar/observability/mtr_settings.ex:260-273 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:51-103 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:606-642 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:648-708 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/flow_attribution/correlation.ex"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23ed052ca998edb6f682cbeeccf9013c360ca37259429670bdab46b6e510a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex:132-162 | elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:150-174 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:189-216 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:190-223 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:146-171 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf55405de81ec10b875897b8e43963069133ecccf918a0f5e3e828450e5157f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex:179-202 | elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:191-214 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:233-256 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:240-263 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:188-211 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e5b234adf452ee21bee285c11a1965c944843aefbd9e9e68131b4539ebe984"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex:1649-1663 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:54-69 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:46-61 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1040-1055 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:71-79 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eee09e3d2469e1b3fa14df230940e6d57617966b3787848044706ab58dc5df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:1316-1324 | elixir/serviceradar_core/lib/serviceradar/agent_tracker.ex:191-199 | elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex:1323-1331 | elixir/serviceradar_core/lib/serviceradar/integrations/sync_config_generator.ex:373-381 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cce41e9a060c061d7c70dd8ae5325bec64474724f9122e5b86c573b00dd04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1661-1670 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2450-2460 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1378-1388 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1438-1447 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cb47440617459a24357fbce3bc93d5085a1890237262de280e7ed577b6e0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:456-462 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:522-529 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:927-933 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:993-1000 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f98b6dcff08fe8334818faa10e6ddff5bb78aeeb3401d40f9511733b8ff1a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:467-477 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:541-552 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:938-948 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:1012-1023 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d70a3588b65880982a3640c0035429a976b59e8e5b2b2528a2aabf029e36f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:30-65 | elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:84-121 | elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:209-253 | elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:409-448 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bcefd90ac210bc009f1adcaeb44e3b7210f093daed911dddda303a82bb45d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex:544-550 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:607-613 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1639-1645 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor.ex:1304-1310 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f10f9a5ad22b7f808cb0d18c9e53b27b93ea75f5b52221aeea3871ed41129e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:259-284 | elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:329-343 | elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:1048-1066 | elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:1071-1085 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6fee4b32e4eae95ef2d4121430851b8eaa070cdda0aac927717085105bfd79"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:38-57 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:40-63 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:41-64 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:34-53 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36a538138a72e6dbaf48dedfcc29b6e084e6eb783d067a6f42b9207dd1a2c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:62-69 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:68-81 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:69-82 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:58-65 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc437b51ccbcd3401329f7678b725f50042eb838847c520571545ff5d3ab403"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:81-88 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:93-107 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:94-108 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:77-84 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e98a3244fb6f917deec3263647a7c070317e1a45c2eb536ba683cd09f64dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:96-108 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:118-137 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:119-138 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:92-104 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19b097df457af5b261fb2d68a46b4ef57e05a2d7097371ed2a7247f8172cb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:124-366 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:381-516 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:531-652 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:667-759 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7bd54eb1e8237b9ca2a79dcc2377379f913ee0b937e11e6aa799b51c6f6a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex:166-178 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_dispatch_manager.ex:291-303 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_branch_manager.ex:151-163 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_sidecar_manager.ex:109-121 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"919642f9c96cdff26174ff2e51344605f011a98de9be0755643bab84f29b643a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:297-312 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:444-466 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:550-565 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex:88-103 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c91553b2c2f642fa2bb778bc156d62e4a5f122122f8b97ef8c07332582a3fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:580-585 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:471-476 | elixir/web-ng/lib/serviceradar_web_ng_web/live/metric_live/show.ex:398-403 | elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex:1087-1092 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"47189e511dab76d808001a157e2096aab6aa85064ad81aeafe3ebceb5f9a9629"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:432-460 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:635-685 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:690-717 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:722-757 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3cc5b54b24e5541675eff4bd2fd6e163783d9d3f514347391aef4a61c0adc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex:1636-1643 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:24-34 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:29-40 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1021-1032 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a8db22ba78ba569523d5733df0dbb9e898a1aefa8cfe31833b86849ae0d7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/builder.ex:64-91 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex:70-96 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:297-324 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:349-384 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/builder.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"470e492b1e0a8cc9ee742b649a903aaf366102f53c8519f47ae972089c6be498"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:174-182 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:147-155 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1167-1175 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/builder.ex:981-989 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2009277ea79102919700f984a91f00445bfb8aeb0225b4c2847a8800d5227ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201352 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:207-253 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:276-313 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:315-366 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:712-749 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2b52e9650fa88f0f572effae7a4f720448ef07f9dbce764aa43e663a0fb534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:198-238 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:290-330 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e713e9ccaaac65c24fb0ccdf13da329ce278dd570922c7c22f54b9663147d335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201341 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9133-9173 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9612-9649 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":9133}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eb2dd266d49f5b5a3beb3f06887f7814c1dd6a9946b5dea35d2c55b5c2f526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:592-630 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:407-445 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3e0154a01b58399883229384f6b53c7f69387106521d6c3b3bf806d628f6c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201336 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:30-56 | elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:84-112 | elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:209-244 | elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex:409-438 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/bgp/stats.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2e20d73b756c4edad6ca893e69f1097fe60e98fa079fbe9aa89971371ae23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data.ex:150-183 | elixir/web-ng/lib/serviceradar_web_ng_web/netflow_visualize/query.ex:197-230 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data.ex"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a761fecc2622366e837127b0dfa8df0e3d4f309b639018af3149e21bbe0cd6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex:903-935 | elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex:943-975 \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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bb011002fe7d4bf1252cfead85402c2e327d41a103078b9608f0e50756fd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1069-1101 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:493-525 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3fd1c035a49a9130e209df31b44d43b18d38c53ffd8f916871171dddf02454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex:39-70 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex:285-316 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"acee930295072e24eb525933858dc1bf6df41387a13b8504209923a2b3c24fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:98-128 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:149-179 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:198-228 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13dc503ee27c81e6e559c6a2177c3728b4cbab8cc9212db55ddaa49fed651e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 7): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:147-175 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:404-432 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:440-468 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:547-575 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:583-611 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:619-647 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:683-711 \u2014 all 7 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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69b1092cba9ab4b05d0d15459797b3de8c23fe842d359781a7f5c8b7f30e211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201328 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/credentials/native_descriptors.ex:102-129 | elixir/serviceradar_core/lib/serviceradar/credentials/native_descriptors.ex:132-146 \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":"elixir/serviceradar_core/lib/serviceradar/credentials/native_descriptors.ex"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a57053976756ea7f1beb28145dd26c7308ee83386faf06affbd10fc270c0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/addon_package_controller.ex:35-62 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_package_controller.ex:157-184 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/addon_package_controller.ex"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d480ac6940891593907d9f68c27420e1c7ae396d56697553f46987600ce191f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:311-336 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:786-812 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"745b852cb2041658a87c703707c227ed612fa664b475ddd243e88049b40a1032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex:1240-1266 | elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex:1293-1318 \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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc46b608546ead9a8b8b79aa3553f5372d83a15ce08e30dd3c2186607346dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/camera_relay_webrtc.ex:96-122 | elixir/web-ng/lib/serviceradar_web_ng/remote_desktop_webrtc.ex:155-180 \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":"elixir/web-ng/lib/serviceradar_web_ng/camera_relay_webrtc.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a3670d9d9b94b481ade7b86d4d4970ae86699ce97ce421d58a47f942e886a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:164-189 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:221-246 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:264-289 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:336-361 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:700-725 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b6cfe2660d4ee50b0d73ba3e0acc04e1912d67c0317ae2c73d43d0995f5988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:250-275 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:479-504 \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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6b826d7a0925fafd8c49f0140bccb61844d2325115c5f77fdcf77d17d4cb61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 8): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:133-153 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:186-210 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:390-410 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:433-453 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:540-560 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:576-596 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:612-632 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:676-696 \u2014 all 8 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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"427a02d644b059000fa8eee9c9db689b5b693f1dc8b55b948dd17c21707ba22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:382-406 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:414-438 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:488-512 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:541-565 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:581-605 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee9374e34446eefac1e4bef340f4fdd4b4dc7c100b97eedf006402b757d30d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:42-66 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:73-97 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:104-128 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f537f0f0ba90f5acaea114f3a95b4c6cbad77aab7aea0122eb27a7b718143333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201325 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/agent_commands/status_handler.ex:549-573 | elixir/serviceradar_core/lib/serviceradar/agent_commands/status_handler.ex:588-596 \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":"elixir/serviceradar_core/lib/serviceradar/agent_commands/status_handler.ex"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c5b56c877299a70835e8a75c47f84eb7a48f1d806b919ed1457385f38fbf31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex:174-198 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/test_debris.ex:225-246 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/test_debris.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"155d56106ab0ae13ccdd23b5936f5c55ccd8ce5d3f59e9a6dee405e76d900d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex:1988-2012 | elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex:2914-2938 \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":"elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"3358b95f9110e13c46da4e4d7c3e765fda468e50175d6ddbcd3819423988b6dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201325 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex:556-580 | elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex:685-703 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3964d3db9b8e0a238cb1b4cab8e4d86eebf9feef37353af8d641f9b458213832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex:179-202 | elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:191-214 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:233-256 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:240-263 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:188-211 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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":"elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a0afef684f47c639026c762119626ff129cf5fe3ad6b5cc5433addf3930597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/builder.ex:64-87 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex:70-93 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:297-320 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/builder.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2c9321ff88a6971d16320766233734fe5e9e4daa605be1404c70a9d53a9e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1675-1698 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1094-1117 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0df4c66a2d0e2a1f081fb672ca5ab77c351a1e6fd935e10bfb8e08889dabe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:219-242 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:259-282 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"52aad5f1921839817415dec8c98cb4f793c56af6f4adf182756af5384a2dfe7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:212-235 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:234-257 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f16e62f506e9273c5c8e59e8c0827b972a919bc8d40f4550c6c0a7f51e3322b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:554-576 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:445-467 | elixir/web-ng/lib/serviceradar_web_ng_web/live/metric_live/show.ex:372-394 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.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 12 separate duplicated blocks between them, totalling at least 121 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"666817689669790c5d9ee9210836591e5d131c5049e5c004b3b3048360299c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): elixir/palisade/lib/palisade/network_address_policy.ex:100-122 | elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex:95-117 \u2014 before extracting anything, compare \u0060elixir/palisade/lib/palisade/network_address_policy.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/palisade/lib/palisade/network_address_policy.ex"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb09d68188587388b61efb49d8b15dd2033a4e789661bc9d137a19af6a1df9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:510-532 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:311-333 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb39f3e2614d5e1d4e30bf6f47f67066d5f5dfc01a49a31e487e0ba2f1121459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201323 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:88-104 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:99-121 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee3c223141b1ed79a61414cbc608243d902ec14ad2aebf2887014c46f6892af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:960-982 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_target_intent_controller.ex:193-215 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_target_intent_controller.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"4166efb4c64166a5290a257661ccf4a77de6e5950e95765c5814f25d5c325ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oidc_controller.ex:223-245 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/saml_controller.ex:681-703 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oidc_controller.ex"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb68b8a0c55098c44534bd1ef43716db5999019f303371c2911ac47d3230f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:418-439 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:454-475 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:490-511 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:561-582 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:597-618 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3f42c1f5ae2b8c90f7f476b3137df4f20bfa8cc97a421667fc6c46710441a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex:108-129 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex:119-140 | elixir/web-ng/lib/serviceradar_web_ng/plugins/storage.ex:419-440 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"902d07ad6936777c868fd3504f0efbbd06471434df5c937a970872da8b3e2da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:365-386 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:280-298 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f59aa95ac5cf1de9e91a0e89fb257fe34d8825d23d20a493ddaff1cc75f7c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/log_promotion.ex:218-239 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/rule_matcher.ex:148-169 \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":"elixir/serviceradar_core/lib/serviceradar/observability/log_promotion.ex"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96d4f6afd2241514456b6d22d6ef41294e5946f8a8ca60fc21417e9ce4ccd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:238-259 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:260-281 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7a2b6975209ed2abaf5ef0c2d88d54f273aab7d1bb1f80ea24a773b1c15d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex:33-54 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_branch_manager.ex:36-57 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_branch_manager.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c020e3e02cd53a2e275d656a4cafcaff0dc7a361fe8198ec59b53edfe5229d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/device_controller.ex:194-215 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/device_controller.ex:451-469 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/device_controller.ex"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d9f3ad7aec905b407d532b95e6a0161236e7416e775623f38856aad97acad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex:417-438 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:514-535 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a69a2a60a6206e833cb8e43730042191fb74ac0e99fb60b0c8d091bb3f3dd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 9): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:157-177 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:257-277 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:414-434 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:450-470 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:486-506 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:557-577 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:593-613 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:629-649 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:693-713 \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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"442da6115e1393e3edcbbd85589c280c288e250771dd97d896c4051c580fa0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:197-217 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:469-489 \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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f56a6c0ab3d696b41d759732358401e9bcc07dee0f150cb7c5faad8621562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/collector_bundle_generator.ex:264-284 | elixir/web-ng/lib/serviceradar_web_ng/edge/collector_bundle_generator.ex:299-319 \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":"elixir/web-ng/lib/serviceradar_web_ng/edge/collector_bundle_generator.ex"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb021579b0b560220d0f7a20bea5c1f0eb0d0db96a0aef66935cf0664af3b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1113-1133 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1252-1272 \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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d4a84820e407cce1c40e89d5d8bf73b1fe489274eaf857d53737f8fd16825b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/plugin_results.ex:193-213 | elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/index/card_grid.ex:123-140 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/plugin_results.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4d1f5a6d8162ebdbd1968cfc28eb06d5ea230513e0bd6901e8d73b4bb9bad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 8): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:127-146 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:384-403 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:427-446 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:463-482 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:534-553 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:570-589 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:606-625 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:670-689 \u2014 all 8 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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"218455d0234fae800c5e48cf4284cbb4993e306d24fe5fc17064f69c295ecfbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 7): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:300-319 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:421-440 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:457-476 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:493-512 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:564-583 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:600-619 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:736-755 \u2014 all 7 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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7277e57d3fc110ba4c6c7f7e88fb8a35d4136cfe8ccc92441287192fb4ca5862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2123-2142 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2501-2520 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd870dffed336393893598ef080038b3dfefa83e0fbecdb9594e618216ce78d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex:449-468 | elixir/serviceradar_core/lib/serviceradar/nats/supervisor.ex:133-152 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0937baeea6db193086dfdf2b1f174eb0e2122a2ec8fb47f4420bc32a1cc40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:913-932 | elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:945-963 \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":"elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"190e5d36dce0188871082e344dfd37d9704384cda2a35d1e445b4105e6462389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:118-137 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:119-138 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 126 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":"elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec97677ed78dcba455a24674cf385383c74793b1338ea41918b8dbc05101aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:768-787 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:825-843 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c003bc89ff46f8d9d27e3a74c2e586cc650ba5c2a1accc6bb4176d8db4a7c823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/sankey.ex:107-126 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/sankey.ex:132-151 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/sankey.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c326b0d551571f35ed9eba4e091a3cf19bfb92c8b993e9e9486119e34d966171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/data.ex:227-246 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:968-987 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/data.ex"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7f5b81a884c71ad3b2ce25c6eab901fb6be0b8cf933097dfb0dc6738fad650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 10): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:126-144 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:383-401 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:426-444 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:462-480 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:498-516 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:533-551 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:569-587 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:605-623 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:669-687 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:741-759 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea22738ffe5e83c4bd5099c6c7b964697623c395faa7897164d1c513a88b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 9): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:130-148 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:187-205 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:387-405 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:430-448 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:466-484 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:537-555 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:573-591 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:609-627 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:673-691 \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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f13d71c9ea69e5dc709bdb7e1a3c87bc9f41540230e4a449dcba64aa385e8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:173-191 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:230-248 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:273-291 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:316-334 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:345-363 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:709-727 \u2014 all 6 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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"362b8efec264a91678b15baf68768de55475d24e7b5df2a1a2d9f4e001ead1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:299-312 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:448-466 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:552-565 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex:90-103 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ef2d2f4758ffae7b75815a8dc907efab23dd41e694007069f94580f0fbcf2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:628-646 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:378-394 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:888-904 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd652b23e775c31f52071602e1476f222cc5524a6bd6ed064ee3effc5861aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:201-219 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:309-327 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:473-491 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01bbcf7866274cd4c6840d797897eda2805b334a2367119ae773ec6cc1f8785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:82-100 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:126-144 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:168-186 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef0f3d42d86f59473fcc39dd8983d598bbad613e3f77501ea4e7837ebf1aae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1835-1853 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1071-1089 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabac9f1c59799b78f0ac8509bc466e4e7f5f11562bc50b1b9a3ae0b6197ca90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:1402-1420 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex:376-394 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edfd7233b46fbdfd7b7654bc7e85eb7b463010ea16b3ca4dd0f8b8df6842a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:145-163 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:118-136 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf3facd553dd7da0000a3d907edb6f8a9637d51efe86eb65a84bfe802ce27cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:230-248 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:198-216 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f6d65152108a5a208eb7454aa194c392481c6d6de2ddff44ace49f8d6ac67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:306-324 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:436-454 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b7975113f2d069997784d7526045e444ad5c891acac1bb7f7d77375660fca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex:143-161 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:204-222 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 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":"elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"336d4d9669ba5014cecceb11081d7c243cab0d55cfcc8780c74375a6f7c99fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/registry/agent_registry.ex:142-160 | elixir/serviceradar_core/lib/serviceradar/registry/gateway_registry.ex:134-152 \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":"elixir/serviceradar_core/lib/serviceradar/registry/agent_registry.ex"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2878e1672a0a386a384d334715d42d49d57a10dd62a85affeae9d2c416cb56a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/device_controller.ex:214-232 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/device_controller.ex:470-485 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/device_controller.ex"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9744d813c6615186d46e7bb7740cb7ea518a3ea1d74aa65b0d52935af534dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201319 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex:105-123 | elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.ex:96-105 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.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 3 separate duplicated blocks between them, totalling at least 36 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a827aec372aac6797b8da1faa518b5fed42151217992f87d7bd1be1cc30a3574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:804-822 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:938-955 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"1448b1b6fa9ce4ba8c7073ba2c8b6bda6da24b632f66fd5e5f1880c784d1a149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex:45-63 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:271-289 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e9724038ef3c7bd9cbac9bd15fcb0cea6fb7b9479654dcb6a7b51a57a2203a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:124-141 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:303-320 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:381-398 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:424-441 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:460-477 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:496-513 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:531-548 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:567-584 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:603-620 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:667-684 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex:739-756 \u2014 all 11 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":"elixir/serviceradar_core/lib/serviceradar/snmp_profiles/builtin_templates.ex"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"605c0e44e6f97d4b35879724c5b047ce5a0a2a8fa7d174f5179c083bf77150f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/serviceradar_core/lib/mix/tasks/serviceradar.dire_remediation.ex:422-439 | elixir/serviceradar_core/lib/mix/tasks/serviceradar.dire_remediation.ex:450-467 \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":"elixir/serviceradar_core/lib/mix/tasks/serviceradar.dire_remediation.ex"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77d91a3f59783334cfffee7bfc111c4bbae902edd93ba976c104a00d1b37d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/agent_runtime_metadata.ex:123-140 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:912-929 \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":"elixir/serviceradar_core/lib/serviceradar/agent_runtime_metadata.ex"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d030eeeb1a76cd5e060c85cfe15f511ee2822da60a59d32ae0378b94997f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:931-948 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:969-985 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b44cc7d1c25a3e020cf817911b60bb0a8aa5441b517b7842e33860495be996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex:75-92 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_run_launcher.ex:63-80 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"418e86598d469953fd28bc5bd9a9cb5af817447f5c0b6b4f7d38274affe1a532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex:267-284 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:1541-1558 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7db12ab7203a2a86a48dc37563a7c4fbab71c780720b40a641f57a95cee81b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/reassignments.ex:118-135 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/reassignments.ex:153-170 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/reassignments.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a660e18039b15869c7e3509873c833147b34157abb1fee7bbc261e838c3ada2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex:127-144 | elixir/web-ng/lib/serviceradar_web_ng/plugins/blob_retention.ex:90-100 \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":"elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc079863bf9d670c78417c2efc65f75f6f161f62cd04660ca4b6e2455b8fcd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:139-156 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex:155-172 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef2915eaed7ca3f5650eae3f33fb4195e70465d26800aefd1ba1e50183871b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:456-472 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:552-569 \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":"elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e593697ee4c3c5e16baf01a95320fc387373944c066cc368df0d769b1c634d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex:389-403 | elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex:407-424 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"984188b7e2818d11b26495f25326d176052447049f86c819561f83494221a694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/github_importer.ex:608-625 | elixir/web-ng/lib/serviceradar_web_ng/temp_archive.ex:46-63 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/github_importer.ex"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d441eecc9f4ba8e9a75e3f8ba8a47f67f1fbc571a176f593f58ba5066a2986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:1174-1191 | elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:1199-1216 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"677cfa971533e58d6cd14fa95906dc583d6f0c6d71cfb2218283d75100763517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:5718-5735 | elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:5752-5769 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":5718}}}],"partialFingerprints":{"codehealthFindingId/v1":"741901924ceb2b351979ff973b1e5beefccff647e23d83d6839e340ba34e22c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/settings_components.ex:395-411 | elixir/web-ng/lib/serviceradar_web_ng_web/components/settings_components.ex:438-455 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/settings_components.ex"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"68172fa1b8307f05a1217b007cf81ad86b6ddb6ce3a75786ea79a2134697f4fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex:30-47 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex:62-79 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3700294e7e8f0861565ad7357b047a2991b1ca0bb65b66dc9926cc0ff7b28e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:361-378 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex:61-78 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd94e501ddfb7b6fa8722148ff5db43567ff8f9197b0f6ad6393b86efc486eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex:201-217 | elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex:308-325 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccff7090fb14d2e1c882ffc507062d90cbaff75933a264af7eca5e4e341ec378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/authentication_live.ex:1233-1250 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/authentication_live.ex:1273-1290 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/authentication_live.ex"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b34b0e00194bf23a24b8a26520fcba527bf37d542bc220a6ab81f600ca202c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live.ex:376-393 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live.ex:402-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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live.ex"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"deddbf3f12bc630d8c51f4bd00ea9e14506c3a84454045e73d885d9f4204e448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:45-57 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:47-63 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:48-64 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:41-53 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca0768290db66346bfcfd33b0c19d611703f09bed5506849d3383e604fa76b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:364-380 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:396-412 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:428-444 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eeddf61f7d34e880dcd8f83f4fa43e446de066eaa9460820255014a7656435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/page.ex:342-358 | elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/providers/alien_vault_otx.ex:264-280 | elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/stix_indicator.ex:101-117 \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":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/page.ex"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc092877606327ebb3cf53916c60ae3c79393679c0ca8574106ae74264837cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201317 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:457-466 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:621-632 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:759-775 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"474c82b88a4a05173522605482e4c6d453cb91692d6180d1f1119c2117e91d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_run_launcher.ex:86-102 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex:213-229 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_run_launcher.ex"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2844d28e0c24691c4ce7eeaf815978f7c096a762d59068a7f24da1c1d14610e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex:201-217 | elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex:245-261 \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":"elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfc71848dc3f1c7bda8c67fc19741f1d097dd0f482adfc3300c8be1860de2ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:417-433 | elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:562-578 \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":"elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a7fafac195ff758220c9e88db85d71585c2767026405d213b3f3a0a24bb45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1364-1379 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:843-859 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38f3fe25207f74c31580b541e58739fb04c30201da2121b5e17f761f33dd470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/jobs/job_catalog.ex:390-406 | elixir/web-ng/lib/serviceradar_web_ng/jobs/job_catalog.ex:452-467 \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":"elixir/web-ng/lib/serviceradar_web_ng/jobs/job_catalog.ex"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0521f6297941903ecc81a45c692f2c44d9e3dde46aba604d6c23c335dff02f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:97-108 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:268-284 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea75d65788a38e5f08f4f233838791f3b61b76bd79aabf9354e6da76a8329da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/template_browser.ex:46-62 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/template_browser.ex:80-96 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/template_browser.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1858572a828bd2436b53b2be54cb085404026106956082c061cea41190c6d859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/builder.ex:71-86 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex:77-92 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:304-319 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:363-378 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/builder.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bd7366041663935aab7c32127a0edb446d35b28099fc437e8f08ebd6c1eef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex:66-81 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex:116-131 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex:145-160 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e003786e21982d18aba0890b465f4629cc9b70f40e22b02566ab669d9ab2309f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:479-494 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:487-502 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:378-393 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f2294459d6f098649b143e7a5ab2cca05f56ae51f35ab59d6d6150a21b88ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex:85-100 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_health_worker.ex:85-100 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_health_worker.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"594541175a8e37efa94b99861a256902d563fdfb1fc7ca28e6e606f0349fc9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:296-311 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:444-459 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8f19ee25c0baebc76c53d0bc2a698c74d8bbca71b5087d8c17dc72d0c517e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:369-384 | elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:1151-1165 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a409a7a3d01890528e8c7a898adae1456591e195e4d655e67158bf3e2bd2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex:245-260 | elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex:175-190 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b137a10233b58744cb9e7f60775032e192d576466fbab5bb974c267bec963f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/field_survey_stream_controller.ex:103-118 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/field_survey_stream_controller.ex:152-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/field_survey_stream_controller.ex"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"452420b38af21392d5da44acdfe082c44807b7b9a33cc292234588386b119b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:546-561 | elixir/web-ng/lib/serviceradar_web_ng_web/live/observability_health_live/index.ex:589-601 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"77123eae434484175368f9f4b2f0ceed12c9666de762831a77869cec45ed5de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex:413-427 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/spec.ex:258-272 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex:137-151 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13e669c8e4f7c7b77ea0d8ac7aaf2dc924e33d1df1b1d3f731dd06c2c4fdb66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex:525-539 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex:396-409 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ed293b12dee3e2a9c0918ac547a9199b28d4a354c75669e512e79b7a10752e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex:69-83 | elixir/web-ng/lib/serviceradar_web_ng/edge/crypto.ex:61-75 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/crypto.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7580131eb597c11b7e2dce4174c16c16fc12c55b7a32f6191be4bb3aecebb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:322-336 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:469-483 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba85485c1890e99ced62d312c0713cacc50f0adbd0fa874751e27d4c9c1b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:644-658 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1676-1690 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c714356451026e92d57a9466e9140a3ca6255a909dd16365aca5a39b295b52ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:30-44 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:51-65 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d840cb4684e2a55bf7358c4c9bba00de0c99903d9927f2e5202035af2a85a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:65-79 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:86-96 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2da2cded14b1ab42d373b8fe2bb040128053411dc6f15ad5f4f7a4737c14ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:295-309 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:278-292 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4f79e917756f25923396d3a07fc50f74d7ce4b13c98519a667e0b19f9c9be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/registrar.ex:190-204 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/agent_links.ex:513-527 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/registrar.ex"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9ac6db7a3471bef5239083a354d04ac21ccc71cc2e35e421e810016ce37920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex:206-220 | elixir/serviceradar_core/lib/serviceradar/object_store/release_artifact_retention.ex:175-189 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/object_store/release_artifact_retention.ex\u0060 as WHOLE FILES: this scan already matched 3 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":"elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5511676281e622de00208787d9dd0185b4ebee524c0b7d6c21bab2c97522909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex:287-301 | elixir/serviceradar_core/lib/serviceradar/object_store/release_artifact_retention.ex:194-208 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/object_store/release_artifact_retention.ex\u0060 as WHOLE FILES: this scan already matched 3 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":"elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c486a0a75050c07e4e51ad332964256028de85af921fcff7853ac53428e063f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/mtr_consensus_evaluator.ex:253-267 | elixir/serviceradar_core/lib/serviceradar/observability/mtr_vantage_selector.ex:248-262 \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":"elixir/serviceradar_core/lib/serviceradar/observability/mtr_consensus_evaluator.ex"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc852820fb5d3adc05bee114d0258519ab9a461357c873ec17fe0da46d4b9902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/mtr_consensus_evaluator.ex:272-286 | elixir/serviceradar_core/lib/serviceradar/observability/mtr_vantage_selector.ex:267-281 \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":"elixir/serviceradar_core/lib/serviceradar/observability/mtr_consensus_evaluator.ex"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe009cd781d401fcedaf9d4a7b1e8a5610eaa23ca0d584feaa249cbc180ea90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/changes/prepare_policy_assignment_recovery_request.ex:42-56 | elixir/serviceradar_core/lib/serviceradar/plugins/policy_owned_assignment_recovery.ex:198-212 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/changes/prepare_policy_assignment_recovery_request.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb49b70832e19c75dbabeb053180b4afdcbc6310e3abdaf109b2f3d56f7b7655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:168-182 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:228-242 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"326a91583b54a29f9240d6ed393e6b176ca797b26a2243c74215adffa93becac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:482-496 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:530-544 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"00442a7a56abf2c3302b58cd27902118ebc22f6d28e564202c6eb14e4ea0642d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:198-212 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:153-167 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 111 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":"elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"208e3e3755f7bc7d786b5d6223a8d9cd0bcb0bf861ab58589cb1293dd194139c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/prefix_tags/dns_policy_source.ex:85-99 | elixir/serviceradar_core/lib/serviceradar/prefix_tags/threat_intel_source.ex:79-93 \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":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/dns_policy_source.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0247c8dc2eb66b8c6ef84d2dd919122ac881b326cc4830119b58a802d8fe9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:4414-4428 | elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:4481-4495 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":4414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16d425e8fab06c6277a31c9ffc0895f4b7ddf4e7275eb2946b961f7f053b573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex:226-240 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex:270-284 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41bd41ce4de6e11c58a13085c25907296331a5f058ceeffdc2d5435fb59389f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex:479-493 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:700-714 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"318d9b939a8bf0fe9504413e9664cfaea880df95c7d16c76f5983c5e0031f868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/index.ex:210-224 | elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/index.ex:471-485 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/index.ex"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f93f25011a61c3625ddf7ceb16c8ef3e0d212c005acf10a4284492cb2c61a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_runtime.ex:26-40 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_runtime.ex:99-109 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_runtime.ex"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a42fcb73826f17f2540bfcad82fc667f317a3540c12a28e30120ab62111804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/process_metrics_components.ex:203-217 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/common.ex:50-64 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/process_metrics_components.ex"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaf674531dc422bf1cc1b909c40fb61552df830f244fca82405c9023958652b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:942-955 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:972-986 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1600cde21d1ff7db5bbf609032033909b345dacce5ce975a697289a0f94a013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:95-109 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:241-255 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"307d449b033f86f35507cfd70c4b0db605a66d242cd7ca32778d611fb597fd06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex:88-102 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex:129-143 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"987966cd9b0f4ee3a2e97350eaaf8f368672ced74c5a7047ebc117fc55bd7944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex:259-273 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex:1433-1447 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c5faabc79f766d293bad99ee21187b8647d108b690f9287a34fd00629cd3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:30-43 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:93-103 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:137-147 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:179-189 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc489d87b9d98166ae6e8dea314d67540fbdd3bba439bd4f202a478699d482f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): elixir/palisade/lib/palisade/outbound_fetch.ex:104-117 | elixir/serviceradar_core/lib/serviceradar/policies/outbound_fetch.ex:72-85 | elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_fetch.ex:72-85 \u2014 before extracting anything, compare \u0060elixir/palisade/lib/palisade/outbound_fetch.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/policies/outbound_fetch.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/palisade/lib/palisade/outbound_fetch.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c88948d9b2ddbe943619395b5ae0173bed718412a067a3147c92f5e127651e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex:161-174 | elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex:195-208 | elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex:229-242 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"027ab550610cffafbd929a573d71a73e98a9e6d8c3f2ae404881e6f916ef2b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:34-44 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:223-236 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:315-328 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca613a24c99bfbdb80e18da487ca00927debaa5ddec551ac59e0aa6ede445e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9292-9305 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9316-9329 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9462-9475 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":9292}}}],"partialFingerprints":{"codehealthFindingId/v1":"589ddf3106745a9fbcc1b32ca3facf7a727c38ff04310c1d75c2ea4e610ebc58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/palisade/lib/palisade/network_address_policy.ex:62-75 | elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex:39-52 \u2014 before extracting anything, compare \u0060elixir/palisade/lib/palisade/network_address_policy.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/palisade/lib/palisade/network_address_policy.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ced2721b9f37c92d1d9f75662429b3d47cb2b4c01bfcb993afc51d8c5a5463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2262-2275 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2304-2317 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dc7b3a0c9728e2a14e5aff829ae4fbcd839a31bd1aace06bafc66b9b1a5ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex:573-586 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex:634-647 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"32955f67ff108e3ecf80f57300ad3da0e55664d72141732a5fa7abfd7ae7582f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:189-202 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:274-287 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076d9f93e780215b5f0f9927058baf07678fb9f55721a5488c9d40b6a811360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex:259-272 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex:287-300 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fc7c27fd5fd10eb488f74da13da89504308b8e8786f17974e8ba9f075cc172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/credentials/native_descriptors.ex:72-86 | elixir/serviceradar_core/lib/serviceradar/credentials/native_descriptors.ex:176-189 \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":"elixir/serviceradar_core/lib/serviceradar/credentials/native_descriptors.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"53412a25c73e8d3c1b546717d48bb74fbd6c76ff18c1b240faeda41a5a3e3f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/dashboards/manifest.ex:506-519 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1884-1897 \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":"elixir/serviceradar_core/lib/serviceradar/dashboards/manifest.ex"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa558d26e9e70374a7cd295ff106c170d69f34a9f5cc9963bb10347d8da3e2c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex:266-279 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex:499-512 \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":"elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"40535a9266998943fefa1c22da6ee1aa3c56ea6ac4edb408cc1e89e6d87d7a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex:153-166 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex:178-191 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ace586f5d21942d380711d9f284b256500ea38923b4cfaabccfc35c4942b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex:656-669 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1772-1785 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a473908ae2d0c1b71a2988c2e3d76b9e35e143d6930511811fa2a3d7d38442c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:192-205 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:212-223 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"afeef6ce80cfcc5edb707a1a8928190017de605690f926d22ee64be1252893fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:432-447 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:399-412 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a1fa12d243d447b5a7d9f0cb1335739906adaa15314efb2767f11f6e27e979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1106-1119 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:530-543 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f1ffa475eeab18334eba516c5ee066f5ee1b0c7381db02240be4bb09ed7b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_refresh_worker.ex:198-211 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_security_refresh_worker.ex:400-413 \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":"elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_refresh_worker.ex"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"701d5f2d65f7aa98739a89c878f55b4a5b1a39dc3e57939e758d24ace1505bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:119-132 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex:109-122 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb365685755679ecc3814ddfc7a878f4f47e0d4b825f180e0eb228be06260b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/template_seeder.ex:362-375 | elixir/serviceradar_core/lib/serviceradar/observability/template_seeder.ex:409-423 \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":"elixir/serviceradar_core/lib/serviceradar/observability/template_seeder.ex"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc119e753d5a084a385efc9ebb1c1c9969637c6c80e5a7e5dcaf7ca981619a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:94-107 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:95-108 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 126 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":"elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baeba91a0a0a35bcff08e03efb44af890f7b1c579d0f828d11cf90a4ee7312c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:182-195 | elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:401-414 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53ea2215838374f256126d408634a82d2ac562bb21ea06d84bf389fa3a13d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex:80-93 | elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex:100-113 \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":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bd7fb0bcd300d22ca1126b54345071fde493d216c3053b80bd27ad238b9f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_rf_observations.ex:10-23 | elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_spectrum_observations.ex:10-23 \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":"elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_rf_observations.ex"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5db60a2322a3830266ed418cf96a042a333565d440d398814493ec500edbc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1032-1045 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1208-1221 \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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"583614b157b65f6b2c5df5de341c11fd3c85409efd49412ca5fda79cd4d58e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex:75-87 | elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex:128-141 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70321d0df0fb06c4bb624c8ab56d4c7806d803a4de388980066f8ea5036f697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201314 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/visibility_components.ex:639-652 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/visibility_components.ex:742-748 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/visibility_components.ex"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d5678fe047180fdc624122192a59a2fb7368abe02a99e5e3a2d86ae36dd5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:943-956 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:1076-1089 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d49b2f84e1538680453c9c044c4dde839e5a93d8590dde19ee795acdfa9601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex:1924-1937 | elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex:2300-2313 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdece5c3f59a0120da68f5f3a3071946a24b444581d944557585005437dc008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_list.ex:114-127 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_list.ex:146-159 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_list.ex"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3ccbe69fc347068dc4789bbaf7ada2b7cce4375edf42f08b9b03d95a1d9f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/format.ex:89-102 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/format.ex:113-126 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/format.ex"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc136b644a5f71cc935066843c2edda5f7532d2069b7ab3e151db45727dc4ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:126-139 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:148-161 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3812121e9830eaaf09dba055436dc09b2e43ed6e40ad2c1cf5db2f0665eb7c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/custom_templates.ex:193-206 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/target_oids.ex:44-57 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/custom_templates.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc4683379647927475701c3d72fd503538d21fbcb81ec8dac6a8514ddac0daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:55-68 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:158-171 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66cee356d0548a889b0d54b0759d6da3630ddd04a05cc14fb759d3c5fe0e54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex:166-178 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_dispatch_manager.ex:291-303 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_branch_manager.ex:151-163 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_sidecar_manager.ex:109-121 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_branch_manager.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"989e7b4b6b9cbd73918adf6750d055a1e1e82bd82a00a3ecd84976a3c92f893e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:135-147 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:180-192 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:229-241 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"850a15c31f51a0a85c86be8e10a01ba7d649dcbe29b6f6b0589b7e8ee9dff999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex:500-512 | elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex:597-609 | elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex:648-660 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cb2f9824b8dff8e4a71b2f147c4a3e9ffdfbdb3cbae519afbd283453908c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:1167-1179 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:1191-1203 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:1211-1223 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a10634c1905ad0bcc3f17534c227792b580bb5415505c64a958e4ae68166c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:195-207 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:214-226 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f22561bd2ea9a531fb97aaff14e1a6e384afd4810b3168bc26f4d95dc3b3013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1167-1179 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1235-1247 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"343db855677237c0d7c8195e652698eaf4598bc85f47af94f59c09372d8c7b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:71-83 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:93-105 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10f351ecce2e116811b7b5dade72462e3d70a99a2af8c9c1cbad972a4949fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:446-458 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1169-1181 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"f049865b6be8cf454505bea3d70970f775455214358d79b7062d92527daad5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:583-595 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:636-648 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bb822158b2732e4279a4ff433bc9cb23b717c829208a542954ed3f864ebab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex:1196-1208 | elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex:1223-1235 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae44f45f52523d17ff0c64aba5ba82220b0e168eec1af9b6e378f9a4b92ac303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor.ex:592-604 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_vulnerability_risk.ex:555-567 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor.ex"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b4ccbd5e46c084d0a9f072b1d301ef01e5e05e8f930489781a5e7147b6e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:369-381 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:341-353 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e55a72d72ab9cc88cbe7b55eefb29f42984ae88b154413501ad5b7918b91f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/interface_classifier.ex:205-217 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/discovery_data.ex:76-88 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/interface_classifier.ex"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd32373ffc780508bb098fefc8cf18c973394cb75a7c58444f66bcaaadffd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/nats/account_client.ex:107-119 | elixir/serviceradar_core/lib/serviceradar/nats/account_client.ex:282-294 \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":"elixir/serviceradar_core/lib/serviceradar/nats/account_client.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ddcde16cb49de6fe5c836e094f9773244a107f4c5263441e3afa424c608e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex:523-535 | elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex:697-710 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/provider_seeder.ex"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"2082400c923a154e87e895c9a3204ad64731f4fc3a3f6def4936915a5a886d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/source.ex:70-81 | elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/source.ex:85-97 \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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/source.ex"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e42886bd5c72fb31470ef987a9cf52df2ff269ec78c6a162774458dc1a30b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex:56-68 | elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex:40-52 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"573a2b3b6090a0f77d750e7cde108e7698ac4ad4e80be8fd4835c37ceb11713d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex:344-356 | elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex:276-288 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"60322b777edd4aec86c54d90d15e6ad5ad1bc058d4f460984f4f725e06ed7f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/spiffe.ex:431-443 | elixir/serviceradar_core/lib/serviceradar/spiffe.ex:455-467 \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":"elixir/serviceradar_core/lib/serviceradar/spiffe.ex"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1209d56c3010cd3b57c264017966c333ceedc773c03c16283ce3e52266ccdb27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/external_boombox_analysis_worker.ex:85-97 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/reference_analysis_worker.ex:83-95 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/external_boombox_analysis_worker.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8bfdb3c6bbadbe9fda13a61ca56375a97fec74606054e72469ed3db4e5f4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/admin_api/local.ex:102-114 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/authorization_settings_controller.ex:61-73 \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":"elixir/web-ng/lib/serviceradar_web_ng/admin_api/local.ex"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc237ec4adc31627d6c714a93cc5756f7f612847f8cdfdad11447ce9c1e311df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:1453-1465 | elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:1530-1542 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a3609a7522678012c4b095d42ac36b9542653b858f5d5ce4e3442604ce63e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oauth_controller.ex:223-235 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oauth_controller.ex:398-410 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oauth_controller.ex"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d37d0deb53924f98f1e00610feec2c22e62bef1cf5b68dbce1667b4a75e5a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oidc_controller.ex:50-62 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/saml_controller.ex:65-77 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oidc_controller.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90e46c1ff8453e36a6186204c4e90347c99c772cb1aa3d30ec556b9dbea0c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/series_data.ex:168-180 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/series_data.ex:199-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/series_data.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c2b05bb19d7b6fe69eb99bb4ea1076f077f4a11014027be14967bfde7be06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex:1838-1850 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:3545-3557 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74387aa27250837aca04d0a40eabd425774ce59aa03a72513442fe3b2cdf04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/collector_live/index.ex:872-884 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/index.ex:371-383 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/collector_live/index.ex"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6bd0c803b5a5133637892ff11f2869cb3a1f794fe55c33a5ef0130d7140518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:925-937 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:1058-1070 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff8b06b4522fa84ec8e93ece327f18196fe58776f9111fb69943da7c49e302e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/mapper_persistence.ex:99-111 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/mapper_persistence.ex:128-139 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/mapper_persistence.ex"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3204fa70e01362845dd10c2c2fbeadd23bef45cb9d244e062e439a44f7c78c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:84-96 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1071-1083 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d6a2bc34a4135838a3df47e65e40ce4b713f0a158b70cff20450f995febeeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_host_keys_live.ex:90-102 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_host_keys_live.ex:110-122 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_host_keys_live.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e55115ae1842252ffede61aaab9640934f4f953a93444ce1f1c5fd104c166f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:171-183 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:206-218 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e46e80bad98d0d32dea08cf4cfc67eafa176e65d7b484e7467b3fc4ded77b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/srql/builder.ex:168-180 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:615-627 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/builder.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3119a24dbe01407bd16db83205405e9db583d09c04d624165e637fb560d53da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 7): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:33-44 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:96-104 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:140-148 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:182-190 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:118-129 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:169-180 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:218-229 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9fb4a10a88b5072c979d807a3317dc618a4cae24aa855e587ee0c31d7d444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex:1636-1643 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:24-34 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:29-40 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1021-1032 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"3711bafa4ebaccd42521e63bc5ffb2100f9da1fe8f22d2bb3e866a12b1963d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2126-2136 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2504-2514 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1505-1516 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be7e54b8dffefc27afd3d597fb64b5652c4a982f2348d5b51126122266e6fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex:91-102 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex:106-113 | elixir/web-ng/lib/serviceradar_web_ng/plugins/storage.ex:402-413 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee83a6186971a53749e49fe2bfc30dc27a715cbbcbceb72377eb9e2ac7500ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:162-173 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:204-215 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:159-170 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06b5fb6c94c9489abf4d31e053c4d0502b1022feef499f5001cccece0ae71d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:95-106 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:212-223 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:118-129 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6a918f909307fcbb693b9c838dcb5e16d7c545a60634842ed368f5724ad3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:525-536 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:533-544 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:424-435 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e630bfad67761ab7166cba6ae1f889abb4d8e6db5a116eab6374d03699713a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics.ex:125-136 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics.ex:144-155 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics.ex:159-170 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics.ex"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"46336c516ea7783fbe3b6d634fde07b5949c67194556e8d8aa393e3b625337b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:214-225 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1216-1227 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:171-177 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe48be0534ba3bbf3cfb188935c3d542091704ee61bee1a3da718f2aed71a733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/threat_intel_live/index.ex:141-152 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/threat_intel_live/index.ex:168-179 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/threat_intel_live/index.ex:186-197 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/threat_intel_live/index.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f510653bb5029c5d935c6d2e068caa09165a7df618fcacfcf568764e94f141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex:199-210 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex:243-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4693e5f7e0bbb78229be50900ab0303a567e1d4f1291b0e43a97ab255af10cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:165-176 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:209-220 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"124943129cad0a4aa2c840ff3566878e45581a46fa28edfbc4fbce8f0a7a96e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex:451-462 | elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:483-494 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8edb69bd2cabb82c5b4e818dd7d7f0339b12c12c49b3b7165c5c38f4118a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex:235-246 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_continuation_boundary.ex:45-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee373e2d44a684be719d80cc34048edcd41d19d39fdbbb7952919599e73a0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1078-1089 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:628-639 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae6ed5173ce5926fb6effac02355d6cbd968c8492f0213ccc0056e40273d284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1633-1644 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1410-1421 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"287c48a595e1d00f7f2b4f7e7064d97487ef85c8b2004d829778320f07e51589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/execution_lifecycle.ex:434-445 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex:524-535 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/execution_lifecycle.ex"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"71adbf415c2a09e98302971bddd5f5559d810aa39f77940c4556cc272a645ab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/ocsf_mapper.ex:35-46 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/ocsf_mapper.ex:67-78 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/ocsf_mapper.ex"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24ca78238212ee38dd82c507bc1225cc028a2ce89b67374e527019fc2848dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1042-1053 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1549-1560 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"14006162ad90f6a940c779b003f0542913bee5e27fc38f2705437680eb0321d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex:767-778 | elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/ash_store.ex:235-246 \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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"23354b4b8a6ab3a078fab64314021d0b80e710032b5375b35ff2c040dbe4055a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/credential_grants.ex:199-210 | elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:771-782 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/credential_grants.ex"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfe431dbf03fd5766dc2c2a9ed0c7e04697c26fd6d623caa47401080a02397a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex:319-330 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex:348-359 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b81e8c7b33c947bfcd58350572568389adbbbbf520ca28a16e08d7bf0c7550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/core/result_processor.ex:256-267 | elixir/serviceradar_core/lib/serviceradar/results_router.ex:806-816 \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":"elixir/serviceradar_core/lib/serviceradar/core/result_processor.ex"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a12c979c7dd0429b91f1c58d25f11ba6ee7266f4f97c75731259fd47f1157e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_recordings.ex:1171-1182 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex:1473-1484 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_recordings.ex"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dbc39f6c4aa095b1f5a918c5bbf2898931970bb8978c8c97fbf4a6fddcbcbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:407-413 | elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:430-441 \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":"elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7716c02ab4d4df8bf258666a6c0b8c0206a5e53ba72d571ef1d79adbfb41ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/device_source_observation_ingestor.ex:390-401 | elixir/serviceradar_core/lib/serviceradar/inventory/device_source_observation_ingestor.ex:421-432 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_source_observation_ingestor.ex"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c32dc8a704f1d3d83fdba7147f7e52801fa335ad1b9d7cef23e4475d6cd48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:93-104 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:109-120 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acfb3458eeacde1d3b6e5a697c1fed65b1c112809aa14f685153f44c0513c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:698-709 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:712-723 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"98277343ecfe555d3cadb20d0a5db691fa70a93e4eafa9109450dce9fe90da26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex:478-489 | elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex:533-543 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b573a61859b1404d35648d8b9d78b8de242cb24926700f425bac15b08c27d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex:1477-1488 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:852-863 \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":"elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f695a436a4cda676a54cbd091fe0ee0cdccf8fd24ed17adc50291dd192ae111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:182-193 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:252-263 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df8b447035a0bccdf671c66357289f931d32fbe8e5b1278f39676a93f450551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:96-107 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:92-103 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 108 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":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b0d74a7cb7c0a7f76ba14d2093950d03713bd78bb915411eb66dbd2cc90d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/security/changes/stamp_audit_actor.ex:75-86 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_group_execution/changes/stamp_audit_context.ex:46-57 \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":"elixir/serviceradar_core/lib/serviceradar/security/changes/stamp_audit_actor.ex"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c16e1db39c09b40792f191ab162ba3228132a088043588780c3f388d1e76cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex:280-291 | elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex:210-221 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe77883f77c5a34af9fef12021ca2d00ecf514951d8fabc52096f4a949f89c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex:60-71 | elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex:59-70 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fc63c5193c6b79dd66749d4d361a06f882f3b95ee8264814a10746b3530868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:260-271 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:362-373 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dbb88ab6ffcad687b5c39d415d9631c265f6b76a95026ca6d9afa87d075d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_components/formatters.ex:123-134 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex:395-406 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_components/formatters.ex"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ec8a4c4ac604bf9785046ba8297274975141e1d75336d7268d7973cbe2da56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex:516-533 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex:539-550 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f547308382e319db02ef67d23abb1b03b6f555e4dc81544b45ba39456c3a5de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/bulk_state.ex:137-148 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/bulk_state.ex:172-183 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/bulk_state.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f34959cd0a8dfea6724619333c9073c3e72d81a55c93d47510b76ddd174cf92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:211-222 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:244-253 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4d00d209e04dd0f038c47addcfacd37395844379d44c7840e9400c810d96e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:856-867 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:997-1008 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"5987e189384cb3a7cbaaab17aadca9514798f37604993d0cf06de10da89b95ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex:73-84 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex:189-198 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b67f5fbe6ad9f571155d2ce10415e1c2ff4ad0b9bed35ddf448c42266954969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/form_state.ex:176-187 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/form_state.ex:223-234 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/form_state.ex"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"890b82ec088cc68866d7e665c74a8f780ab1d38e8841e0b4cdf1d75e5b0cf800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/index.ex:956-967 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:394-405 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/index.ex"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384aa914f3880720d912fbb3f1aaf387b57306f24a635521e72cdd57686e624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/infos.ex:79-90 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/infos.ex:95-106 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/infos.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"396154b82ce6342413fb7bf47d6d6a679b2bad8238d3c222716515cd3bbed97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:1240-1251 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:1260-1271 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"900b847dd52a8625c06877b2c98eec0d4be908333653ed0a1c2fefbfcbbf4855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:57-67 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:100-110 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:151-161 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:200-210 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24d62d4133cd078d29b40c8c248ffa3bc7bf3bf8ac9256fcf399fafe1dc57e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex:125-135 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_health_worker.ex:129-139 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_pulse_worker.ex:187-197 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_health_worker.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c48bf4dcc609f7b703aca743add4df0cd3cae89ad013583dad83a99860649b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery_worker.ex:32-42 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/lifecycle_seed_worker.ex:40-50 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_recovery_worker.ex:32-42 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery_worker.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"148a97201980c559f921416c5a1f1bec93e98d1179557a44b975f495099a83e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:759-764 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1146-1156 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1127-1132 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf9f7feac15eeb22864b10f9b5fdb84cb3442233ed700c00de9662f4dd9755a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex:171-179 | elixir/serviceradar_core/lib/serviceradar/plugins/secret_refs.ex:732-742 | elixir/web-ng/lib/serviceradar_web_ng/edge/crypto.ex:128-136 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/crypto.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cd306fe57ae88b43794fd0850cd5e25607269feab4fc100faed19b59ed97f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/inventory/active_fingerprint_payload.ex:140-150 | elixir/serviceradar_core/lib/serviceradar/inventory/dpi_payload.ex:142-152 | elixir/serviceradar_core/lib/serviceradar/inventory/passive_fingerprint_payload.ex:182-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/active_fingerprint_payload.ex"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a418032cacc6c6ead53d363defe9588b4a16d18403116f3698662f03b2778df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex:475-485 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_payload.ex:19-29 | elixir/web-ng/lib/serviceradar_web_ng/remote_access_desktop_targets.ex:234-244 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd93612670e9c4b7f579894d297dc643c02fd2e08f54b12c1c59e68698e767c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:420-430 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:462-472 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:1470-1480 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b293c629eb67e675648c5ea56fb30e8751159aae3f0172f51a01770d73f1c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex:287-297 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex:306-316 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex:325-335 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0132797366719ac8c0890debcdba24384b232e8a97e2a8f83378ff6f6ed19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:76-86 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:68-78 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1063-1073 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be90fad6095fb5dfc3e70af0a708d7ad429b59ec8f4416bebac956e99f0a732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/palisade/lib/palisade/outbound_fetch.ex:84-94 | elixir/serviceradar_core/lib/serviceradar/policies/outbound_fetch.ex:52-62 \u2014 before extracting anything, compare \u0060elixir/palisade/lib/palisade/outbound_fetch.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/policies/outbound_fetch.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/palisade/lib/palisade/outbound_fetch.ex"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7685f05356c98c3c85c662c09a42888ae3dbeea9e11b73c88fa98fddfea6ed13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:128-137 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:2060-2070 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a97526532f0e4a0000242513e94d899765c3282b3c4a756bbf41bfc68bb32f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:168-179 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:350-360 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"714e85fd23af498a3151e9ab9e9dd8372ca2c0c4635a830e5b6fd729cd5be735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:159-169 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:177-187 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a87674ac5d830e46e3219931017e72ebaeee3ede7d09626392d1e6e5e429860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:427-437 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:476-486 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"987053021f74e3fea0351b9cfcdccac881e89c063733d042eff4471a8e5786f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex:455-465 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex:852-859 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b7a4e4b51222aa82a10e42412f07f0461035d696632f373f147ec33c6eb9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex:450-460 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex:532-542 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba37ef78d9954733cfd57be65d2b6e279447877c1b76053dacdec1d0bc7b261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:769-779 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:877-887 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b2a67d384bc47b2b4fcb4331e17e8ae9e89a343fcca9d28e2853c624e8c3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/command_result_handler.ex:449-459 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/command_result_handler.ex:482-492 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/command_result_handler.ex"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b087579948259d058f86716d6ed3d34d584a886697e0454c3ba2ffddb6144c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/camera/analysis_worker_alert_router.ex:306-315 | elixir/serviceradar_core/lib/serviceradar/camera/analysis_worker_alert_router.ex:352-362 \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":"elixir/serviceradar_core/lib/serviceradar/camera/analysis_worker_alert_router.ex"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8329ed83ee183aeaac67f46bf90dd7fc13f8f456149d75f7908a33f61932b4f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/camera/inventory_ingestor.ex:351-359 | elixir/serviceradar_core/lib/serviceradar/camera/inventory_ingestor.ex:372-382 \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":"elixir/serviceradar_core/lib/serviceradar/camera/inventory_ingestor.ex"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2989faa573e70a909fddcf6f71cba1e5e20e83dc37319c235433c49300700b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:623-633 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1655-1665 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"c451357533b18d4453e1fa7218c1d7b0c237f6d9a6fb6ea961f0d55e252b2bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:711-721 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:741-751 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bffa58be0c042f3dbb0b1cee012528a33a4cfeb37fa05801153180f68354c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex:510-520 | elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex:1081-1091 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e0f4712bb89c14999bdb56f0ce2d9972216f02fafa14285aa8ad547682a7b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_artifact.ex:19-29 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_artifact_store.ex:25-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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_artifact.ex"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d808985646c62c4fadb0305fe67144428ded227e4ecbddbe3cbbac3da94cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_history.ex:68-78 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor.ex:619-629 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_history.ex"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6ebdcc42f41ff9edbc340fbf45c39426e6010dc497436bdcbbaea4977e1a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex:797-807 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex:869-879 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"3522efba5765a16782fd24f33797f80babd474819c24477a611098cbb66e35b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:331-341 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:314-323 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72b5bf7aa1b5f76440122983f6c6be12c01bd00524310ce62a7f0a22e3bd111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:343-353 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:325-334 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fc329e5dd6606a71134a8bf24302bb13f070e8008f94075a6db21e959771c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1385-1395 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:865-875 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fe35d7f1bae6ca517d3d0b77d4f4d066e322846f075304104f4e8a0f033210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex:1304-1314 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/worker.ex:991-1001 \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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c60058e488a93f66094372031f88ad205ec04b7db3ba1c2e2387f4c461b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex:85-95 | elixir/web-ng/lib/serviceradar_web_ng/srql.ex:182-192 \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":"elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ad22d5342f23291233d636990f581e18958396c74c640a8af7b9ea55542b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex:76-86 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex:91-101 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca824a5ac6c56cddf3b9be504a3f829d4a05cb25671981ec01274383ff00821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/repo_url.ex:74-84 | elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:163-173 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/repo_url.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b7a16446afbd610aca754eaf4ec4f6dbfe141a16962a95f40fe10dc385dcc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex:517-527 | elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex:542-552 \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":"elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfcf88138ca83f8c0928b96ed9300f54f3cba96872b63be2c6038917dff7f2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex:1054-1064 | elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex:1077-1087 \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":"elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b826ce972c543209a43496bba6f7ee75972aa2d4430d931e0a9f589d7d3c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_http_adapter.ex:29-39 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_http_adapter.ex:59-69 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_http_adapter.ex"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13f077a9c14386912c9a4913fb966399dea82b90a901f311204628bbb711a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex:149-159 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex:193-203 \u2014 \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.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 6 separate duplicated blocks between them, totalling at least 46 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf19e7c82c63adfd16c2255b3ee438d50f46f2cb3575ea51062b18ee1ce7b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/camera_relay_webrtc_signaling_manager.ex:28-38 | elixir/web-ng/lib/serviceradar_web_ng/remote_desktop_webrtc_signaling_manager.ex:31-41 \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":"elixir/web-ng/lib/serviceradar_web_ng/camera_relay_webrtc_signaling_manager.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edbcd9e7ac4285e2876b661f3a25680292728ca6926e5baaa6218cbb810bdb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex:205-215 | elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex:240-250 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"de025ae4231ce1d740ba6bb6e0da34debcc44dde419d2fbbdfa70eab13c878ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:4488-4498 | elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:4522-4531 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":4488}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb1dda605ec20d3f3f16199a68b6136cea32fad3265344169b778aec577337f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/ansible_controller_controller.ex:79-89 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/network_credential_rule_controller.ex:87-97 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/ansible_controller_controller.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d36286c219e2873613ec77622a85f41281a2c230e555dc5afeb2ed7f1ccd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex:91-101 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:113-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94937c035c78fbe875a85e9f0c392b8082e21fa4c80cadcdb2dcc498c86b935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:109-119 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:407-417 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b11173570ec19743bc046d77317075058c71bf1ce70a1788f1da29b885e3da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:376-386 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:426-436 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0acd8c901c3f1b759f9277226a40588d90d5eadb6b4b4624e47f28ecb61d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/series_data.ex:154-164 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/series_data.ex:185-195 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/series_data.ex"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"924247480b85f16f0f06cec4b0ae4f416e407c9080a173c267bf397eb3299d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:708-718 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:752-762 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ba4eed2ef302e17a9ab9e7802cbf16628936e5949f431b2cd78ccec970c403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:666-676 | elixir/web-ng/lib/serviceradar_web_ng_web/live/node_live/show.ex:258-268 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a1b4da0ce30fb18707dfd7150a35199df1bab28adf24bde064910a243622ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:739-749 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:801-811 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6cafd9480c65dd93c0cb46c31b82c173cbcd3effb9df2c25b3c55439f5d61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_user_live/show.ex:588-598 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_users_live.ex:550-560 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_user_live/show.ex"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"269d059925b1ad0cd09a8aad4e456f1eda3ae12e831046bcf3dea60bd7533119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/bmp_live/index.ex:64-74 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/endpoint_inventory_live/index.ex:65-75 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/bmp_live/index.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4861507257f78e1ca934a44eefceff604a5d4f1720d9efc8766968e8ccf77576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex:2949-2959 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex:2961-2971 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37847451a98736e0e075a8c45a9aca704310f5b8b8cc605517dc3bd62ef0820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rules_live/index.ex:91-101 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rules_live/index.ex:138-148 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rules_live/index.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a21d6e4755b0912a99b03ab253b4ea97428c5958a674222a62ca487f13f0e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:77-86 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:121-130 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:93-102 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:144-153 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:193-202 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed90c4e76297fe58d31e402ad6159bbfa66240d484e7deb2d43708b0fe189269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:271-280 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:55-64 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:98-107 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:149-158 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:198-207 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5457142f672e567514b5b76f45b5983e0c23f73c8b25f0384f604c927e1f3d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:62-68 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:68-77 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:69-78 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:58-64 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bed143b499bdc166341c5bae64ba27ed31ec640f5554b5302a4e109119d340f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/execution_lifecycle_ash_actions.ex:140-149 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/mutation_lifecycle_ash_actions.ex:89-98 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_lifecycle_ash_actions.ex:177-186 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/execution_lifecycle_ash_actions.ex"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9b78857f9952ecb004026a67942a44b0a5c440d196bde8066d0d8c5947f3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/retention_worker.ex:235-244 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_watchdog.ex:176-185 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/schedule_evaluator_worker.ex:275-284 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/retention_worker.ex"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"763ac8d1cd74ef3fc020fc074a89e7dd30fe1da0c5d7985eee483b62c8aad3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/data_service/client.ex:662-671 | elixir/serviceradar_core/lib/serviceradar/data_service/client.ex:725-734 | elixir/serviceradar_core/lib/serviceradar/data_service/client.ex:775-784 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/data_service/client.ex"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"6562ce63b00d56a4c5b15f59633bf4946f87df120727c41e419e9e950b711ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex:169-178 | elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex:200-209 | elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex:243-252 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4405b93620857df5183e25179332baa567c1867195af1b7d9a63cf9704bdcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:27-36 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_file_transfer_controller.ex:33-42 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_file_transfer_controller.ex:65-74 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae3ad8476f4d3f942aed4c032e88bc468f411879a2a942afa1104900c0aac5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:880-889 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:902-911 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:1054-1063 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"58722a76841a5d3df2bceaae20ed5d870ad49ac7426425960de78e036d772a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_runtime.ex:187-196 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_runtime.ex:271-280 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/show.ex:732-741 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_runtime.ex"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f71de5fbd43b7f19592edc8b24a543345e2db07f1143dc17fbcbabd036124d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201310 lines \u00D7 5): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex:1655-1661 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:60-69 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:52-61 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1046-1055 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:78-78 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ed5466aa1b7adafb11e1d10e78600fda07004b84207376cb6949f0b7fae56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:102-111 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1089-1098 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:99-108 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8422353e2e10c0450a632cf04dce3495872681e437a4e5d5421b17ef44964355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex:45-54 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:32-41 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6418c4c1139acfc0cd7016bfd5878f81eebb826588fae9c4dfbbe9491b76c483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:147-156 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex:424-433 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_server.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f83506d3d54fe175ac5da8df04e0d93ce7a3ddb1e7f112e637861f2ce416f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:442-451 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:462-471 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"752ba6fd410d3bae7112636db0ff39e1c3b655c270baf7d294e14ea200caa42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex:839-848 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex:889-898 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"167398e0f092aa769337d2229baa1346f004bd888b6105c071d6a7e221029cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:842-851 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1871-1880 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae25967d25c808f9a57f9413b32f5680c86e109a80a599c6f7bef31cf8a0a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex:385-394 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:769-778 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31a364029b7996d4de02e9d6e1b60f88f6b7fa18018f118c3aa4834f5118b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:404-413 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:462-471 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5de7abd86a7925b840e6915da9bd1a6c33bc9cdce7e2867ca239959d8a19b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/data_service/client.ex:684-693 | elixir/serviceradar_core/lib/serviceradar/data_service/client.ex:706-715 \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":"elixir/serviceradar_core/lib/serviceradar/data_service/client.ex"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"9703e393ae61591e63b8f5b36439a51c7655454b5569143d048aed253da5aed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_requests.ex:600-609 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex:1300-1309 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_requests.ex"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a3daf40fe986715e026d30776ba27638761623a8052fd1a7ac1a436ca564b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:66-77 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:123-132 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fde1cd1b25f757857523667815974d4046c872b86737d26cebb7d59a37c022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:551-560 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1506-1515 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"914b66405df11f1c018e642b9555516b8b2356d48816f0d6c8cd17f979ce0003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:423-432 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:499-507 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"1240c0d94f746e78b0a76af00d132ca2b3bbbfadc7bbad6c29b960e6d24f0303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/events/onboarding_writer.ex:42-51 | elixir/serviceradar_core/lib/serviceradar/infrastructure/event_publisher.ex:247-256 \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":"elixir/serviceradar_core/lib/serviceradar/events/onboarding_writer.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb40ffd66634b7d30f4958801ee116aaf9ce9ad883d45bf2756610c3aa1dfea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex:777-786 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex:849-854 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"345398e124e6d88da906ae0d1572e5f02fa1f6d1adff28a5f734ebce52291f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/interface_classifier.ex:231-240 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/discovery_data.ex:102-111 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/interface_classifier.ex"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"baae1521d67827c9a0cb4559740cdeb965b7e52c5c9d851776293dad394143ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/passive_fingerprint_payload.ex:58-67 | elixir/serviceradar_core/lib/serviceradar/inventory/passive_fingerprint_payload.ex:72-81 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/passive_fingerprint_payload.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba47a59acd3540bbe28a16f498cabcd52ae3a069c9fca51817bc1ff4345a7918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1306-1315 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:633-642 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c7b2aed95f0e26e0e3b1ec2db556e4ae55ec1d76e45898f68fafd9ba5ae748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex:290-299 | elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex:550-559 \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":"elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76d6cb33df9d840231b46cecd2f05687a4dc3e1892ba730b9c5f75456dc1062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:392-401 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:563-572 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"590bbc62a4d19a189ae2597c6e00d659e8fde78b6dd47a6f380f9fe680bb7275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/oban_failure_event_reporter.ex:126-135 | elixir/serviceradar_core/lib/serviceradar/observability/sync_log_writer.ex:96-105 \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":"elixir/serviceradar_core/lib/serviceradar/observability/oban_failure_event_reporter.ex"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ec6b281f584fa2aa676ea7ae54033d5d3eff06bc21e4dc61bd1ec2b45f0836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:82-91 | elixir/serviceradar_core/lib/serviceradar/observability/template_seeder.ex:40-49 \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":"elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f19aaecceb2daf8a780f6ca6f5e47aca2f26a94327f2062b05ea9ff57dfaa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex:51-60 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex:67-75 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2d3f230a4a1a9f8ec19bba3cbeae372ff4dde7a2b7c1377180c41daf646639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_assignment_plugin_id.ex:36-42 | elixir/serviceradar_core/lib/serviceradar/plugins/validations/no_duplicate_enabled_assignment.ex:68-77 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_assignment_plugin_id.ex"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"129542c14d397826e986ecfa97e7c28911fca8015365fe426a5ec9a66e8ad77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/security/changes/stamp_audit_actor.ex:41-50 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_group_execution/changes/stamp_audit_context.ex:12-21 \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":"elixir/serviceradar_core/lib/serviceradar/security/changes/stamp_audit_actor.ex"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00bdc90eafc02278c8daea3f972299e830e41a3fff29e03c055e789d2bd4777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_probe_manager.ex:253-262 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_resolver.ex:207-216 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_probe_manager.ex"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"541336dbe80c05bdf61210f6a540a97a994391063ebacdb13b3995e529b3ab70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:861-870 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:888-897 \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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5c06a4f8c34e73addf7be11859f429fa5c95f5c58404cbc5bff080642cfaff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1102-1111 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1241-1250 \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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"180955b9ea348bbdd27b0f76ad8e70b0e3f191766a8374b25a869a06ec1d60ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/github_importer.ex:39-48 | elixir/web-ng/lib/serviceradar_web_ng/plugins/github_importer.ex:90-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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/github_importer.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2f196baa14487f86a13e28d1c899b0bcc24e3b95ae1490d7e0182db61ddc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:79-88 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:358-367 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf57f7e72a2499564bd1ee7c0cbba1bf7db6cbd2479ac76425c8a1c757918533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/auth_controller.ex:72-81 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/auth_controller.ex:131-142 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/auth_controller.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aecef355c93df97c8a4d79966015f04cf7e02d094c1e4e1ec2aef65e6c38eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_package_live/index.ex:281-290 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_package_live/index.ex:304-313 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_package_live/index.ex"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af8f94a21a7775afbd57e24d77be516cd25f7171090bb225bb6f030743de8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:648-657 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:742-751 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bd89060a5275cdb08f8c90ac90b15ba855a0a550cdf77c7225110771c9ebfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:718-727 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:768-777 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4228269cbaef79162a711daf0cb2adf0786439ec18ce177ea5ea9f2a50347a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/index.ex:919-928 | elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/index.ex:226-235 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/index.ex"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33fa7a31fb92b6f9bc06fee13622c080804b939a00ed6a468fa2fd536e1a901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex:1695-1704 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1323-1332 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3297f223282fe26213b250e5b93388b28d14f6bc572cb5f58a782abd0f0af8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex:549-558 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex:604-613 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"571f94cd7af87f1f3fdcb16e3412ce874ac6ac9519979e5bb7f0d9157b472364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_ip_enrichment.ex:53-62 | elixir/web-ng/lib/serviceradar_web_ng_web/live/flows/attributed_live.ex:371-380 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_ip_enrichment.ex"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f0d0fe83b893c347413fbd35a57b3889c312d1db1e88af90fbda988ce935d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.ex:137-146 | elixir/web-ng/lib/serviceradar_web_ng_web/live/node_live/show.ex:110-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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1a5a2df462a14784516a337297eb7315df4753ceacce7c664bf524e25cae7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:218-227 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:246-255 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f070922591727ba279187ad1c59d2cdee672410bb9bb286576c247557b0855a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:438-447 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:726-735 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a472426f5d6200caa7d1ebb705e188ae55483c6f8262d1414ba0efa510bd2de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:676-685 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:708-717 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c813046d419141884ae6fdf9535028178c54a573f765a39ca72e5fb13ce96ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:5863-5872 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/asn_lookup.ex:70-79 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":5863}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f19ce319f4c34845f5085a9c486b6baabfb3a63693559696bcab33596d1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex:141-150 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex:249-258 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed1f2225f8921bdd3e56637f4a49c660dc2c00645d751e7a6856ce2e0e7e57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/index/card_grid.ex:75-84 | elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/show/history_table.ex:115-124 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/index/card_grid.ex"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f81fff372b39bc2da149f07a400a1471b5ed7d3cf8713e68798546de7ac05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:1819-1828 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:1830-1839 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"474ce9520261661a1455791fcc50791e41506867bc4c721eee18f0623143191f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex:1554-1563 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex:1573-1582 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87fb8c9b2b5b03629436d23e7e731056480f6aa098821fa536112ef7748dc49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex:48-55 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex:198-207 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce0c095a720a5d17c17488171332a48e08576671ccd2bc32f0784fae4500cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:307-316 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:349-358 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8b3cfb818ccc53c2df227a4397d642bb1731b0d15f8baf61972d59a2fd43a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex:90-98 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_stream_controller.ex:42-50 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:83-91 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:127-135 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:169-177 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:112-120 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:410-418 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5402b5e9af120d053696578874a1b3e969dfefaed09e36e51527975e504130e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex:154-162 | elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:166-174 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:208-216 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:215-223 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:163-171 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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":"elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb03312807b2f3cddd88dcf20ae35586680f9acc5cf40d6ecd1d5fddb53f87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:1316-1324 | elixir/serviceradar_core/lib/serviceradar/agent_tracker.ex:191-199 | elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex:1323-1331 | elixir/serviceradar_core/lib/serviceradar/integrations/sync_config_generator.ex:373-381 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"879a6cdf29f047d104465f929cff43c9a406c9f4c0d6775bcde2795a1643c5e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:26-34 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:43-51 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:80-88 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:107-115 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2819d0bb9f5052ab9f5f9311f90d10ddda0eb4b4d37863aa8cf7eb2033e408b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:4420-4428 | elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:4487-4495 | elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:4521-4529 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":4420}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b357f973d6284719851dc1bc888cb6baaba19262b411eba3a7848caa85a447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:81-89 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:360-368 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex:60-68 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534953a3105f636460e53a66b45db3ac128c211ba58ee6bd6f9d47f0b3b5982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:365-373 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:420-428 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex:65-73 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c1adfe89eb237e076f948c3706ec29745a3b06766826f3c1148b2556804752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:259-267 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:361-369 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex:52-60 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4742884f1c023e735dcfaef915b60277f09ce490546befffb57fbef394a9ba76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:470-478 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:478-486 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:369-377 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2845bddcb1dbf074b255471e45438035c0f0feee731c1ea2d8137412fe353d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:232-240 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:250-258 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"83860a25f8952fad1226e81100d7872604fc9327d003461b36721782bb3271fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/mix/tasks/serviceradar.hardware_serial_backfill.ex:30-38 | elixir/serviceradar_core/lib/mix/tasks/serviceradar.mtr_hop_attribution_backfill.ex:39-47 \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":"elixir/serviceradar_core/lib/mix/tasks/serviceradar.hardware_serial_backfill.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"126e8937ccd9602f8f6b8634fb9d1fe0a95037d2bb751e3446b39a013cf886ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex:253-261 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex:267-275 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e07991cc706ca8c885492569a907ec2124655291c5e6760f57a352e514b298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex:689-697 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex:1081-1089 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"261e4ebc6de19d81ebd2067938bf910bb69639adf0074979e99af529f8611780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_inventory_sync_reconciler.ex:216-224 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/lifecycle.ex:159-167 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_inventory_sync_reconciler.ex"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c89dc88960d32a95853c81ad90c5a68589e368e5385d6d3772d147dedbc2c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:210-218 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:145-153 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"347ec585d2768f8fae658aaff78b8d587c5b6689be4cbd9337bfc399fd22e469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1051-1059 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:591-599 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c447b5cefbbb9a7642844e5ab5e96c1995dcbe8272b171886d8778c41d8868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2535-2543 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1532-1540 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"7529163c39e826865392df84261b534dd96c5f43cb051b3e5be155c4fa5a1b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:215-222 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex:244-252 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"54be1d8ef5a5d086aeb9f1af35e2ed7f3642bc03c9f5f16e12d03fc3b85dd435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:136-144 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:171-179 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a37a8532490025d7e46277898d9620955cde0fddc0d898d0f3beb8127d01d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/event_handler_runner.ex:119-127 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/event_handler_runner.ex:147-155 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/event_handler_runner.ex"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0387378751ac7aca758618dcc11651fe32f233c51614ad4f0ea564bb1c607d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex:1102-1110 | elixir/serviceradar_core/lib/serviceradar/edge/agent_release_manager.ex:1012-1020 \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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb694df16b7aac4bdfb0aa1f8a9130cee7ec8befe81979c6761d2b8fbcdceec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_broker.ex:1171-1179 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_broker.ex:1196-1204 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_broker.ex"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d6a79edb68cab0c8111434237afd2b8401ca5c44ec32ba1601dc194bd03eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_ssh_identity_issuer.ex:85-93 | elixir/serviceradar_core/lib/serviceradar/plugins/policy_owned_assignment_recovery.ex:244-252 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_ssh_identity_issuer.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b7041b3bb5fe16038add898ba23bea4a4866cc2bc0c8a00ab1d7ef089a5478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:1733-1741 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:2576-2584 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"391480fe3d6244ec2f94d1b735822e6fb260be8917782bb6a908ec1def70b8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/identity/alias_events.ex:204-212 | elixir/serviceradar_core/lib/serviceradar/identity/alias_events.ex:219-227 \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":"elixir/serviceradar_core/lib/serviceradar/identity/alias_events.ex"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"64666b26b54148cbd788bfbe75960d719ad05eca314011c9f17d4a488e779d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:1907-1915 | elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:1922-1930 \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":"elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d8069be2899cdc54aff3d672d575d87ad09b8f5b083a408d668e84bff54c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/discovery/decoders/dpi.ex:63-71 | elixir/serviceradar_core/lib/serviceradar/inventory/discovery/decoders/fingerprint.ex:82-90 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/discovery/decoders/dpi.ex"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38fdeb6234338b16d27cb03646d9ffea6719a671a177c8d80760f601ee45c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex:1202-1210 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex:2070-2079 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"73faa1076893343a3634f65ca87baa8bdf15b25cbd3d569f2000ef2d5e855475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:406-414 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:373-381 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd0f0dda5f517e45b73be2c8b0d6fafc088efb8ed9184b5bc415c848e1e2fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:99-107 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:84-92 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9084c4a73074fc8627edb7e9434cc8466f3a90a6e335279805802cfc1aac9a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/jobs/refresh_trace_summaries_worker.ex:281-289 | elixir/serviceradar_core/lib/serviceradar/jobs/refresh_trace_summaries_worker.ex:376-384 \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":"elixir/serviceradar_core/lib/serviceradar/jobs/refresh_trace_summaries_worker.ex"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf829a90f807bf65d083718829ca590969219a17371742e2320726a3ce862db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/monitoring/alert_generator.ex:96-104 | elixir/serviceradar_core/lib/serviceradar/monitoring/alert_generator.ex:118-126 \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":"elixir/serviceradar_core/lib/serviceradar/monitoring/alert_generator.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6746f2d0402c33aacf3ef614595a6f20aa17894c4830dc698a2c1e25be66424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex:2778-2786 | elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex:3015-3023 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"42711a5e9dd8d191073093118ecdd60f94c072a7acb4d4744e753c104a6729ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex:310-318 | elixir/serviceradar_core/lib/serviceradar/object_store/release_artifact_retention.ex:216-224 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/object_store/release_artifact_retention.ex\u0060 as WHOLE FILES: this scan already matched 3 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":"elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b0fb729e71ae0bb17fc6553924fe930bab458d3db8287785494b3adbeb6965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex:180-188 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex:665-673 \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":"elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceed85825125746ab700425054fbc8d6729629e699ba145b6c9d68d3638130b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:182-190 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:204-212 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9bfedd0a94cb40b68b70418c4e5f9449f03113c9ddd904afd679a828d7115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:393-401 | elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:1122-1130 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc924d3f159289a4eef555ec505a9808209c4aa34fe9d882dfc293c659e124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:41-49 | elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:66-74 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a33bb35545d4534640fd51a49fa776e883745f80e4eb41634cbaf37924624d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:51-59 | elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:77-85 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"27716c23479470e3cf0df34a38a1be854daedbb2e264f79c69c268d4614dc52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_resolver.ex:51-59 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_resolver.ex:78-86 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_resolver.ex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9500a2f755309013d5487bdf41be0b45190f8c338fb860fc5fb7645230996ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex:241-249 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex:373-381 \u2014 \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.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 6 separate duplicated blocks between them, totalling at least 46 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48ccc583eee4b19a9ead7e38889ad9ae0d0327523e902c40139cdc2c1b04d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex:266-274 | elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex:196-204 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad81820e62be0f8a5dced30cb82456db2d4dbc3e4ca3df61273112d189757297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1058-1066 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:1071-1079 \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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1e52573bef4986d68ccc27d5708e94855cc9b9599329a98ed919a15bdacab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex:44-52 | elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync_worker.ex:46-54 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c30f1593bfc143b7c171dc3a87da269c3351ef01a63227c0b40016dca212dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/auth/authorization_audit.ex:108-116 | elixir/web-ng/lib/serviceradar_web_ng_web/auth/authorization_audit.ex:128-136 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/auth/authorization_audit.ex"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3220dc22ee561f43601f285e72c80e57103938d19959ce7bcb06c6103210f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/srql_components.ex:571-579 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex:162-170 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/srql_components.ex"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b769d4d012038fbde29b3acb412db3281414fed079bb2d7e1aca2f29abc6871e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/authorization_settings_controller.ex:40-47 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/bmp_settings_controller.ex:35-43 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/authorization_settings_controller.ex"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"243e7230392c799f987c4e21cd26a44705169b7cbea529802c5a0f8cbcf30327"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_stream_controller.ex:27-35 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex:55-63 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_stream_controller.ex"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7b948dbae08100c5efcd00e5ae85ac794e88e14b5f585c429d23f3875745a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_file_transfer_controller.ex:71-79 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:195-203 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_file_transfer_controller.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"293e119f9c7b4be519f8b269d600966aebb94fd0da64c7638871c90f42898f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex:455-463 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex:112-120 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bf10b598a5cf069e01c46652c527905605607f48743d7b0fdf8c6a91539f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:64-72 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:87-95 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"68995836ff0bc6158a137d70c8e021d1740071789db12683a5f2d6041273b7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_compare.ex:193-201 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_trace.ex:383-391 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_compare.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeb06b4655371592ec37b381d6e2c3e128bbf9f16144a485709eb3df2c9a08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_compare.ex:209-217 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_trace.ex:399-407 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_compare.ex"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e60ff0779988110a554524e3bf195127f39e62fc736b693214011c06f986dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:696-704 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:758-766 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f928e521ffc379b44d456da659213f7af88f0501aa5030ad2c164dc976c0aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:5131-5139 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:10245-10253 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":5131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f65c95d396b8c43ca7f28f75e083424644252f737451f97990eaa0a9a1a7cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/enrichment.ex:55-63 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/enrichment.ex:78-86 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/enrichment.ex"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4228c2045223e79eb5396891d029d8c1c5c40cb3afac930d331aaba92d024a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_context/map_markers.ex:66-74 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_context/map_markers.ex:86-94 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_context/map_markers.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c6cb785cd49d4abfb92be42ada2c4c7e6f80ef96fc96905c21a0efdd47237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex:11-19 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:236-244 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/builder.ex"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f343543d12245cedd47b780916983eb8136cb05e72df28c3498169a2ef121a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/profiles.ex:62-70 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:170-178 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/profiles.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eafad3d1dca9e34c6f037c8f80e66ea942dcfc57f263daff1c7c5f45f3051d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/profiles.ex:120-131 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/profiles.ex:146-154 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/profiles.ex"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1c756a995a32a0da6ac3126971d592eba10443095b0676b5c4a009da7b7e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 18): elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex:83-90 | elixir/serviceradar_core/lib/serviceradar/inventory/agent_link_repair_worker.ex:428-435 | elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_worker.ex:96-103 | elixir/serviceradar_core/lib/serviceradar/inventory/device_identifier_gc_worker.ex:208-215 | elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_assessment_worker.ex:47-54 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex:42-49 | elixir/serviceradar_core/lib/serviceradar/jobs/schedule_health_worker.ex:124-131 | elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_state_cleanup_worker.ex:247-254 | elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_cleanup_worker.ex:47-54 | elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex:117-124 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:54-61 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex:57-64 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:48-55 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:50-57 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_security_refresh_worker.ex:73-80 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_cleanup_worker.ex:58-65 | elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex:51-58 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex:100-107 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9744ad45ba734f5d24c5af2c09cca4ef75fd754f73467a00a691da24a03b04a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): elixir/serviceradar_core/lib/serviceradar/credentials/plugin_credential_rule_reconcile_worker.ex:100-107 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_integration_reconcile_worker.ex:58-65 | elixir/serviceradar_core/lib/serviceradar/identity/cli_auth_cleanup_worker.ex:89-96 | elixir/serviceradar_core/lib/serviceradar/inventory/interface_threshold_worker.ex:92-99 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex:42-49 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_worker.ex:55-62 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_legacy_assignment_recovery_worker.ex:97-104 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_policy_assignment_recovery_dispatch_worker.ex:72-79 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex:38-45 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex:79-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_credential_rule_reconcile_worker.ex"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c627ec652aeede2200c29c93448b2d7a3c6e8c73e1470fb585b21727c1fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/events/onboarding_writer.ex:42-49 | elixir/serviceradar_core/lib/serviceradar/infrastructure/event_publisher.ex:247-254 | elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:1498-1505 | elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_event_writer.ex:81-88 | elixir/serviceradar_core/lib/serviceradar/observability/sync_log_writer.ex:99-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/events/onboarding_writer.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6c22e5bf5c401432f756d3b52bcb7904d52a6919238dccb54531ff1a09ca15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:81-88 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:93-100 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:94-101 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:77-84 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f7b47187242870ed764dbb190a12d56fd6feba3ccb71148fd370e2bf67f363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:24-31 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:181-188 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:268-275 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_target_intent_controller.ex:91-98 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d139bcb536c848e9599a0905cb589ade7eedafe759dcc97b08a2e1f47c7b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:174-181 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:147-154 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1167-1174 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/builder.ex:981-988 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af2303b2ba37a8026e770d168eb0eb079fc3f3685352c8094602b5b1ecf25e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/palisade/lib/palisade/outbound_fetch.ex:72-79 | elixir/serviceradar_core/lib/serviceradar/policies/outbound_fetch.ex:40-47 | elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_fetch.ex:40-47 \u2014 before extracting anything, compare \u0060elixir/palisade/lib/palisade/outbound_fetch.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/policies/outbound_fetch.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/palisade/lib/palisade/outbound_fetch.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94e231eab510875e62dd7a606cc155efdfc2cb37c6785b6f5c5cfa2485473a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:163-170 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:181-188 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:207-214 \u2014 before extracting anything, compare \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060 and \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b98f1a6f69d6b24d645cc00a1f80ecb00c3747449cc217d61d22e5494c7086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:194-201 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:213-220 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex:148-154 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b801e7870e95363fa3c030f818060c1e8dd22e18574a88e33892a3279697a53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1165-1172 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1233-1240 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1350-1357 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"163450baec5611ec81112411eee745eac1431b4db3149a793e760f027a2c3a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1173-1180 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1310-1317 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:637-644 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f707bea4f47380fed6a3542ada4dc754b0992734f12ffc26067d237060f4e9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex:129-136 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_baseline_freshness_worker.ex:116-123 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex:630-637 \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":"elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bc291194aa9ef504ffff1e7cec9d825db579bf08797d981088c64626f5b2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/user_controller.ex:146-153 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/user_controller.ex:169-176 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/user_controller.ex:193-200 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/user_controller.ex"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c7d10f2e17384e2eb6130423061ab1d456d390b45f5e28f2ab08333e0e8684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:38-45 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:45-52 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:35-42 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f424b5b95cdc6b4d7b0323ea7c5dcb1b304c5a0288744e65f41a0eea799001a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:64-71 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:87-94 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:78-85 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30f87de3fef1004e58d3393eba47b585ea6b15e26ac8fd6e9ed9f43e489e5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9138-9148 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9363-9370 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9617-9624 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":9138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1761b7ba31cd91f7f2cfad219a7f460479280ceb8452e5df1f74e8715b8213f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex:287-294 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex:309-315 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex:330-336 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f3071ba3c767826e6b54710d3bdd2d50fe9eb02007c66eca68d4421f74208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:747-754 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:1245-1252 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:1265-1272 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0cf0c89c005e3f3d7103e4514e95502bcb4e603cab7bbe947a7f00dfe076f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/palisade/lib/palisade/outbound_url_policy.ex:93-100 | elixir/serviceradar_core/lib/serviceradar/policies/outbound_url_policy.ex:58-65 \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":"elixir/palisade/lib/palisade/outbound_url_policy.ex"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6d196b611b4040f613c4b7cead8efbb6c556f828545231040b3131320a407a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex:174-181 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex:217-224 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_server.ex"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5f177e23575fe9f80338aae7aa1b683a0a43681b9f4eabed3ff18100d0825d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:501-508 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:470-477 \u2014 before extracting anything, compare \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060 and \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"c893bd820d5b0c767f2947b6ce433a32277d86566d11a4958794ed6b713bc5e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/admission/flow_lane.ex:26-33 | elixir/serviceradar_core/lib/serviceradar/admission/retained_plugin_lane.ex:26-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/admission/flow_lane.ex"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca7e82ce07f5a747a6c79c5e2d4103abf94c2e4594a151d03119f1527a545cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:49-56 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:46-53 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b363733ed751f9bb30f4bef0be48a892b345823f0e480afbf334f47363f474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex:743-750 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex:790-797 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d160b83034682f01c716f250249cd210c35ceefc217c72c3815cefdb67fb44c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher/ash_adapter.ex:80-87 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority_ash_source.ex:89-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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher/ash_adapter.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee5f7b1a15ecb63b7926137de8f6d71015c639f13683f291ee919848690baec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/credential_grants.ex:59-66 | elixir/serviceradar_core/lib/serviceradar/notifications/plugin_credential_grants.ex:33-40 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/credential_grants.ex"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"45399653ea95cdc88a54a5ee57e9ac5fccd0faac8b259aa8d2f9941ea47187d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex:68-75 | elixir/serviceradar_core/lib/serviceradar/infrastructure/event_publisher.ex:245-252 \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":"elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be82ab7b6863b997314e1ea912af887838abc60b38afa54e163ac5e57261a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:2046-2052 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:2132-2139 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e60e36e3bf052429c0f3c3bc1a6c7ea5257a4699a1eb4e068c9a6b8eb95d9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex:539-546 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_payload.ex:213-220 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4805f28c9cc705e55737064d1a04b36a83426fe104d8ee6d34154232f7463ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:418-425 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:385-392 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e32b256818e7623fe2d952e4f5271b1dd8b5c2d455d67fd07a31587d8f8972a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1056-1063 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:482-489 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8c9a535df60e0708c3481a9e240bcc99bc9c9b6d0f96c292df4e91552691fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex:823-830 | elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex:918-925 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/dispatcher.ex"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a2208b83e3b1af835d32e5b105b9b13b4c27beff6ca38fc61006986400b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex:94-101 | elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex:78-85 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41743f82825982322e9c29e9f1e59f31de61c00f07e2e39022b1e90cbd6730b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/diagnostics.ex:94-101 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/diagnostics.ex:122-129 \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":"elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/diagnostics.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8accc13dc1b1a5851a56c856b7af0ffa771ad3f26ad265ada9aab272559a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/changes/issue_direct_leaf_access.ex:48-55 | elixir/serviceradar_core/lib/serviceradar/plugins/changes/issue_direct_leaf_access.ex:72-79 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/changes/issue_direct_leaf_access.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9400e7de949fd7247bd68b60a620a122db7af52528e2ee88b8aabe2315b78ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_assignment_addon_id.ex:36-43 | elixir/serviceradar_core/lib/serviceradar/plugins/validations/no_duplicate_enabled_addon_assignment.ex:62-69 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_assignment_addon_id.ex"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f03941ca47975f3267069949c820d7dd78a7d102447bd3cf4af7784f792e241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/config_schema.ex:324-331 | elixir/serviceradar_core/lib/serviceradar/plugins/config_schema.ex:469-476 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/config_schema.ex"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dcbc905813ec971be2ea11894e16d829864eef329e6a0fdce7eec392e72c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_ingress_supervisor.ex:18-25 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/desktop_media_ingress_supervisor.ex:18-25 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_ingress_supervisor.ex"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"888c9a8065532db850561dc32c6c4f368f03a1db37b6e0a6f0c1aa52921097b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/external_boombox_analysis_worker.ex:44-51 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/reference_analysis_worker.ex:43-50 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/external_boombox_analysis_worker.ex"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"270d9b18b0047a433cdfff92be020c8de60fcc4beb20bc3bb9dfe424e6e4aa91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/dashboards/frame_runner.ex:295-302 | elixir/web-ng/lib/serviceradar_web_ng/dashboards/frame_runner.ex:336-342 \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":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/frame_runner.ex"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a897213fc45c4b1312af24d952d85c23719fb8c0ca3c60f4dcac1c2a1d8b4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex:545-552 | elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex:596-603 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdffe4acf7f766708e5c7297d75c09756dfeb49b73ae8a0b9115be7ebcd44e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/auth/sso_provisioning.ex:85-92 | elixir/web-ng/lib/serviceradar_web_ng_web/plugs/gateway_auth.ex:386-393 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/auth/sso_provisioning.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c17059c7fa216c3dc7b8414bc70dce18a67732dbbadfbd6afc1d1337f82a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/camera_relay_stream_handler.ex:270-277 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/camera_relay_runtime.ex:133-140 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/camera_relay_stream_handler.ex"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4823eb623e53a06b5d25a47e2837765b5ae7ff16bf76238a7be310febe7d1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex:101-108 | elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex:155-162 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"522f6a6c34438ab2492d2b736e9cd8f0416633f9f99822c44bc48fc542100292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/promotion_rule_builder.ex:701-708 | elixir/web-ng/lib/serviceradar_web_ng_web/components/promotion_rule_builder.ex:733-740 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/promotion_rule_builder.ex"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52fa66c027b2f7ac93d65ed473a0990f8c7ab15315558aabc7f8a330fac01e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex:201-208 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex:246-253 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_desktop_target_controller.ex"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1723f49a2bdc680680a11f6b85fe0d0c2cee5c5e0f81359e676f8fdee899b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex:2693-2700 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1831-1838 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"62482b11d5237426b1d89b8091aedaee6fc78609966ba60589bff674b968ea68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/index.ex:17-24 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/index.ex:17-24 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/index.ex"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f80bab7f0664ec7d84b52f66a8a5eb2d5960af207a7c613ce382b806d809c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:1996-2003 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:2862-2869 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55155a18cb7c49ea343994130a533997f86ec34c8a5ac2fef9976efe581e563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/index.ex:239-246 | elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_hub_live/index.ex:124-131 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/index.ex"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e010f0c177a9a180f4e6d7aedbc235c99faf8eebd6d7b204d72b35aa2b9027f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex:143-150 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex:194-201 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd694084dbb260bceb05cc2ed3d24de7634ebdd19db350379a1aa6bfad5629d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:590-597 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:482-489 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.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 12 separate duplicated blocks between them, totalling at least 121 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ce4520c135e4b7c83c23f6957faeeccf34f6b455bd037c67a6ef5ebcc10821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9061-9068 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/enrichment.ex:62-69 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":9061}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a789d922d76cfe718603f5fa59481aa786b72e6280598865f5fcb469c0da0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data.ex:189-196 | elixir/web-ng/lib/serviceradar_web_ng_web/netflow_visualize/query.ex:507-514 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data.ex"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db8d8cdb3e37ff732c49251c4e94fcdab4840cda35c55f48d3453d668047a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex:412-419 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex:466-473 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cba8229ee1e0d9670f0205ac241eb1fbc2eeb83fae53c62b74360677e98f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex:3107-3114 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex:3119-3126 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/integrations_live/index.ex"},"region":{"startLine":3107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c9ca86ac210fd6c8e49c1702e1501a29be1733cbbbf2ebbba7cc0b03b800a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex:78-85 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex:83-90 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index.ex"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7fe13b20881be677bab204f0a25aeb6b8c2107af68314702b489fa7c2a762a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:234-242 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:420-427 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb189462827ae454cc0357c208fba52a0b47cfde40029e9b6574b664dd079c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex:441-447 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:602-608 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex:205-211 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/spec.ex:286-292 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/common.ex:33-39 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex:165-171 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a3a8d0ec87661e10b5eaa5f8959984c8b781e0904c7e02982b39ab3f106253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:456-462 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:522-527 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:927-933 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:993-998 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bd08179b5860de1cc6294db8e4a9afcc8dfa8a5f304eefdab4c1a490bf670f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:268-274 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:280-286 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:243-249 \u2014 before extracting anything, compare \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060 and \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5b9849660eb699c6b531fee8a25938c2fb0f0f789605346371fbbbe3ca7b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex:692-698 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex:1084-1090 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/dispatch_marker_contract.ex:138-144 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5163b6f55971663543fdcfb1605b518b1f26f10504b13c1c115724fc6d8ac91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_response_policy.ex:120-126 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:139-145 | elixir/serviceradar_core/lib/serviceradar/inventory/sync/batch_executor.ex:33-39 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_response_policy.ex"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9348b7f311f0d433316ddd4cb67f2d3eafe4d9086be4cfb8640a3642b077ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex:313-319 | elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex:1257-1263 | elixir/serviceradar_core/lib/serviceradar/inventory/device_source_observation_ingestor.ex:210-216 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"899d7af2ef884bab6cedb3dab3d2753587df3b276af51758d350cb8edc7f6cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex:70-76 | elixir/serviceradar_core/lib/serviceradar/events/onboarding_writer.ex:42-48 | elixir/serviceradar_core/lib/serviceradar/infrastructure/event_publisher.ex:247-253 \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":"elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71b93294aeb5a19cf6218ea861d7c806b925fbc624f79f1f5261746adaf93c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex:70-76 | elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex:274-280 | elixir/serviceradar_core/lib/serviceradar/events/health_writer.ex:37-43 \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":"elixir/serviceradar_core/lib/serviceradar/composite_checks/verdict_event_writer.ex"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"847a350dbbc71820effd843cefd5d0268299c92a5913d4399c2c3f04796afa41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:1194-1200 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:1334-1340 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:1843-1849 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f066cbf8d12b818eb07ae371b70cfecab8bcb11d050462189c8abd5353da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:676-682 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:710-716 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:740-746 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"a835bc54630686d40340382a159fa7c45da79f8f961cb25466c08cc5e7db72df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/notifications/action_redemption.ex:289-295 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/alert_lifecycle.ex:222-228 | elixir/web-ng/lib/serviceradar_web_ng/alert_actions.ex:410-416 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/action_redemption.ex"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e443d2a9e3359fbae032bcc49e2f2b47cc31e7f0f8dc46699b6d2d1fcf9e869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_scheduler.ex:57-63 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_enrichment_dataset_scheduler.ex:52-58 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_scheduler.ex:73-79 \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":"elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_scheduler.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9493a0b468048508d2178f4c103080b110fec08cf4d864674d90cb0d62e6aceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/diagnostics.ex:95-101 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/diagnostics.ex:109-115 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/diagnostics.ex:123-129 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/diagnostics.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a6bdf2c9134e9978ba63ec3c8c9bd70ea11b6a577dd8960e18bdd63c2d20d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex:58-64 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex:73-79 | elixir/web-ng/lib/serviceradar_web_ng/plugins/storage.ex:250-256 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/field_survey_artifact_store.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_raw_payload_store.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"113c356a229e5afd499b9c205535ff702f20615c6d317b5610701acad4ec724c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/scan_controller.ex:110-116 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex:2608-2614 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_package_live/index.ex:1273-1279 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/scan_controller.ex"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e42245bf919029c4f3c03e2a3a00aa8c4baf56fbdd0d670a51e5f69603162c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:134-140 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1121-1127 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:121-127 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c53c5d322e7ae020790096db000467460ad2bc986c21322d5554f0913fdbee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:34-40 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:63-69 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:78-84 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428d54c8d13cc052cded18e6a013be7efc5a5d963014a5198c69c3087484a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:1461-1472 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/media_identity.ex:68-74 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ad991fb1984cdc95bab24bccfc5f9cacd392e96de264b702df5730e97949fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:503-509 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex:523-529 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32761b8cd4353284bb3dbf71c7a9ca2b030b0cc460ecc9946b004975dfcc87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:428-434 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:309-315 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d91125268a4f539e28905cab95a917a0b3f0f4bc669d6ea18a32757e2722a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:213-219 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:353-359 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aee2ada304b8f061f1012ac93b5835d4188488170f9988dfe40cd933a1e53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/ocsf_mapper.ex:122-128 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/ocsf_mapper.ex:137-143 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/ocsf_mapper.ex"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"227f93aab4efd8bd4eaf75eecf5bc9221fc7649e1d0883d0b6dc76007459b27a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/variable_schema.ex:182-188 | elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex:379-385 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/variable_schema.ex"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"253e81035f7d267d981631b263de34399a1a4fb4f4fccf227267e4c8ebd11a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex:191-197 | elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex:236-242 \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":"elixir/serviceradar_core/lib/serviceradar/credentials/credential_event_writer.ex"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b122731159245559b503b254e1ee6c4271203cb6216f1649c671c7f9c753280e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/credentials/secret_broker.ex:398-404 | elixir/serviceradar_core/lib/serviceradar/credentials/secret_broker.ex:477-483 \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":"elixir/serviceradar_core/lib/serviceradar/credentials/secret_broker.ex"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75372e875d162ccc9802ba12ae59a9fec49086ca2959ad9b7a939036949df80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/release_manifest_validator.ex:516-522 | elixir/web-ng/lib/serviceradar_web_ng/plugins/upload_signature.ex:132-138 \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":"elixir/serviceradar_core/lib/serviceradar/edge/release_manifest_validator.ex"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f2672b2f0be098a25da09d169d0345994b02e7eedf7db857c14ad43765760a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex:292-298 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:1563-1569 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acdae47f85a7a124f82f3ba158cab3a5e9068dd78a7ada9ff0757166718dd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex:226-228 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex:307-313 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex:325-331 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"354246396aa9f0cd46098b0e71edfc411058cb5e0140c82b0d004f9f3dd00603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:665-671 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:731-737 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53c24d579afd28d06be7a8b0aea1cfa75a161451244476275deaba6cc56ab0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_artifact_persistence.ex:58-64 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_artifact_persistence.ex:167-173 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_artifact_persistence.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8335cbd152557eb163d68a86df4cf9b45dcd6c016dd6720dfe013b620266353c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:71-77 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:76-82 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8762c4fa340e1374c4c7321c7a8553a58165ce58897149b3b40bb42b3171c3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/assignment_lifecycle.ex:324-330 | elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule_dispatcher.ex:496-502 \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":"elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/assignment_lifecycle.ex"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23e67e53a955e75753ece9d2e369946fcd5f6c9e6834c51e9b113ae6a30cef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/plugin_state.ex:222-228 | elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/plugin_state.ex:280-286 \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":"elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/plugin_state.ex"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"188365f930222d7ab32bf52a19cd9acc96563fc47fe721e889c82f0f16ecc10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:503-509 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:550-556 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06ec41f5e37bf66f2732957a23384ea25e8732dc3ba02f968ad328566aba775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex:610-616 | elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex:649-662 \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":"elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd351ad1448ef0dcc064c3fbf6507133963813b4c28e4813aafbbd28b4ab9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex:171-177 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex:222-228 \u2014 \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.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 6 separate duplicated blocks between them, totalling at least 46 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbf46122fc46841566e4539fcc0f7c14528ac68046371062a2aafa79d2723b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/dashboards/frame_runner.ex:306-312 | elixir/web-ng/lib/serviceradar_web_ng/dashboards/frame_runner.ex:313-319 \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":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/frame_runner.ex"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c68f15d3cf6942f96ba496d090cad7beeefe7134b627d8ab52fff03407cb22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/dashboards/packages.ex:714-720 | elixir/web-ng/lib/serviceradar_web_ng/plugins/assignments.ex:332-338 \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":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/packages.ex"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"8703effd567d168dc0498acfc1668a16ffe6cc074c301c40f70fd2748c72c8f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex:147-153 | elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex:83-89 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37017ca9f9521252c533459cc68702d86e74ab5250ec8d6f0a1a346d3d73b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:40-46 | elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:65-71 \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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5feee3a510f6b95bc77867dba381febadfdae02b877e9d3f9b0c21a1df165bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/srql.ex:51-57 | elixir/web-ng/lib/serviceradar_web_ng/srql.ex:108-113 \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":"elixir/web-ng/lib/serviceradar_web_ng/srql.ex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4855415fc1146fb0d3ebc8730fd1c02aac3dca60b548c3fddd2656e876e7f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/camera_relay_stream_handler.ex:94-100 | elixir/web-ng/lib/serviceradar_web_ng_web/channels/camera_relay_stream_handler.ex:127-133 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/camera_relay_stream_handler.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c343a60944b2e29c57695b777283fcda4c9f98682d3aa679786a7719dda6ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/dashboard_frame_channel.ex:446-452 | elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_package_live/show.ex:809-815 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/dashboard_frame_channel.ex"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45df4164bc2ac5968dac118d6be979fd9206b5c1f93c6f134dedd41f03c88ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/show.ex:45-51 | elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_package_live/show.ex:44-50 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/show.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b977e3e09eefe71cf4e71a6428e63f0e4e5a1cab21102dc6310bd5024024f863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex:159-165 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex:217-223 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e663d36feba4c7ddab0aa208b794117310d2325f079ccc75e63299b4be2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_mount_assigns.ex:121-127 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/show.ex:1091-1097 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_mount_assigns.ex"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b8c8fe25e74eeec24fd9bf5070f61e9475d2468302b70e0cf9f3c0cb904301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:90-96 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:261-267 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8455c839aa5ca6e55481a72cd2457e69612ae0b5f04a9c70f83ba5abb8ad1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_context.ex:185-191 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_context.ex:201-207 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_context.ex"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"357846b4b9c356b04e5c842db2ece794e4f5c72aae22026fe3058453edabe802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:559-565 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1874-1880 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abbf2441d3a16817a31daddee86140bd835cbfca423a0ad12b63fff333730b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/ansible_live.ex:169-175 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/ansible_live.ex:241-247 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/ansible_live.ex"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d14e6c4d93bbc187a793550c5be71883db245a62c4a3c2b87a9fc78630c4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex:85-91 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex:118-124 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eff2a37d54c64c067b1e1721e09c2d3401d1570e409cb408ea6ba4b15f47fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/actions.ex:20-26 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/actions.ex:47-53 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/actions.ex"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da67af1c008ea2bd2247649676a6c407d1cab10b23113bf83c114814dd6d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:40-46 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:150-156 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed13f1029cc0147f51c320efc3611cf9827665dc19d627583d0fd2cc5c58462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 19): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/plugin_metrics_publisher.ex:64-69 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex:644-649 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority_ash_source.ex:69-74 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:140-145 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:175-180 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/target_resolver.ex:26-31 | elixir/serviceradar_core/lib/serviceradar/credentials/credential_parameter_template.ex:220-225 | elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex:1497-1502 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_ssh_certificate_policy.ex:210-215 | elixir/serviceradar_core/lib/serviceradar/notifications/renderer.ex:418-423 | elixir/serviceradar_core/lib/serviceradar/notifications/suppression.ex:659-664 | elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex:114-119 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex:655-660 | elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_pose_samples.ex:38-43 | elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_rf_observations.ex:153-158 | elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_spectrum_observations.ex:110-115 | elixir/web-ng/lib/serviceradar_web_ng/dashboards/system_reports.ex:203-208 | elixir/web-ng/lib/serviceradar_web_ng/srql.ex:536-541 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/predicate.ex:164-169 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/plugin_metrics_publisher.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ebc2fa190827cbe20e068b5206c2755c5017a6af2320acb5f6ba0821c434c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:141-146 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:176-181 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/target_resolver.ex:27-32 | elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex:1498-1503 | elixir/serviceradar_core/lib/serviceradar/notifications/renderer.ex:419-424 | elixir/serviceradar_core/lib/serviceradar/notifications/suppression.ex:660-665 | elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex:258-263 | elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex:115-120 | elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_pose_samples.ex:39-44 | elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_rf_observations.ex:154-159 | elixir/serviceradar_core/lib/serviceradar/spatial/actions/bulk_insert_spectrum_observations.ex:111-116 | elixir/web-ng/lib/serviceradar_web_ng/dashboards/system_reports.ex:204-209 | elixir/web-ng/lib/serviceradar_web_ng/srql.ex:537-542 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/predicate.ex:165-170 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"268523dd7fa47a51726f7da53ff5d5b039e513725f8e9d7bfd182544ef0e03cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex:443-448 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:604-609 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex:207-212 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/spec.ex:288-293 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/process_metrics_components.ex:173-178 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/common.ex:35-40 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/visibility_components.ex:1504-1509 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex:167-172 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/srql/viz.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"814e5e958645b97d518558db4ec7913acb093ccd584e2e374318a23a1b0d69e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_response_policy.ex:120-125 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:139-144 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex:313-318 | elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex:1257-1262 | elixir/serviceradar_core/lib/serviceradar/inventory/device_source_observation_ingestor.ex:210-215 | elixir/serviceradar_core/lib/serviceradar/inventory/sync/batch_executor.ex:33-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_response_policy.ex"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8de2d323958e8f841ea1332d4b67b1c778494722f793ba9ab7b869dc51d35a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex:545-550 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:608-613 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1640-1645 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor.ex:1305-1310 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d03ea8e56181efeac185d3197966f844db89e30e331558c2117351495d2291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:103-108 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:121-126 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:122-127 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:99-104 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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":"elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c2af562bdbce6b6613c9fdc1ca472ae0fdad0998f54d10e2eaa37da63018f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:580-585 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:471-476 | elixir/web-ng/lib/serviceradar_web_ng_web/live/metric_live/show.ex:398-403 | elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex:1087-1092 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.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 12 separate duplicated blocks between them, totalling at least 121 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69fc489a50ed02aa79eff1fd9dad731b723f9282c6105b7e0acd53f99afe206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:158-163 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:176-181 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex:129-134 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3350a4cede423a7abe778087c6e0a9b89c5fb790d358275f645f249b493c3e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:239-244 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:257-262 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:232-237 \u2014 before extracting anything, compare \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060 and \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5dde34e465da9aaf569989a064f2e41cb33ada2660b8df9410da3fc1338bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:48-53 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:45-50 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1518-1523 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0592f2ca62806feeabf1b1403306498c88c6cec22903a3719fcfb6a8fb3feeb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:213-218 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:280-285 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex:353-358 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c6cd6f14f1afdbcccb87cdfc2ddc37ef85fcdd4adabaf2139aff83eea1b3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/inventory/visibility_profile/changes/stamp_audit_context.ex:30-35 | elixir/serviceradar_core/lib/serviceradar/security/changes/stamp_audit_actor.ex:59-64 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_group_execution/changes/stamp_audit_context.ex:30-35 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/visibility_profile/changes/stamp_audit_context.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3e667c6e1c25b90b88a80562339097b5de6517399a030ef294526513b84734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/mtr_consensus_worker.ex:335-340 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/process_metrics_components.ex:209-214 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/common.ex:56-61 \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":"elixir/serviceradar_core/lib/serviceradar/observability/mtr_consensus_worker.ex"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09a5bf20dc568c1d2eb4dd575b8027b800546f4a39cdf0fcb35195c41113408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:337-342 | elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:1060-1065 | elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:1079-1084 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fa176352f91a9d0cdfe247020a66f317657c3549a121b2dc79314338958007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/plugins/changes/issue_direct_leaf_access.ex:85-90 | elixir/serviceradar_core/lib/serviceradar/plugins/changes/revoke_direct_leaf_access.ex:25-30 | elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_direct_leaf_access.ex:111-116 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/changes/issue_direct_leaf_access.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"421f5089ead62b397f28248f0c5cb7be24df46638d70fd94a3d6d0e6bfc70dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:370-375 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:488-493 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:536-541 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c594ddf5ff27200cfa815a56f2a6b3563acc7388e117674ab66dc87751b8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/addon_package_controller.ex:71-76 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/notification_callback_app_controller.ex:130-135 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_package_controller.ex:476-481 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/addon_package_controller.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b303d1cd0f595a0562e0635cfe11e344ea03d1640b627c5726864ebfe5a3bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/index.ex:367-372 | elixir/web-ng/lib/serviceradar_web_ng_web/live/bmp_live/index.ex:327-332 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:3772-3777 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/index.ex"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"87255c2d88e42e471098675d127fc9e5e77fe8b26cfae44b4af3cbdfeeaef50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): config/manager_config/elixir/lib/serviceradar_config/manager.ex:135-140 | elixir/serviceradar_core/lib/serviceradar/postgres/schema_sql.ex:246-251 \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":"config/manager_config/elixir/lib/serviceradar_config/manager.ex"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb68d53d925a1930e742d2efb045a1b10b8abe7b2a98527c98bf652c9f252ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex:987-992 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex:1014-1019 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f716606ff0d79a59cbc6431fd998a4c72e8367abc8f1a9ae7ddf1efa23575b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex:575-580 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex:588-593 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6a955fd7d833a6edf2c5d1877ec48716ac26c0bbe08353c1d0a8460093938c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:88-93 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:71-76 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a958e6519b22d34c8949ee2f71859fce844d889526f05d19c3964ad7761062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex:254-259 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:371-376 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fd63fa1db5a4f1cd945ba7af27f347d81daa8921f274513e0ae27226eea793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex:503-508 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex:374-379 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"756e05ad2c6dc42f3c62ccbfff3423dbc19c3ac9ce7fd4b7565e191be97f587c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:484-489 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1621-1626 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4fddb4d299a5c4936964aec015bd7ec446e96ad9a0780fae955119528b488f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1664-1669 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1441-1446 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fa41aca78d8269de00ffba2ff4f4b9a5fde482582a7c8bbdc8bf117088568b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2471-2476 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1399-1404 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"119bfbd539c032cd6f238d6e5ecea0e055dc3e2c2211d1048faddb527155843c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex:308-313 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex:357-362 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb32cca9d6c6605de7a23d7840284465a16e0a6014846065a7537951666cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:472-474 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:547-552 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:943-945 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:1018-1023 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"805ba59024641a7581bff9d0e036b441f359a7620b77df1a4a68223d0ce14c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/camera/analysis_worker_alert_router.ex:202-207 | elixir/serviceradar_core/lib/serviceradar/camera/analysis_worker_alert_router.ex:220-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/camera/analysis_worker_alert_router.ex"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae8f45671300d7e542a3a53ba6a1231e76315a001bca2cc127797ad11dfe468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/workers/provision_agent_worker.ex:187-192 | elixir/serviceradar_core/lib/serviceradar/edge/workers/provision_collector_worker.ex:153-163 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/workers/provision_agent_worker.ex"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5217af248af91236b7ecefeb3ff2b63b2dc11772396f7986490b5ceac42255a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:2666-2671 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex:1024-1029 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"9713f9bc6b37d5e7bcdfa910ac4758ece2ed918ebe65bc9a36b0000a12cab306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex:685-690 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1861-1866 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e1448b9b9f543ab522f9682c232a47990380d87054b208552bfd6cd80003ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:346-351 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1181-1186 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8492aed66a890c6a07b0808e6cc16c9c72a44bcb9dc9560c6b4967736c59aac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex:194-199 | elixir/web-ng/lib/serviceradar_web_ng_web/components/layouts.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":"elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8b011aae1ea46808993310f434675c5673b513c7fdf2d5caacf13864268221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/verdict_emitter.ex:38-43 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/verdict_emitter.ex:51-56 \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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/verdict_emitter.ex"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2b51e3c93ecb53cd873befbd6d74e4c91fbe28af5272c063e51b382970e5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/alert_rule_catalog.ex:161-166 | elixir/serviceradar_core/lib/serviceradar/plugins/snmp_requirement_catalog.ex:316-321 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/alert_rule_catalog.ex"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0bb60f9570d36490a9a271957a36af7fcb4dc44c0ab2e3eaac8e4eb3509f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex:493-498 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex:512-517 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b89ef969e3efb494f06df508fea6c9c06a1b7f76920c89946f0ab413d057173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_sink.ex:97-102 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/pubsub_sink.ex:36-41 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_sink.ex"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6f393af75d34aac4c5a19326ff4f99c5a134b93677ca5008ab97775dd15257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_probe_manager.ex:266-271 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_resolver.ex:226-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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_worker_probe_manager.ex"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f56957e32f4bc1682f03cc241a0fb16eb0292738e87b738121fd965244e8b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/ansible_controllers.ex:113-118 | elixir/web-ng/lib/serviceradar_web_ng/ansible_repositories.ex:87-92 \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":"elixir/web-ng/lib/serviceradar_web_ng/ansible_controllers.ex"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"275a5144f0489a770e5e3bd59f14282beb1ff1e49b8ea90b37e61a8f63ffeb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex:234-239 | elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex:164-169 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"de434ffe2eac9d42ed46ee3b6d5503afd285948af08c0b17ae0b6df335385128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:179-184 | elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:201-207 \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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ff51b6dbdd1ac891bb829a22554887c4aa5c2a0a0bb53f872528e92f9172b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:79-84 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8ece9629d50277c7c01b295e6fbdb643a7e3a5aa5f0e8a2b18b5e8c968a9d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review_preferences.ex:31-36 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_session_metadata.ex:59-64 \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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review_preferences.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"38128a7b1e5d92d066663570d79fc1c82d8f3d7bb31c71f1ae01681a491a036d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex:1950-1955 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:3616-3621 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a9a22326a72b9c8f8be9d88307ad0847b0aeb853b6f6b687e38cb1e304658f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:416-421 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:410-415 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeace67f411c7b30042490dc6fbff41f8c0b69211042a1e5622ed008e50ac7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_relay_live/index.ex:27-32 | elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_relay_live/index.ex:683-688 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_relay_live/index.ex"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb347113df52cd034d7a468b2263685ed1278eb07e9d7ed9960dbf1cd7aa0141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_hub_live/index.ex:126-131 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:273-278 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_hub_live/index.ex"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b8ec71f714c9686f4dba28b235853e6f34d84cb6426628c5012ca5feae3970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_ip_enrichment.ex:97-102 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/enrichment.ex:87-92 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_ip_enrichment.ex"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecfb17179f181e26f04978500b2fb655301a90d13a6a5d54693fac5615bc80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:477-482 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex:189-194 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d298f207867f57daa722c72533c99d51113800ad5e7ccd5218013b37765eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:670-675 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:702-707 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e99d271aea96dcbe4441fa6e0e741940231ce756d56dcbe32ac568f50f21b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/ip_format.ex:9-14 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/format.ex:7-12 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/ip_format.ex"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d96fc13afff1a1d401743e798c24d8b90d53e876f8fc4bf039d56f4343cf4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/index/data.ex:91-96 | elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/index/data.ex:116-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/index/data.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"159fbba97235a78dd213f8cf6c2f07415aa6e6b9842991ae475f9792ce1a610e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex:75-80 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex:112-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/netflow_live/index.ex"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"04729d0ed1282591239e1a9dae8f90f971ad371cf31591b79f4c040c90dd6f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:370-374 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:488-492 | elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex:536-540 | elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:183-187 | elixir/serviceradar_core/lib/serviceradar/plugins/integration_descriptor.ex:1068-1072 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1102-1106 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1119-1123 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1200-1204 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:1412-1416 | elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex:2019-2023 \u2014 there are 10 copies across 3 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 10 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/display_contract.ex"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84b4b6ba66be0ca00d86194657d64314ad567aa682bd1cac918b8f8fdd9ac35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/flow_attribution/correlation.ex:66-73 | elixir/serviceradar_core/lib/serviceradar/observability/mtr_settings.ex:269-273 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:99-103 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:638-642 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:704-708 \u2014 there are 5 copies across 3 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/flow_attribution/correlation.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2104f534c80c8798fb7e5c8171f5b89a8b118f944cee4594e23bc369d98015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:43-47 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:80-84 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:107-111 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:111-119 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:409-417 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fad0dd5e05e8619f5f8ce97de491b45a69cd6cc4a259b9f32556576ad31309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:1661-1665 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2450-2454 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1378-1382 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1438-1442 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c80c0b6255f6e06e6a28bb4b1b0b508ea7e4903b6e618d230cc79602d4d9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:467-471 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:541-545 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:938-942 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:1012-1016 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c40fd80db59260fbae4fdce5ed57165d208767462721918e33f7f514845635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:443-447 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:671-675 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:703-707 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:731-735 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"e967cbd3270aa14544cf0aa64dc7092881599039793ef5a9d13da9d7e50ba59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:448-452 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:676-680 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:708-712 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:736-740 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2737ad072456677b26900612d1b6137914217a13fdf5981127b8f319ba648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 5): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex:1651-1654 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:54-59 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:46-51 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1040-1045 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:71-75 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"4737e337e80804be6a70acb65c49b25309d11b2de961570b233345452dee2160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/plugin_metrics_publisher.ex:64-68 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex:103-107 | elixir/serviceradar_core/lib/serviceradar/credentials/credential_parameter_template.ex:220-224 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/plugin_metrics_publisher.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"772a95825ca480b069efabbe05154c36e93019b64054700c273d90bd028a9834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:288-293 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:453-457 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1176-1180 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a6eeeff7ccf13513c2ca03207c044cd330adad9534d5133b417ffbf7252493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:259-263 | elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_release_client.ex:340-344 | elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_release_client.ex:584-588 \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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c3a8d5a448e23eaf0362790f9b61f379b8946b6b0bcb8d53dd367cdde8a1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/log_components.ex:132-136 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:7852-7856 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1908-1912 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/log_components.ex"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b5799741634943d6044a784b21058600b0862a5120a5051f4330456f2bd16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:147-151 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:121-125 \u2014 before extracting anything, compare \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060 and \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03439d466f1557c17fc65393ac0dfaa4d7152684ba1696544156699d42f2e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_inventory_sync_reconciler.ex:350-354 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex:848-852 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_inventory_sync_reconciler.ex"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d084fc4ad19d19919e1916894112c176a54babe765484f2021bf3accde2f8689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:318-322 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:213-217 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce10298767b4340233e324ca3f0830b15cb94deadbc846a874c16ee6c911f297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2435-2439 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1363-1367 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4fd35ffebb7bfa7ff2b3e19a3774de8809a3367edbbdd75f3bca35715973a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex:2465-2469 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex:1393-1397 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_result_coordinator.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 141 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_result_coordinator.ex"},"region":{"startLine":2465}}}],"partialFingerprints":{"codehealthFindingId/v1":"6234ac8a2eba2f706044b90fef8d482b1fa1d24a3c5dbe0baa39a12b7d38be4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex:659-663 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_run_launcher.ex:199-203 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d79b9de19cb1326fd9474a7630e42d9f6c605b5b40ee284e2d16e309c7e17a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex:217-221 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/launch_contract.ex:99-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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e38ecb509f01cb1346375439ca673bd909c50847c0b65399f2aab7b1874f08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex:213-217 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex:300-304 \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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6731c0307e713f8109e8d4427a4e5a74cc90b3083c2422b1d236f35700cf046d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:183-187 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:212-216 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b96a715550c80e4c91a0cb26941dc453ce12e534d2697c72ed52a432e6cc388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:204-208 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:241-246 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbf31d33593f0bf0f4624df45d931bd4c0fed93eeda981399b1bb216857d147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/credentials/network_credential_rule_test_plan.ex:197-201 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex:617-621 \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":"elixir/serviceradar_core/lib/serviceradar/credentials/network_credential_rule_test_plan.ex"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7345e659756c49e28d6dec8aca7358dd54a91b879f294613268913dfaa92b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/nats_leaf_server.ex:360-364 | elixir/serviceradar_core/lib/serviceradar/edge/nats_leaf_server.ex:391-395 \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":"elixir/serviceradar_core/lib/serviceradar/edge/nats_leaf_server.ex"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5efa0bee46054cd1937d216d18f4c8082e8f3c5b00baec544c197a0080eb337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/workers/provision_agent_worker.ex:164-168 | elixir/serviceradar_core/lib/serviceradar/edge/workers/provision_collector_worker.ex:126-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/workers/provision_agent_worker.ex"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c960b4ab19f78c9ffe59976c62030dfa103efc1e4e4c659b9270bc159306d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex:317-321 | elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex:348-352 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"54565554c00f62d1e667a26d092c5ea82fb3eee207357c43e16a62f6b359c00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/ids.ex:407-411 | elixir/serviceradar_core/lib/serviceradar/observability/service_identity.ex:59-63 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/ids.ex"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b066360cf486dd94a0323208280df89202b9905d82311ffe91117f032fb230e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/sync/state_events.ex:98-102 | elixir/serviceradar_core/lib/serviceradar/inventory/sync/state_events.ex:109-113 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/sync/state_events.ex"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"21209588f7c54e1dbffb621eb98f382e7f94a34dc695a2ebeb4895335f2fc779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex:1045-1049 | elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex:1277-1281 \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":"elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a53f197ce1da8ee08f3c23cc4117e49ae4ba8a2852bad56638219adc6e33c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/seed_fingerprint.ex:57-61 | elixir/serviceradar_core/lib/serviceradar/observability/rule_seeder.ex:226-230 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/seed_fingerprint.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"179c64a894368d41deee09a5ed204087e5a721590a1975495c5341ebcae91fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:119-123 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:136-140 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d4dce80d1e1a989392827f5a02ed98f059ad2fabc5d6c3a319365f9bf05a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:277-281 | elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex:1059-1063 \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":"elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"37586139d01e0ca89d91a152ea7a8a219a98e7650b16ed196a26db9325b6c352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex:132-136 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex:364-368 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"814762da4cc31e0e1a245210117f9333cb78e22dea50ce3e7455fb9a54b50089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/storage_token.ex:54-58 | elixir/web-ng/lib/serviceradar_web_ng/plugins/storage.ex:114-118 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/storage_token.ex"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3d667cfa3acfa4e61a1e9e32d97bfff2270c232b1e710df60d06433c9c2b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/pipeline.ex:86-90 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/pipeline.ex:155-159 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/pipeline.ex"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4102c5166041283049f33c5ec79103b82d17f26c9a15b2c7d08db540b512bcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:347-351 | elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex:357-361 \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":"elixir/web-ng/lib/serviceradar_web_ng/field_survey_review.ex"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4323e08deef2d77f37ecd1898fc0d8880f6d8edeb3215dc0da69e7fc32bcb63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex:92-96 | elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex:146-150 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b010213eb9e1ea59956415a0ac6d5e3c03868def48283ddc06e94620fe3d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/observability/signal_display_components.ex:346-350 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:5076-5080 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/observability/signal_display_components.ex"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"89923b18061061031d35c995d383ab01f8444d4887f8a1a3a00cfb70a074db13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:83-87 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:134-138 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67434586e95b0b124f4051fde3e6bd19df8c8c02e980338dbf243fbd3f86488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex:89-93 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex:100-104 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a965d6d5b8bcfeb3fd18b58c792e68304fb6a6a4b987e387656e8d11c1cee337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:2179-2183 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:2270-2274 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab37ac9741e291b64828f062be528eb22bd9b469d0522a132fa923dbeae01980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_action_runtime.ex:292-296 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1558-1562 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_action_runtime.ex"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a5ac21082408f129ae14c97d4a17f3208110461d2e35775e8bfb6e13455d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_data/telemetry.ex:24-28 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_data/telemetry.ex:53-57 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_data/telemetry.ex"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51aa054aad5995886d901b6687b11d6ab2aaea0bfd78fbb87e3e9c4242ebd79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/bulk_tags.ex:34-38 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/selection.ex:124-128 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/bulk_tags.ex"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ec2bf7cd619906b644eee7d8f3ee3c10cc25da11c96d12dd23e4155aef4040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/selection.ex:35-39 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_view.ex:29-33 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/selection.ex"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f919636444ea3cb1a93156c2ee0b42b416da80cddc66b23a930a27c867835094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.ex:130-134 | elixir/web-ng/lib/serviceradar_web_ng_web/live/node_live/show.ex:103-107 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.ex"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58693e57f018d04386d24749a87ef5b17d7b2d7a9fc158876b37bf38b0fc891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:539-543 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:584-588 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc1be996aaae1ad6d2f337b79a9bb0885d14f289f1a90d4cddef9992b4406b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex:299-304 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex:321-325 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/events.ex"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"400bc87dc87c773f5d59dcd08d6e079cf09b5805e8e3da7be67f7f3eb7a4e4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_user_live/show.ex:604-608 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_users_live.ex:398-402 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_user_live/show.ex"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c898b40621cff49856a37daba1eb3fb86bd9ff5bf92ec417b6121669fd089aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/dashboards/dashboard_access_grant.ex:273-285 | elixir/serviceradar_core/lib/serviceradar/dashboards/dashboard_instance_access_grant.ex:250-262 \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":"elixir/serviceradar_core/lib/serviceradar/dashboards/dashboard_access_grant.ex"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14cb9f0981849c9feaf52ef9e777dfd1a72dc43e88e39d3f15a4aa3b6cb014e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/dashboards/paper_trail_mixin.ex:5-36 | elixir/serviceradar_core/lib/serviceradar/security/paper_trail_mixin.ex:5-36 \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":"elixir/serviceradar_core/lib/serviceradar/dashboards/paper_trail_mixin.ex"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"579574f4bbb4ce9470bab737a4641747ae068b5a7bae200074463b88d065da9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/preset_rule_resource.ex:117-142 | elixir/serviceradar_core/lib/serviceradar/observability/zen_preset_resource.ex:111-136 \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":"elixir/serviceradar_core/lib/serviceradar/observability/preset_rule_resource.ex"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d546f6e8021fe1942c8c312d8a872a58fee54a312965f7defa1769af248046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/checks/recovery_audit_lookup.ex:15-23 | elixir/serviceradar_core/lib/serviceradar/plugins/checks/recovery_request_lookup.ex:15-23 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/checks/recovery_audit_lookup.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd636b6fd4c25f02fc59117183836d71e9dbff1d9b42d76efebcca30aaf85d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/view.ex:12-27 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/view.ex:11-39 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/view.ex"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1ae831293b6b93b69202beb8bce0ab6811cd733ea5cc9233f1b4ca1172caa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/palisade/lib/palisade/network_address_policy.ex:90-95 | elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex:85-90 \u2014 before extracting anything, compare \u0060elixir/palisade/lib/palisade/network_address_policy.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/palisade/lib/palisade/network_address_policy.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e597aa6b8abf4837e5d0120fde1a124de782158bd27c539b7833317fe06c912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/palisade/lib/palisade/network_address_policy.ex:131-136 | elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex:126-131 \u2014 before extracting anything, compare \u0060elixir/palisade/lib/palisade/network_address_policy.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/policies/network_address_policy.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/palisade/lib/palisade/network_address_policy.ex"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13fa22842b901692e4414021d5f89da811281d2759c900e04f126acad473d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/palisade/lib/palisade/outbound_url_policy.ex:42-46 | elixir/serviceradar_core/lib/serviceradar/policies/outbound_url_policy.ex:14-18 \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":"elixir/palisade/lib/palisade/outbound_url_policy.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a53f7f40ef255cb6736fd3a34247e80afbca98a2e461adb34fc75762ba26a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/palisade/lib/palisade/outbound_url_policy.ex:75-81 | elixir/serviceradar_core/lib/serviceradar/policies/outbound_url_policy.ex:40-46 \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":"elixir/palisade/lib/palisade/outbound_url_policy.ex"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"698323b6ca2c6d68dd6345dced97238b7c8efc3fbc2bdf3dd2738cced59da258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex:91-101 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/media_identity.ex:7-17 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4af20afdb970985c6976874db443d1394652ea150ab5bc2c927d746a1743c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:341-348 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:314-321 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_media_session_tracker.ex:312-319 \u2014 before extracting anything, compare \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060 and \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8f358020822b64fa196cd73b456f0e36dd9cd8be4c8d033f944e523026cf99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/metrics_router.ex:33-40 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/metrics_router.ex:33-40 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/metrics_router.ex"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c20466c24f772050f3ad4d028f8d7b78ba23212536b5b22fd8c9d76683f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/telemetry.ex:92-96 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/telemetry.ex:27-31 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/telemetry.ex"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd96e5bcacf1f0398fdd3ddf4b96ed4bd919eb2a2cb8525d710bd48527dba6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/agent_config/compilers/snmp_compiler.ex:227-235 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/targeting.ex:34-42 \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":"elixir/serviceradar_core/lib/serviceradar/agent_config/compilers/snmp_compiler.ex"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f74cb6d2a671ce418fe19c6231c72696eec22b98338f448294d5fdac60195c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex:39-44 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_health_worker.ex:39-44 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/git_catalog_sync_worker.ex:50-55 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_pulse_worker.ex:50-55 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_health_worker.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fbcafa0ef7ae753fb945df3b32e44a5aebee0025be084123f6bf3048eacec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex:107-112 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/git_catalog_sync_worker.ex:351-356 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_pulse_worker.ex:170-175 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_catalog_sync_worker.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e9e82eb094d19d83673351074f75074fc8a95cf478ec9a18e21881771b40a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:463-471 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:362-366 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5686a48da2b26741e76d1b8c3065e198e7cc31561257d8159d53d582506212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex:726-733 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex:556-563 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd635af129b4eb52b096ecd2dfbc88b3a09c4233412b1a2e7b08220edc42a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery_worker.ex:14-18 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/lifecycle_seed_worker.ex:17-21 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_recovery_worker.ex:14-18 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_integration_reconcile_worker.ex:23-27 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex:28-32 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_policy_assignment_recovery_dispatch_worker.ex:28-32 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex:24-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery_worker.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e6054f1ebf94dcbea9e427a96e2011ac151cbca2f052e5983260c9c2a4f7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex:650-654 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_run_launcher.ex:190-194 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_launch_orchestrator.ex"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dec6ee44ecf82c3e457b1a6feb493e79d3d4d47712c414d924a089312aeb325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/northbound_bridge.ex:59-63 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/command_result_handler.ex:155-159 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex:88-92 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/northbound_bridge.ex"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7552f65fe3d7c10d64df3ac8ccd0b7da3b0122de562c9347dd900a024462ef91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex:613-617 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:655-659 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:1170-1174 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"111af8610e01f6cfe7106da5356844e283d226a1996be04e61f56345125c0aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:491-509 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:962-980 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba970ccfd1cada0690c09479b8ffec92498b544ef20bb0bc33286f03c182b35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/northbound/action_redaction.ex:141-145 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:234-238 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:265-269 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/action_redaction.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a01cd35a411b35e287d0f7412923a9cca5e60524c6d038d621f0b53e3430c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:104-110 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:131-137 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"448e0ad5e6c9aeb1d87192341685aa58dda392962de33e23c5c88bd1b2593169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex:116-122 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex:143-149 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/northbound/plugin_action_sync.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 64 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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/ansible_action_sync.ex"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f76776fee2ce64ab8e1cce63896762fe5d9f309e575bc5abfecb1a9774e1c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/command_result_handler.ex:164-168 | elixir/serviceradar_core/lib/serviceradar/automation/northbound/dispatcher.ex:97-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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/command_result_handler.ex"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7101954cf4a56ad624f88ffc82ee85c667f4481dc02156cfde7da36415ec0913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/northbound/credential_grants.ex:366-371 | elixir/serviceradar_core/lib/serviceradar/edge/agent_release_manager.ex:1192-1197 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/credential_grants.ex"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea4b1a1bfb2b2095b68fc9473a74414701d8469f275acc7837e52ad5b4c3d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/automation/northbound/target_resolver.ex:228-233 | elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:1858-1863 | elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/data/vulnerable_assets.ex:82-87 \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":"elixir/serviceradar_core/lib/serviceradar/automation/northbound/target_resolver.ex"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb63788e5fa25ffee5b1ce7af3117d1fa5df19273c1a8af1e372647a9abc725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/camera/event_ingestor.ex:36-40 | elixir/serviceradar_core/lib/serviceradar/camera/inventory_ingestor.ex:43-47 | elixir/serviceradar_core/lib/serviceradar/inventory/device_discovery_ingestor.ex:64-68 | elixir/serviceradar_core/lib/serviceradar/wifi_map/batch_ingestor.ex:62-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/camera/event_ingestor.ex"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcc6d15a4b6e509514d2b20a6e96b6d90936c30a08c26eafbdd6dbfa04c44af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/cluster/agent_registration_worker.ex:221-227 | elixir/serviceradar_core/lib/serviceradar/cluster/registration_worker.ex:258-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":"elixir/serviceradar_core/lib/serviceradar/cluster/agent_registration_worker.ex"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1387f858bf06aa8890e06e87e31323c0701da81f273b7cab390b63a54828ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex:1326-1330 | elixir/web-ng/lib/serviceradar_web_ng/agent_capabilities.ex:40-44 \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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea0507626aa9b133184fe063fd855e24daf67a2b14e87e24dc846a0d8e7dd28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex:71-75 | elixir/serviceradar_core/lib/serviceradar/inventory/interface_threshold_worker.ex:78-82 | elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_cleanup_worker.ex:35-39 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:42-46 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex:45-49 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:36-40 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:38-42 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_security_refresh_worker.ex:44-48 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_cleanup_worker.ex:46-50 | elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex:39-43 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex:88-92 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex:65-69 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"118f573becfe0ca67fc93fe786fbf8b84475dff0b21853cb17b0bbcec4838d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex:778-782 | elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex:1888-1892 \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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_gateway_sync.ex"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"894d31cf01fce18887d08c0cd7e470b5e844a5f90cf7d5c441bbc97c71566021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex:52-59 | elixir/web-ng/lib/serviceradar_web_ng/edge/crypto.ex:44-51 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/crypto.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/crypto.ex"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75608b708c033556f287b21f5070695aabfb888433592783347d5f6531020ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex:373-379 | elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_artifact.ex:102-108 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_artifact_store.ex:98-104 \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":"elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4a8f78c39e6a766cdf9baef693dc44af7447bf78a98d4f65a6e4b0ec941d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex:342-352 | elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex:481-491 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8881efbb1f57a1f11b938a4faaf9f5285749188c9d78d6ec62b178b0dc84403d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/config.ex:1240-1249 | elixir/serviceradar_core/lib/serviceradar/nats/supervisor.ex:179-185 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/config.ex"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"49063491312ec605167b68cb1e812143988784391217d3e911e515a29a8aa481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex:219-225 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/helpers.ex:59-65 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e3657b132a1d5934b04106fb8ab0c3ac6d0cd84c75bc3df8ac6e28aad4ba12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/otlp_attributes.ex:53-58 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex:806-811 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/otlp_attributes.ex"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b047c486a536b51ff40ead15e70ce6338eaf6a44b1f62dde0fd34c9dc9d485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex:1652-1658 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex:1012-1018 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/analytics_signals.ex"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f4b39b9ba0544ef44b48a992f7c85505b8bd20fdc34ed885a74c1d0e93a8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:123-128 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:215-220 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27c258f995bb54039cb8e2f8fb750cfd3840ba5d7d04df05cc9d933ffd21dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex:662-667 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex:719-724 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex:1694-1699 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/trivy_reports.ex\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 120 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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"0373f6033a8ecd33bf3ffd9ff122d6a8c844994d829a7614a3189996ab825606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex:113-121 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/otel_traces.ex:121-129 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17084694996bb96967600154f027003f8c884c6e0f9110e00ad4ab5b7b814cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex:642-646 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1847-1851 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c185fe11501c6f0fc5fe8328bde9b5c63cb9e63535ae5ea9b1bf57521529c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex:238-245 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:1512-1519 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"608a0ad04fb782d2b9ae128ae407545fc5a3a720a0f23d9d8c7d31e645873e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex:251-255 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex:1525-1529 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/sweep.ex"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"759f25aa2179f07f9a02e729d3601e1235c7db2868322703c9b37db59a92c3a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex:430-440 | elixir/serviceradar_core/lib/serviceradar/nats/supervisor.ex:161-171 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e40cd0b7e8c1ae561e9d4e4f3459f97ebf67fa2de0ecbfb1e7aafb23a63644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/events/health_writer.ex:90-97 | elixir/serviceradar_core/lib/serviceradar/events/onboarding_writer.ex:119-126 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/severity.ex:71-78 \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":"elixir/serviceradar_core/lib/serviceradar/events/health_writer.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb0b0da56ce252e735af60abb732a143649194d8996ffe435002c43d2f6a813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/graph.ex:191-198 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/predicate.ex:218-225 \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":"elixir/serviceradar_core/lib/serviceradar/graph.ex"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a973ae3c62b8d053dc5942e73bd180cc0f6488a6d61a15f0095ffbee67f9ee95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/identity/validations/profile_timezone.ex:19-26 | elixir/serviceradar_core/lib/serviceradar/notifications/validations/supported_schedule_timezone.ex:27-34 \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":"elixir/serviceradar_core/lib/serviceradar/identity/validations/profile_timezone.ex"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1426737f9aecee95970f7546aedf0c2e89500f70080461053e741a40a4364eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex:137-144 | elixir/serviceradar_core/lib/serviceradar/integrations/validations/composite_export.ex:100-107 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/generic_webhook.ex:506-513 | elixir/serviceradar_core/lib/serviceradar/outbound_mail/runtime_config.ex:159-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/integrations/armis_northbound_runner.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dac005d63e1f45e63be960a525b2aaa3dddea530891426d9691cc0cee59050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/active_fingerprint_payload.ex:109-119 | elixir/serviceradar_core/lib/serviceradar/inventory/passive_fingerprint_payload.ex:151-161 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/active_fingerprint_payload.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"324430bab3757b152162d1a5312f59dda651cc90c2613fd6ae1a36aca189fcec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/inventory/agent_link_repair_worker.ex:80-84 | elixir/serviceradar_core/lib/serviceradar/inventory/device_identifier_gc_worker.ex:53-57 | elixir/serviceradar_core/lib/serviceradar/jobs/schedule_health_worker.ex:38-42 | elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_state_cleanup_worker.ex:31-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/agent_link_repair_worker.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e53c477efc1793bce3ec5a331fdcb2bd55718eaa9f6b903f6fa6eeb7d3f49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_artifact.ex:84-91 | elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex:552-559 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_artifact.ex"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"095e1470470fb2649d373f35d40658f9a92a21a53c1156968252037eb76dbf39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_parser.ex:118-122 | elixir/serviceradar_core/lib/serviceradar/prefix_tags/manual.ex:427-431 | elixir/web-ng/lib/serviceradar_web_ng_web/channels/dashboard_frame_channel.ex:380-384 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_parser.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"764ad9d3b2bb68274f36e2f8e7c4d0bfc520da4795de981112e7658b7295cba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex:361-367 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_ingestor.ex:1265-1271 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6210d161bc516de9e3ab2d18d2c92d50c2bc6a1fddccd71e9c34564df1a92ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex:493-497 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_payload.ex:37-41 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_ingestor.ex"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d623f7dfe1e364093044ef542fbac71931fdf4bb7167a05fcfad3d19e777188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns_settings.ex:351-356 | elixir/serviceradar_core/lib/serviceradar/plugins/producer_schedule.ex:478-483 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns_settings.ex"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa5ce616ccf438844ec7e376bb02548e4dbdc7b451e91089493a6295ad71d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_assessment_worker.ex:34-39 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex:29-34 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_assessment_worker.ex"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1200c1c712891048210d17657f15b93b6beeb12a1b3f2a60739563801d4aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_assessment_worker.ex:118-126 | elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex:85-93 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_assessment_worker.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c8da56ebcdb48e7875b88e8416a5e433d797438744b218fee46b78b4e03008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_reducer.ex:191-197 | elixir/serviceradar_core/lib/serviceradar/inventory/sync/risk.ex:46-52 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_risk_reducer.ex"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b13b7c3e123a617c874d15120bc9ee10be600a2a2a1626d7cada3b15b7dc36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_settings_runtime.ex:15-24 | elixir/serviceradar_core/lib/serviceradar/observability/bmp_settings_runtime.ex:25-34 | elixir/serviceradar_core/lib/serviceradar/observability/mtr_settings_runtime.ex:20-29 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_inventory_settings_runtime.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77de64a1a356a095f0e93ad6530f0d4ab3c3c0582b4957abb77ac7b1d8c3459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex:581-585 | elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex:96-100 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0658e142d506a68a2e32962a199f2fcb4db54fa5d0673558685483f183c3234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex:1705-1713 | elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex:958-966 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f98be665e64ddaeb66eafbbdf17b2ad6663a26e5b2d72a4bf5e64e4ae438bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex:1720-1724 | elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex:973-977 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"c060ddf4ebe1db9b1ac9f05a1bb89f655d1da5ffe0b9a87bdf74f37a887375d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex:1730-1735 | elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex:983-988 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6481385fc054aaf06a9abd1d780dde15b823d391666482561b0c0da85c4f9b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex:1740-1746 | elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex:1000-1006 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4b2dab4f1427504eaa986e1f514d70f0100d50bc02edd28857c7b262e76e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex:1760-1774 | elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex:1027-1041 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef122500922f24b67c04487730cc0b5d89cfca687c542f7f6a4ccba21dd1cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/metric_rule_sync.ex:208-212 | elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex:2213-2217 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/metric_rule_sync.ex"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff32176a8edec7424bd31402937ade3374e6d2d5d6bb46844a690be62372ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:1287-1294 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:614-621 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d5fecb30a6315005d751296662167ffabc468bbca32bafdfc13ce9de758ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/link_local_alias_archive.ex:197-202 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/netprobe_alias_debris.ex:109-114 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/link_local_alias_archive.ex"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0293daaffdb9141e79e2c6fc724d46f01de42da0fd73228f7fa14470c5b5a02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex:162-170 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/test_debris.ex:190-198 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/test_debris.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deb2de8b4ec569b0bd4109e4020ecabeeb210a9873f6c3919fca6ec285de793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex:204-209 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/test_debris.ex:252-257 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/test_debris.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/stale_agent_devices.ex"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9b07ec203a6e140851ea6fcb865f6e9bc1bb95ce37676bde221f4665da99e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_records.ex:175-182 | elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_writes.ex:474-481 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_records.ex"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b363394f54d88be911b58b173260c6856b6e7d6a6bc1b6f3ad66f331c63a687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/jobs/alerts_retention_worker.ex:39-44 | elixir/serviceradar_core/lib/serviceradar/notifications/delivery_retention_worker.ex:113-118 \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":"elixir/serviceradar_core/lib/serviceradar/jobs/alerts_retention_worker.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2b81733a21579d0b704bd408fcec5a9a602afd2b79d3e7bda46750111b72d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): elixir/serviceradar_core/lib/serviceradar/notifications/continuation_worker.ex:110-114 | elixir/serviceradar_core/lib/serviceradar/notifications/delivery_retention_worker.ex:135-139 | elixir/serviceradar_core/lib/serviceradar/notifications/receipt_worker.ex:94-98 | elixir/serviceradar_core/lib/serviceradar/notifications/silence_expiry_worker.ex:86-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/continuation_worker.ex"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4c5e54e15f1d7d866acd28acee0bb9253af7871cb63b128a922818ed28409e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/escalation.ex:534-540 | elixir/serviceradar_core/lib/serviceradar/notifications/suppression.ex:761-767 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/escalation.ex"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ab4579cd3438a2af84bd69e673ed0f3b165863983a0a95788b876de4da8ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/match_expression.ex:250-262 | elixir/serviceradar_core/lib/serviceradar/notifications/validations/match_field_allow_list.ex:63-76 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/match_expression.ex"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d92ce558d0f7fe4acb4298324a8f8678e6366b531f9433c5d32d696b509431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/suppression.ex:722-727 | elixir/serviceradar_core/lib/serviceradar/notifications/validations/schedule_windows.ex:132-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":"elixir/serviceradar_core/lib/serviceradar/notifications/suppression.ex"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"0588daa79c4aa5ee0eee9333e7fd997db2137d41e17711e69b0306fe6047f584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/template/syntax.ex:262-268 | elixir/serviceradar_core/lib/serviceradar/notifications/validations/match_field_allow_list.ex:41-47 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/template/syntax.ex"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be67123e18c507b7bf25dc950599c0814ea1ba410fd669ab8f79ebf03589fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:336-346 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:479-489 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf25d8d6ec49d2abf4ae630e5511c5d2a66c80bd46826c46631617dc855a3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:383-387 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:554-558 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f385d8c5487cd63c4579494a3af8478afcdd9e94e4537e4418eadcb800db2ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:424-432 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:595-603 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8d96235e5f629f78d9e6689048a6c76ea798a8e47d51205180147120895070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:449-453 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:620-624 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f49e4e47e1dcccf0be9734e94849a6ea94e245146748e7eeee99c8815113ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/notifications/validations/provider_action_key_declared.ex:125-129 | elixir/serviceradar_core/lib/serviceradar/notifications/validations/provider_package_approved.ex:91-95 | elixir/serviceradar_core/lib/serviceradar/notifications/validations/provider_transport_contract.ex:52-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/notifications/validations/provider_action_key_declared.ex"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d117147968890ab16ccfc3e3b4b2b7e36928223028ebd6c68512f82a67b44f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex:363-367 | elixir/web-ng/lib/serviceradar_web_ng/plugins/blob_retention.ex:168-172 \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":"elixir/serviceradar_core/lib/serviceradar/object_store/native_addon_artifact_retention.ex"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7add47b094b2bcde30785df05218e1410fda9a86c193fce54e02ea71d05641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex:286-291 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex:853-858 \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":"elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9ac40bc57d100d8f39eec6ffc7eac1ce14fc341cd13a0ca722ab0f54f41796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/bmp_settings.ex:126-164 | elixir/serviceradar_core/lib/serviceradar/observability/mtr_settings.ex:112-193 \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":"elixir/serviceradar_core/lib/serviceradar/observability/bmp_settings.ex"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5763ca11e42e109e4ddad7383e74f48ad68d8a1962168d62edfd53e2e184ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/verdict_emitter.ex:14-19 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/verdict_emitter.ex:22-27 \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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/verdict_emitter.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5ecaafb63cc9d48804932fb398c0229d31158bfa8fe97657a96791a11f9b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex:101-110 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/worker.ex:94-103 \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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"238b15e2385e91504de12edbb728180ec281ea699d662c64b847b7687c150640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex:271-278 | elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_refresh_worker.ex:322-330 \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":"elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e828a6a380ac47d41e1c33b6680f620df7651fd7288a926bae745d7b71ec9fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_refresh_worker.ex:139-148 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_security_refresh_worker.ex:92-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":"elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_refresh_worker.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"240dbcb3774b3ab53c09c341b87de0181fad1c995a1ff01b7c29a4947ffcd38e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/log_promotion.ex:296-303 | elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_engine/helpers.ex:40-47 \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":"elixir/serviceradar_core/lib/serviceradar/observability/log_promotion.ex"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe336c70f91ac05452f0d7da5ecd620e1cd8043b5060c81e510af301984b35ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:348-353 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex:385-390 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb40634a7bc25797a2c335a9749947c99d8f7f53a29f2665b667ddab17e402a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:109-114 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:126-131 | elixir/serviceradar_core/lib/serviceradar/prefix_tags/oban_schedule.ex:43-48 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd83b8e9e94d7a068525b2c14415aac867803a3f40e415e8dc0689f225ba787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:195-208 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:217-230 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d92f6978ab2ccd615e580e25b61326d44bc572ad0cf2fd17d5ecec89720e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:277-281 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:319-323 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6747a3a7965c3c0a31aaa15740cd5640e3b9348504c9cdb68f8dd96cd3bc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex:322-332 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:370-380 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ca4f86d68ec4d035734c3398a69412eefbd2c3df632f7976b6c13277530b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/history_repair.ex:198-207 | elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/plugin_result_state_winner.ex:124-133 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/history_repair.ex"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7db471972ff95a4500843b5ca064a09017e1e5855a2491deb21d4afc5bdac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/page.ex:364-368 | elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/stix_indicator.ex:123-127 \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":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/page.ex"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"192fdbf846ce8d9de6053e9126dc74a9d69d327af76b152135197a6f63bfe954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconciler.ex:571-575 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_eligibility.ex:349-353 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconciler.ex"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ec49eca11474e1adf429596218044cd1c9ea6b299ef527c13c904291a7e185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex:119-128 | elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex:137-146 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:176-185 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:177-186 | elixir/serviceradar_core/lib/serviceradar/plugins/workload_identity_addon_package_seeder.ex:133-142 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/endpoint_inventory_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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":"elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"631b2b918bd6c72b50aaff197f9c0fc2144564f4e01d39a2a84926b4231cc643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex:211-218 | elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex:265-272 | elixir/serviceradar_core/lib/serviceradar/plugins/otel_collector_addon_package_seeder.ex:272-279 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/plugins/netprobe_addon_package_seeder.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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":"elixir/serviceradar_core/lib/serviceradar/plugins/bumblebee_addon_package_seeder.ex"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c826412e09d77761f6cd0cad6609fb6252771e74a982f8e7bca9a6861244cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/native_addon_artifact_mirror.ex:111-117 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_artifact_mirror.ex:110-116 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/native_addon_artifact_mirror.ex"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5a432437997ac2a59e80ed3380801144bee44f3e6332e9597ed7937cf37a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/results_router.ex:430-436 | elixir/serviceradar_core/lib/serviceradar/status_handler.ex:846-852 \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":"elixir/serviceradar_core/lib/serviceradar/results_router.ex"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8199be8f8b2bb9d3216130b5341b54414bdc8272640b298717704104e700bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/srql_device_matcher.ex:46-50 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/targeting.ex:215-219 \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":"elixir/serviceradar_core/lib/serviceradar/srql_device_matcher.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad956af32bb6baa77f041170e0429f4f5f414619a924873b7088b5daa3b44e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_coverage_rollup_worker.ex:219-226 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex:247-254 \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":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_coverage_rollup_worker.ex"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8df4b4611eebbbed00c00074d59bec7a40316e71d15b07f17afd2c1ec1a187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex:113-119 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_dispatch_manager.ex:89-95 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_branch_manager.ex:108-114 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_sidecar_manager.ex:76-82 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/boombox_branch_manager.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_branch_manager.ex"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9795394b4ec4729de47840b13c7dea3773e49f0dc57159cf767fe01a29bba4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_http_adapter.ex:137-142 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/targeting.ex:47-57 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/analysis_http_adapter.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac622ff6471d9d119b5ca94110ec7cf14122e0d2c612a304b6d83f76da4fee25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex:299-304 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex:701-706 \u2014 \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.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 6 separate duplicated blocks between them, totalling at least 46 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c87566bc061da88c599f7fa0403ce18a2805bcd934211de90d39161482c83ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex:327-332 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex:733-738 \u2014 \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.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 6 separate duplicated blocks between them, totalling at least 46 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b2d06aa5dc9838d4399808e61c76b72931d311b6ed31356c78a3d85bfc2728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex:356-362 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex:805-811 \u2014 \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex\u0060 and \u0060elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.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 6 separate duplicated blocks between them, totalling at least 46 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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/camera_relay/webrtc_signaling_manager.ex"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ef7b012a5c880b522e388445f2873dd9aa2c6fe42194c7261cb7cd68ac7dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/data_channel_provider.ex:297-304 | elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/webrtc_signaling_manager.ex:819-826 \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":"elixir/serviceradar_core_elx/lib/serviceradar_core_elx/remote_desktop/data_channel_provider.ex"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f66564a73ebf0724c13a5059b273216358dfbaf79ed3aa92029d41b48982af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/bundle_generator.ex:913-921 | elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex:117-124 \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":"elixir/web-ng/lib/serviceradar_web_ng/edge/bundle_generator.ex"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec59515dab5049d9d28ebc02d9aa24f73b32b9d0217b83eafd24e5014af9989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:234-238 | elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_release_client.ex:233-237 \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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f9e92c4c890caa5388127e3fffacba539bc1fff13e6ca1ec2914a8d56b1b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex:464-474 | elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_release_client.ex:605-615 \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":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf4a211f6ff618d1e5b1e79a478789cc92c817c35c220c19f884606dcc05e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_assignments.ex:41-46 | elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_packages.ex:147-152 | elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_profiles.ex:33-38 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_assignments.ex"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeeb00cb4673ede163e2354d625047ecb59853980967cf1b61a6875265b69c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_assignments.ex:237-242 | elixir/web-ng/lib/serviceradar_web_ng/plugins/assignments.ex:358-363 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_assignments.ex"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7421a1a04e535ecfaf9afd4b69bbccd9a74955b52d9be4e5b6773d182f3785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_assignments.ex:247-252 | elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_profiles.ex:155-160 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_assignments.ex"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e23200d5c62867ea248a9383e76d6d27c79b20914370025a3c1905e7fb5925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng/plugins/assignments.ex:43-48 | elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex:52-57 | elixir/web-ng/lib/serviceradar_web_ng/plugins/registry.ex:31-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/assignments.ex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6ac0ae3c721b680cb7b67d301185c0c20a33e70c7344d94189c42aa0e63ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/assignments.ex:378-383 | elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex:893-898 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/assignments.ex"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade956e3a1e088fbe0244c434d0ec6d1e0e0af18f8238889be889813da4f869a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/cosign_verifier.ex:124-134 | elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_release_client.ex:503-513 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/cosign_verifier.ex"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1462491879fd2441a4a2beececf966a6b479a32cab6d7241fe2e4557d0678ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex:543-551 | elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex:487-495 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6f45d0a3af48cdde203ec630b069e20d6b464c2842fbb62aaf1ba79a7a6fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex:31-35 | elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync_worker.ex:33-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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f607c629d623196625534ba4fe0ad4aa054752aa448543f3aff5fa79d1f2b108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:1582-1586 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/edge_route_safety.ex:138-142 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cb5ba374f323d15d50b94455b68487b6cfcbaded15c4c191a7b5bf1a450968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:2289-2294 | elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex:722-727 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dc33b31f465a59a870d70a51c6e057a6fea5e4f570340e9437b9ecd1c8e838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:5470-5475 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:2763-2768 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":5470}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5938158a3fad39a2cf92e407a1f78a27eb5d3cb4e8d7f2095b29eb00205b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex:276-287 | elixir/web-ng/lib/serviceradar_web_ng_web/live/analytics_live/index.ex:704-712 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34df6ab1ae23f9b1cec44239f8854a268a40c289180cc1349c0ea03d7b1c1b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/auth/oidc_client.ex:527-532 | elixir/web-ng/lib/serviceradar_web_ng_web/plugs/gateway_auth.ex:341-346 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/auth/oidc_client.ex"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca0ba630742045121bedceadf7e4d30778d83559ce77f3c1208d7382ee3c88a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/camera_multiview.ex:243-250 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/camera_relay_runtime.ex:84-91 | elixir/web-ng/lib/serviceradar_web_ng_web/live/topology_live/god_view_camera_relay.ex:185-192 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/camera_multiview.ex"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ee82f74bac956fbd2f626a5d17dcb069d433712473ca08c55015166dc654ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex:247-254 | elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex:1069-1076 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"18922923e94d7fce3f5727949ebe0670f14e8c766612ff7ea6d8d755ef04d5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex:306-311 | elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex:1128-1133 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/proxmox_console_stream_handler.ex"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d85f04e3a59eb0166c513a54f97a60865c87d82d8f8aee5af4f8c9bed99b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/camera_relay_components.ex:130-134 | elixir/web-ng/lib/serviceradar_web_ng_web/live/topology_live/god_view_camera_relay_components.ex:493-497 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/camera_relay_components.ex"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54f2a31c1432b195305704e0f6ae1c94c6ceee28661cbc54be3b1c6e69142c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/flow_stat_components.ex:377-382 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/active_scans_components.ex:518-523 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/flow_stat_components.ex"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c5337d7ec1d1d020c8915f35d418dced82bf0a080ae3e1c18620b1ea8fb8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/observability/signal_display_components.ex:320-324 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:3168-3172 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/observability/signal_display_components.ex"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b37b63000204281f6c1d497ef9d8190c9b2b57a0c8972faacbf2b26000d8ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/components/observability/signal_display_components.ex:334-339 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:2216-2221 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:7840-7845 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1896-1901 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.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 12 separate duplicated blocks between them, totalling at least 121 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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/observability/signal_display_components.ex"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad22e376a06ba094236bf44aaf25df24a1b8d8f553986d1c4b62d58f6b59d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/components/plugin_results.ex:334-341 | elixir/web-ng/lib/serviceradar_web_ng_web/live/service_live/index/card_grid.ex:160-167 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/plugin_results.ex"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9db725f25f1d300b1f4ac914ba312dcea320d9b0543fd11fb3394cafd5397e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/authorization_settings_controller.ex:26-30 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/bmp_settings_controller.ex:23-27 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/authorization_settings_controller.ex"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6d9b9a2d69d41a541cafb76a5a06b78686dcd86711541d725da4344d926e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex:254-258 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_session_controller.ex:128-132 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex:157-161 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:794-798 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_target_intent_controller.ex:171-175 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:323-327 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_analysis_worker_controller.ex"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7430ab63d2052eac14e29a5ed492436dd5c5c021dd40ac9b13bd2da3952f18c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex:224-229 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:311-316 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/camera_relay_webrtc_controller.ex"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c210c88d9ebe0eb28d9ebe1646e5beff28ad07463c9c76f28f74d1bb62c05f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex:680-684 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/edge_controller.ex:672-676 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/collector_controller.ex"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"2046908e3f823e77ea5b93d2d1c19297fd2ddc2a70ebfd7620d4825079d9eb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_package_controller.ex:460-467 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:4183-4190 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_package_controller.ex"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d667344c06105e0512eaca2dcfeead693cf93fc7331dc71a6c129252480241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_stream_controller.ex:48-53 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex:142-147 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/proxmox_console_stream_controller.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b5fbc3437f5282ef1c43d79808a97bf27d96acfc1b01ece261895cd8261b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:1213-1218 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex:113-118 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_desktop_webrtc_controller.ex:256-261 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_stream_controller.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a40a0b2afcfab77a82edeb6641450664da733e6c242589af963e350ea3a5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/spatial_controller.ex:260-268 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/topology_snapshot_controller.ex:153-158 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/spatial_controller.ex"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"13118f9464776b8b2a836d8278db484554d038a8bd7e09829cac3a0cacc6aacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/authored_dashboard_export_controller.ex:104-111 | elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/panel_components.ex:414-421 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_desktop_targets_live.ex:1111-1118 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/authored_dashboard_export_controller.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2491be87045a9f4e4dcae68bfd9f939c4d93b77f38295e4fbd5e0369f144850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/cli_auth_controller.ex:473-481 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/oauth_controller.ex:431-439 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/cli_auth_controller.ex"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46a61d3d9029049edb11d907af3e628da46f6844cb007bf153e7321b4d3e937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex:286-292 | elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex:77-83 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/focus.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c63f73edf42100c347e0cf3f43224417acc8d4b719239c1d05d88ae76d2c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex:1149-1153 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:3907-3911 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1678-1682 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/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 4 separate duplicated blocks between them, totalling at least 31 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0bbde2d53f0c4515208ab1f9dbd81dd3d1c44ad29bd6af1d0ce48e313054ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex:1162-1166 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:3920-3924 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1691-1695 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/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 4 separate duplicated blocks between them, totalling at least 31 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedd4106eaeea01765c74f118e0d0980fffde28f290de3b7bd2c14fe227dc1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex:1172-1181 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:3930-3939 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1701-1710 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/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 4 separate duplicated blocks between them, totalling at least 31 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d138bfc499c6fc25fa3691b37667671fb24048e21a786c129f8fb9cd3295e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex:1194-1204 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex:3857-3867 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:1350-1360 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/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 4 separate duplicated blocks between them, totalling at least 31 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_fleet_live/index.ex"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae2c6153ccbd62d484f7a34d9ac0cc11701e21783c9641566adb263c65a3872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex:503-510 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:724-731 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/cluster_live/index.ex"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc469a1f23fb498852dfb886f356931beb831e8b7f2e83ea621f5ae098416bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/index.ex:311-321 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/show.ex:439-449 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/index.ex"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b970edfb040c621e616ddf20999cbd7fbe77c5a8a9054b5dddd659364e8d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/index.ex:426-432 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/show.ex:653-659 | elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex:2002-2008 | elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.ex:466-472 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.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 3 separate duplicated blocks between them, totalling at least 36 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/edge_sites_live/index.ex"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae2427b31cf2df4e9153e50ac1db4cd3a5f5cf078c4603435b5aedfaa807708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/job_live/index.ex:127-145 | elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/job_live/show.ex:83-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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/job_live/index.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"30940874179b2c86f41c99a07d8080955c363977eb0c84500f3b7dfaf7a824f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex:1942-1951 | elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.ex:436-445 | elixir/web-ng/lib/serviceradar_web_ng_web/live/node_live/show.ex:495-504 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/show.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 3 separate duplicated blocks between them, totalling at least 36 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/agent_live/show.ex"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ae5cee7e3f7f6782a2500ed9d4832ebeefebf52614552867f2333b8581148e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:85-90 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:202-207 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:108-113 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41069f04370ca7049c6f5f0aa747fb3c42c0625ef512ea7c8c8e4dde4897e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:115-121 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:232-238 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e00687faf9494b2fcf78dc1a8e91cbbcdcda85dacb0f3f794aeca9e2bbb0668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:1969-1975 | elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:2849-2855 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.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 13 separate duplicated blocks between them, totalling at least 113 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4ff8f3579b763cadbd3cdb6370cae777a5531d113d860a2d6b6be3fd1fc2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/ansible_live/launch_live.ex:398-402 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/interface_data.ex:247-251 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/ansible_live/launch_live.ex"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4b5911705a529db19b6ca96e9c39e166bd803acc9b1c182ac5e020793477e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/components.ex:327-341 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_components/formatters.ex:111-116 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/interface_components.ex:788-793 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/ocsf_components.ex:496-501 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/process_metrics_components.ex:229-234 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/virtualization_components.ex:498-503 | elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex:2005-2010 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:7203-7208 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:7608-7613 \u2014 there are 9 copies across 8 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/components.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f9876e356a38d8026f72ba9179abbe251363017fdfb2ed2a8e7dbf9f9bd733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/components.ex:346-361 | elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/index.ex:392-407 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/bgp_live/components.ex"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bee959f8e90f9c5fa40e65cd110bdbf133ad671b9f08ccad9f3a7239939708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/vulnerable_assets_panel.ex:90-95 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/bumblebee_components.ex:235-240 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/vulnerable_assets_panel.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"67941c324acb91e33129dfb1b9c46237a3772d56b593710f08ce19d045f009bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex:2047-2052 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics.ex:249-254 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"5707a114a48fa9fec77f9b9814bdd378623b1ab341b7355f812c110a4809b2ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_components/formatters.ex:163-173 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex:453-463 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_components/formatters.ex"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff67dd524cef1a6c105c73c1e0c6778b8d96b19278cc919a856f6a45d432c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex:196-200 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/northbound_interface_runtime.ex:174-178 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1356350923c840f58c600f9008ef0fe291622412dba71a31c09e54436f6aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/snmp_credential_data.ex:95-99 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/mapper_params.ex:51-55 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/snmp_credential_data.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28abf1812e9c9da0f5eddaf72feaa28909a9547119e44ca5d2d0d8b4a9b771e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/flows/attributed_live.ex:1123-1128 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:6694-6699 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/flows/attributed_live.ex"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d379d8fb851076b6345c2ec55fe078394a710dbea5fddb6884c37ba2c443fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:718-727 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:780-789 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda615ad5d1b5597fd2811da443b6d9b601a1c09a11d1173f99e676dfec39a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:827-835 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:960-968 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e96e91b90ae60bd61ce2e08d64daf55964f7770ced44eb54298eafd58d8591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:879-897 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex:1019-1033 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/cluster_live/index.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"336393282ede1f540d9ff738ea75beca56c7866b87e1d3b6883d2f19c21e5fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex:970-974 | elixir/web-ng/lib/serviceradar_web_ng_web/live/node_live/show.ex:94-98 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/infrastructure_live/index.ex"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6118d586352162875780c5215976320db7564f6cb23c0997daa93e8e9bb354f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:1453-1457 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/flow_context.ex:313-317 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0340bb8b075bad97410be673121b1151295111d3882ae4711c6fabd582895f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:5842-5852 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/format.ex:22-32 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":5842}}}],"partialFingerprints":{"codehealthFindingId/v1":"b551c881c7eece31cc6f217a837bf56869fcbb2e36f764638e42034d1cdf1809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:7066-7072 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/view/flows_table.ex:341-347 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":7066}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcf120e6da7fc9b00389c03abc2a47e07fc8c8d8e35fb49327cfee792a7c111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:7877-7881 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1933-1937 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":7877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d510a3071d5ac5d34a8756e4185a0877f97aa97720f18611c9a226f3e8a82771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:8050-8056 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1959-1965 | elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex:1043-1050 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":8050}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efc3ec0b2fc1c65c707ea5d72b98a3978b8b9cc1244dc7e75bb79140d537e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:10110-10116 | elixir/web-ng/lib/serviceradar_web_ng_web/live/metric_live/show.ex:581-587 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":10110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4743e8efb50b483efe7f2b6df9461c51ec48918be86b0b192226c88d6797c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/format.ex:65-73 | elixir/web-ng/lib/serviceradar_web_ng_web/netflow_visualize/query.ex:562-570 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/format.ex"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3572f217d6a5bf8587d92a7cc03b0e2a4a42e611b9931b01f46c7af466c7fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/audit_live/event_show.ex:37-43 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/audit_live/events.ex:89-95 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/audit_live/history.ex:93-99 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/audit_live/event_show.ex"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"78202182ba2ab616360925fb51bd3a7858f5ddcf427a5ea27cf6771977aa1341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_user_live/show.ex:728-735 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/authorization_live.ex:788-795 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/auth_user_live/show.ex"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25721070f0d43df5a07b502fe45e0b30b2207dd06e919ee7e206a6d81ae7371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/bmp_live/index.ex:37-42 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/endpoint_inventory_live/index.ex:40-45 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/bmp_live/index.ex"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f806763cb796c895d6ce8917c2b9b2afffe7daf8bd6ef89b6df0a17c9f85584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex:1624-1628 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/network_credential_rules_live.ex:2149-2153 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/device_enrichment_rules_live.ex"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d499ccacdd574d2feec10fcf8303bfc9b68721084a67e863f506419511a4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex:336-342 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/visibility_profiles_live/index.ex:248-254 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47db87a28c4135db958506ac5f3f7aadf06fcf944a1e52bfbed51441f74581b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex:1623-1627 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:21-25 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/mtr_profiles_live/index.ex"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f47138663b680bd8475d1124434dae984116cbe3051d12e0335b358a6f5277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:46-50 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:63-67 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"156f62dbb0bc8fd4143444988f6df391be65324ef69900255cce9d9529b27f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:151-158 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:126-133 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1144-1151 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:131-138 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ae6498e125e6603d094c7d5cae6aa8267603573fb234a34e86c772f45fc75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:162-168 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1155-1161 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fbce32cdf6450f8478e98c546d41d913c362cc6f9f75f7047361948b2d9271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:194-208 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1187-1201 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c4d9eb24d4f9f0b82d77557ff3dda357a992037db2bed71816e46371b922d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:232-242 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1234-1244 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1c526daf8444b52998bd797eb50250473a50e11871f67a9fa470f29a93b106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex:247-253 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1249-1255 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/scope_builder.ex:202-208 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/target_builder.ex"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6184b145bef1dc8da09259567c9a05cd452c501d5f1a531748af758d495a550f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex:178-183 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:1207-1212 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/builder.ex"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4034dc49a05f0305f506665a5341a3c818d5c67899fb9aedb2dffe2215961b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_forwarder.ex:95-103 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_forwarder.ex:109-117 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/remote_capture_forwarder.ex:98-107 \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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_forwarder.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcc118e61a2959fc156164f026238a689bd686ad755df15c435a429de5da629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex:103-113 | elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex:77-87 \u2014 before extracting anything, compare \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060 and \u0060elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/desktop_media_session_tracker.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 53 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":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d201048f6dc4a0eb4c1bbfcb25feefe940387811934eb5ffc740baf38af1d900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/admission/flow_supervisor.ex:15-23 | elixir/serviceradar_core/lib/serviceradar/admission/retained_plugin_supervisor.ex:15-23 \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":"elixir/serviceradar_core/lib/serviceradar/admission/flow_supervisor.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05c06f1da8b81786ecb0c34e79652cc2e7a49acd656d0c835b7a5d1a996ed4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_approval.ex:312-317 | elixir/serviceradar_core/lib/serviceradar/plugins/policy_owned_assignment_recovery/authority.ex:184-189 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_approval.ex"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b48c23e10177523bebd16dfc8440d5417a07b434d3b45c9fe206a1db5d2647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex:279-285 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex:184-190 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 79 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07aa4f9fd3ed2c07a11f7bbd380fa055c576cd0d3084aa4f3be35045c5d2729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex:406-418 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex:307-320 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_dispatcher.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_dispatcher.ex"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"220ba26337a58779f98325780234af4c45a07e3ee4ec227882d11e5095f302f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery.ex:128-139 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_recovery.ex:126-137 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_recovery.ex"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee9203614e85e503e67e7663d9df60083a83e8095a72cfdd7dba57c96c112f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex:302-306 | elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry/plugin_state_rank.ex:192-196 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b02755a8ac936d60ba9546c611bd792765e81ad37604ef507177d9c8da1534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex:372-377 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex:95-100 \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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"933f704b774f68171fb2be616fb2e5a41bd604914fe88758d12e69b73fb3c0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/composite_checks/validations/scope_query.ex:27-33 | elixir/serviceradar_core/lib/serviceradar/inventory/validations/availability_source_profile_target_query.ex:14-20 \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":"elixir/serviceradar_core/lib/serviceradar/composite_checks/validations/scope_query.ex"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7702861fbc99549ccd5d6a8157acd42ae46841877edcf62e05395023b890547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): elixir/serviceradar_core/lib/serviceradar/credentials/plugin_credential_rule_reconcile_worker.ex:111-120 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_integration_reconcile_worker.ex:69-78 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex:155-164 | elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_worker.ex:66-75 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_legacy_assignment_recovery_worker.ex:73-82 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_policy_assignment_recovery_dispatch_worker.ex:83-92 | elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex:88-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_credential_rule_reconcile_worker.ex"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"615ddfc617bacab02af5ce818806b6655610424ac34e66bd0c70295b7b43a07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/data_service/client.ex:604-608 | elixir/serviceradar_core/lib/serviceradar/observability/zen_rule_sync.ex:279-283 \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":"elixir/serviceradar_core/lib/serviceradar/data_service/client.ex"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af43c6aa2e7df28eddaa328fc24504f07fb7eba91701818d0f243e66be9b81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex:526-534 | elixir/serviceradar_core/lib/serviceradar/edge/release_manifest_validator.ex:551-559 \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":"elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"367124d55525a09a374e6deac36ed512948c99fcb4dfdaaa2db0e13162cef117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_broker.ex:1696-1702 | elixir/serviceradar_core/lib/serviceradar/observability/mtr_automation_dispatcher.ex:896-902 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_broker.ex"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13f1999c7478fd3b04be293bbf105145000d17dbad642da9f2cb41dfed0ac9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_file_transfers.ex:762-773 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_recordings.ex:1097-1108 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_recordings.ex:1113-1124 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_file_transfers.ex"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ead452ffa379978df96e020f89670fce04544dfa22bb63a2e7e48c3e8e4093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/flows.ex:119-125 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/telemetry.ex:79-85 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/flows.ex"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dee1de75224f9f0debb7e9e9ed4c95f29756d8e219786dcbfe7a90291cf1b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex:437-442 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/otel_metrics.ex:272-277 | elixir/serviceradar_core/lib/serviceradar/event_writer/processors/otel_traces.ex:219-224 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bd622e54927e661969c556834e9922bd6e5d7c2d09b821e7a97c16816aea04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/identity/privilege_mutation_effects.ex:109-113 | elixir/web-ng/lib/serviceradar_web_ng/dashboards/group_access.ex:368-379 \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":"elixir/serviceradar_core/lib/serviceradar/identity/privilege_mutation_effects.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c7259469c9b423bb00a721c06c040477b93d8442cc2e6a88248679f8e0a1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/changes/sync_snmp_interface_config.ex:385-389 | elixir/web-ng/lib/serviceradar_web_ng/srql.ex:444-448 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/changes/sync_snmp_interface_config.ex"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2b2b1ebd5e0bee246b2a1ac65fb4358479bbc25810b5c1ab1510a6c62150be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_settings_seeder.ex:46-51 | elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns_settings_seeder.ex:38-43 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_settings_seeder.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7ccaf0810e342929b57bc1d133153f3b51ae89dbfd5eaa0a1545b00e2c262f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/device_enrichment_rules.ex:694-705 | elixir/serviceradar_core/lib/serviceradar/plugins/value_utils.ex:42-53 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/device_enrichment_rules.ex"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1620ad4f14f09afa1feac910d73e85fa43d3784a94335e625ca418e20c489a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:121-127 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:137-143 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"28686df7b29cf0cbf4f218610b68a78273adbba84a679d9c8f79a5bfdecbfdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/ids.ex:105-115 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/resolver.ex:469-479 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/ids.ex"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"42800062dab468f842b9fd5b909b9eb591f15c78bb72a0b571826d56f0840d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/interface_threshold_worker.ex:149-156 | elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex:123-130 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/interface_threshold_worker.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1394df2c964b032537642777dd6f05c7d4c62d45ef78bdce39cdbac07f363411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex:499-504 | elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex:300-305 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/remediation/proxmox_unfuse.ex\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 236 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":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9496a8fa86cbc986ed2a1133954a8fe69c6e9203584c63701760998447ae6686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/inventory/visibility_profile_srql_target_resolver.ex:43-47 | elixir/serviceradar_core/lib/serviceradar/snmp_profiles/srql_target_resolver.ex:91-95 | elixir/serviceradar_core/lib/serviceradar/sysmon_profiles/srql_target_resolver.ex:66-70 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/visibility_profile_srql_target_resolver.ex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"972c2d912bf25bb7347ddc1cb51a279753a9408508894c0957654d91da6fb059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex:538-545 | elixir/web-ng/lib/serviceradar_web_ng_web/live/analytics_live/index.ex:1905-1912 | elixir/web-ng/lib/serviceradar_web_ng_web/live/analytics_live/index.ex:1917-1924 | elixir/web-ng/lib/serviceradar_web_ng_web/live/analytics_live/index.ex:1929-1936 | elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_relay_live/index.ex:982-989 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex:1930-1937 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8ac38c9fd3180d337df38ea3bf7dd7d9ea644deb1830a791350f3c3b0e63df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/network_discovery/runtime_topology_projection.ex:433-437 | elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex:585-589 \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":"elixir/serviceradar_core/lib/serviceradar/network_discovery/runtime_topology_projection.ex"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ad070e01b443dfa8d0bca3abac8f2a7757adc5db10d3a38f916814bbb9d769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/dispatch_schedule.ex:205-218 | elixir/serviceradar_core/lib/serviceradar/observability/production_schedule.ex:210-223 \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":"elixir/serviceradar_core/lib/serviceradar/notifications/dispatch_schedule.ex"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d922ecad0933091ee709e1290e4e5a908be19bfb645795afc5bd26552cc6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex:207-212 | elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex:277-282 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/notifications/transports/slack.ex\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 77 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":"elixir/serviceradar_core/lib/serviceradar/notifications/transports/discord.ex"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"446b582ddc1b3215fd26863895dda7254a83b53f0bd9956c646970987347f378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex:973-980 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/worker.ex:932-939 \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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf4b1768e643edf466cadd5bc619201f281a3be9f14d0fc72be30bca1a68243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/log_promotion_parser.ex:241-248 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:6955-6962 \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":"elixir/serviceradar_core/lib/serviceradar/observability/log_promotion_parser.ex"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a554de9f5013e67e548e92114c192406689a48569c7518030e7ce69fc60744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex:286-293 | elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex:136-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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c121049af1e32bce45f973e65a3ab07ddff0bbdcabddf49b49fe9d89e1856e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_assignment_addon_id.ex:15-24 | elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_assignment_plugin_id.ex:15-24 \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":"elixir/serviceradar_core/lib/serviceradar/plugins/changes/set_assignment_addon_id.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b275c4f7ff06769bc84f824ceed2230d635b3f1a3474341bffe545218aac84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/admin_api/local_params.ex:8-12 | elixir/web-ng/lib/serviceradar_web_ng_web/live/flows/attributed_live.ex:515-519 \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":"elixir/web-ng/lib/serviceradar_web_ng/admin_api/local_params.ex"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fe8cf2733044a206e91b30e669cdcb0c309a4917155ba0298aa901459c108f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/ansible_controllers.ex:99-103 | elixir/web-ng/lib/serviceradar_web_ng/ansible_repositories.ex:76-80 \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":"elixir/web-ng/lib/serviceradar_web_ng/ansible_controllers.ex"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"464ad329d03a0f30d2015bf7be3ee87b29b64ff3634eaeaabfb2cd5caf524d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex:640-644 | elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex:217-221 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"880b2de99373a088ad87a4ca9b9251baa32450345473f4a7eed41da104e99645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex:2405-2411 | elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:1692-1698 \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":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee87751ff0d1b5adb2b524951b768480013b5ecc44dfc97ba06f13166b7c967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_assignment_controller.ex:16-20 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_package_controller.ex:24-28 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/plugin_assignment_controller.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bc54f89cfe8a020bd881fb6d919a5944772031fc0724274ea1af9193b53930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/role_profile_controller.ex:45-49 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/user_controller.ex:50-54 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/role_profile_controller.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"99408b8ef17158b9055fc1164857017bd3107598ca3b3856b775b4bd32121172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex:2856-2860 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/agents_live/releases.ex:2209-2213 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/addon_package_live/index.ex"},"region":{"startLine":2856}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd435b4c7a1d92242653fe602b5dc5efeae566c149cf1729511dba23ec3de64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex:574-584 | elixir/web-ng/lib/serviceradar_web_ng_web/live/observability_health_live/index.ex:614-624 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"1440501aa148a23837b85fca0495f869beab2b297b00a3f60f93e117725aa6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_live/index.ex:190-198 | elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_live/show.ex:87-95 | elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index.ex:371-379 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/camera_live/index.ex"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2854abe0ee89eddb5539a23899ba5e2265eee57e83fc1a38898896f57ea13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/discovery_sources_components.ex:178-184 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/visibility_components.ex:794-800 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/discovery_sources_components.ex"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a10dabd78182347bf90ea6f21f040882065dadab0803f650e589828ce4af02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex:131-137 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/northbound_interface_runtime.ex:46-52 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8d1200c963268c14c11266ed799b96e6a7ae01970bbd82f36b5cc29e4fd3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex:141-145 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/northbound_interface_runtime.ex:56-60 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7050b36f9268b50924b7cccb8d62bc275baffb95db71faa6b6fded8e54f3b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex:151-156 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/northbound_interface_runtime.ex:129-134 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_events/northbound.ex"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51263004c71a68e5c2b546d0304c46df0a34342267c645764b849a4dc4f69db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_view/badges.ex:12-24 | elixir/web-ng/lib/serviceradar_web_ng_web/live/gateway_live/index.ex:177-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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/index_view/badges.ex"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce86007ed2deba62e893fb1c831c90eb1b68f069d967a550dfa0624b091bfd85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex:242-248 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:148-154 \u2014 \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.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 12 separate duplicated blocks between them, totalling at least 121 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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97872126f5422c0ae6e68286c2172294c9e72d640520392f745d272e57e927e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/data.ex:36-41 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/sysmon_profiles_live/index.ex:937-942 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/data.ex"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b50637421e9fe09d7e678a6cce12ed19dcaa75e801a73471a3ee622cb948937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/custom_templates.ex:170-180 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/target_oids.ex:21-31 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/custom_templates.ex"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a91e68a88cbfaf516173d98d879aac3771bc8997deaca42271e1c83895900b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/palisade/lib/palisade/outbound_url_policy.ex:64-68 | elixir/serviceradar_core/lib/serviceradar/policies/outbound_url_policy.ex:29-33 \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":"elixir/palisade/lib/palisade/outbound_url_policy.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21fda68ac05c112d802e82945b578be05fcfb780b01b063a5992d6152ccdae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex:954-958 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex:969-973 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb547809a77d80f8e7323eb2d379c64f87274b6e6e34f5760aa17c67141cd217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_approval.ex:146-150 | elixir/serviceradar_core/lib/serviceradar/automation/ansible/changes/approve_awx_host_membership.ex:168-172 \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":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_approval.ex"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5842d542643ba66f4f41f1f69251e3da50b972171949ffcc430454bae2bce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex:116-120 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex:218-222 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08b54b190f9d87b0c4260b781dd9468195bb0f411ff384979b878e229a68ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex:1127-1132 | elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex:466-471 \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":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab114132f33f7372ccc81da13cbc078a3f93f91c79b38bfff84805a261bd5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex:992-996 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex:1004-1008 | elixir/serviceradar_core/lib/serviceradar/credentials/plugin_credential_rule_reconcile_worker.ex:154-158 \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":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc38f5d73b403144d3cfd9da7531be96d6f38eb2006e7eba6718a0cc4d63e76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/edge/remote_access_central_credential_grants.ex:112-116 | elixir/serviceradar_core/lib/serviceradar/edge/remote_access_central_credential_grants.ex:122-126 \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":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_central_credential_grants.ex"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e940fc16eb58ad02269d731428042cf396c53ca68cfa7bf75be22ca1306007eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex:22-26 | elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex:65-69 \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":"elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1af90aaa36fa4421f8e4c05941d9242e2e21be5ba18342667511aa8a00fb8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex:402-407 | elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex:834-839 \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":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"00561432e8a61a25380e1808f61ae1eda2a91122d1c7279ad746dba638f2fbcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex:1656-1660 | elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex:857-861 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/proxmox_enrichment_ingestor.ex\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 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":"elixir/serviceradar_core/lib/serviceradar/inventory/hypervisor_enrichment_ingestor.ex"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e6819739c627cfc0ac84a19790e6b627eb59da3763320f4dc5e4164b126282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex:316-324 | elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex:299-307 \u2014 before extracting anything, compare \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex\u0060 and \u0060elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac_identifier_backfill.ex\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 155 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":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/hardware_serial_backfill.ex"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1a58ba5f69d78abbfec7e64e4a713ed05d21e9d9d52f85dea1b8882e4bdd30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/verdict_emitter.ex:142-146 | elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/verdict_emitter.ex:171-175 \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":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/verdict_emitter.ex"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b056efbf6cca5e39966ce4f6cc28aec296897953814e40a570469eec765d1119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_refresh_worker.ex:216-220 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_security_refresh_worker.ex:418-422 \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":"elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_refresh_worker.ex"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eaf70b4f3b19730054bb9a0a6a112793a1e141a245c0582c3c9b236c28d2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:249-253 | elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex:332-336 \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":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_exporter_cache_refresh_worker.ex"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f0292f0ce6e60bbad97ab0e3c9164580984d10e1bd69540f089c024661517a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/ansible_controllers.ex:153-158 | elixir/web-ng/lib/serviceradar_web_ng/network_credentials.ex:298-303 \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":"elixir/web-ng/lib/serviceradar_web_ng/ansible_controllers.ex"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"259a15cf99194ec5af5ee7df12bcfb057f8b9d60da99ee330281c833abd73143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex:140-145 | elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex:75-80 \u2014 before extracting anything, compare \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex\u0060 and \u0060elixir/web-ng/lib/serviceradar_web_ng/edge/onboarding_token.ex\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 56 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":"elixir/web-ng/lib/serviceradar_web_ng/edge/enrollment_token.ex"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b417d96bc85f863e7b99d82dd3d25d4b4f4aadbbd9d168ecca9dcbca65317c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex:534-539 | elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex:577-582 \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":"elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f826ca0d5cd95877adab8b925ea3aa70b8a0f940517cf760a009cea525691d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:352-356 | elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex:391-395 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/controllers/api/remote_access_session_controller.ex"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0912eeae748005ca82f8c323e72cb3850b2e9bb34772bdabb53bfdb6bb4fde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/layout_helpers.ex:21-25 | elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/layout_helpers.ex:32-36 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/authored_dashboard_live/layout_helpers.ex"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f9cb36e87f4f406f5cb3af548bc0598722e87993d69f8e5222d95ab7fa3f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex:49-54 | elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex:70-75 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa0a6ad2caee7095d1f5db74334b31309ea865564738fda43be7031bd633dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:109-113 | elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex:154-158 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"368ab99801ca83b235fdf9f01bc5f697132d6380557d1ce0b519f0985b855290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:5883-5888 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/asn_lookup.ex:116-121 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":5883}}}],"partialFingerprints":{"codehealthFindingId/v1":"02071f68aad44612f8ff7b8a0b35c302bdf11d0ab42565eef9e045eae62c2d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:5898-5902 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/asn_lookup.ex:132-136 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":5898}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4171cf58f9caf2b0256fe8a0c8060fb6929ec20e49ceb253dc0e7ef0b4ea3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:7910-7914 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex:1995-1999 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":7910}}}],"partialFingerprints":{"codehealthFindingId/v1":"548ee56047759573b817ce49c78ace2488d98f9442d30ea7c5497f858ea3a955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9027-9032 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9074-9079 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":9027}}}],"partialFingerprints":{"codehealthFindingId/v1":"6227586a4fe0f46c9468da6c2771964961e998d59d11d366335d2c4a5f117aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9263-9267 | elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex:9427-9431 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/index.ex"},"region":{"startLine":9263}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a28576eb059e1e85523819e1d15bebcd4c5c1671bf724392459a4a23007c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/interface_series.ex:85-89 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/summary.ex:69-73 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/dashboard/interface_series.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"53853749f9505dbe145141248b1d376bd56da22009cd4cad969abde9418daa35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex:54-58 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex:112-116 | elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex:159-163 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/netflow_live/visualize/chart_data/overlays.ex"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"27afa936e7ead29d981a4ead5207b92d9539f678f0a11a397b67aa09152a8208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/index.ex:704-708 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/index.ex:1908-1912 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/composite_checks_live/index.ex"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"09afa58f9036e59be0413399e894871ac46b8456ba0dc976111e1a46f68e4f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/custom_templates.ex:36-41 | elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/template_browser.ex:74-79 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/snmp_profiles_live/index/events/custom_templates.ex"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d692287fc76de4cecf5969203cdd04a3cecf3d92a70126493b642005831c8b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/netflow_visualize/query.ex:327-333 | elixir/web-ng/lib/serviceradar_web_ng_web/netflow_visualize/query.ex:337-343 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/netflow_visualize/query.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"66248107d86e02caa86102a05ee313bcdad2a4c240c09c338f8c008905deffc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/web-ng/lib/serviceradar_web_ng_web/observability_paths.ex:126-131 | elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex:557-562 \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":"elixir/web-ng/lib/serviceradar_web_ng_web/observability_paths.ex"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b0bd60cd5bba0e8c03d81b392293d1f6bd40c02932f5f51e1be92afce84434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): elixir/serviceradar_core/bench/metric_fixture_cnpg_insert.exs:65-70 | elixir/serviceradar_core/bench/metric_fixture_profile.exs:46-51 \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":"elixir/serviceradar_core/bench/metric_fixture_cnpg_insert.exs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be22c9a8065ce2fb8c4e8a85a7ec30f4311d30489279d8ef31ab4cba3f1a1df"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 elixir/web-ng/assets/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: elixir/web-ng/assets/god_view_production_bundle_contract.test.js::God-View production module graph contains neither acceptance global nor the acceptance snapshot publisher: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5437dfbb2717790ef43d45fe6b5f6657bf55df88f1ff0322ce09dd2e4426328"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: postgrex: Runtime dependency \u0060:postgrex\u0060 is declared \u0060\u0022\u003E= 0.0.0\u0022\u0060 in elixir/serviceradar_core/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:postgrex\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"76925174130dc4804d10eb0d9e46106a2a7a3671c3a4e28094c4f1edbaa19005"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: postgrex: Runtime dependency \u0060:postgrex\u0060 is declared \u0060\u0022\u003E= 0.0.0\u0022\u0060 in elixir/web-ng/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:postgrex\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e0cf7ccaa6074d3d9d3ceca7026a37884d942257260aeb78ffb2c45efedaa231"}},{"ruleId":"D12","level":"warning","message":{"text":"No dependency lockfile committed (third_party/hex_vendored/boombox/mix.exs): third_party/hex_vendored/boombox/mix.exs declares 31 dependencies but no lockfile (mix.lock or rebar.lock) is committed beside it, so \u0060mix deps.get\u0060 resolves versions afresh on every machine and every CI run \u2014 two builds of this commit are not guaranteed to be the same build. Commit the lockfile."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3cdf29b59507e9ba415e3fa42212e887effba28f792675925b91db44e2dbb92f"}},{"ruleId":"D12","level":"warning","message":{"text":"No dependency lockfile committed (third_party/hex_vendored/opentelemetry_oban/mix.exs): third_party/hex_vendored/opentelemetry_oban/mix.exs declares 9 dependencies but no lockfile (mix.lock or rebar.lock) is committed beside it, so \u0060mix deps.get\u0060 resolves versions afresh on every machine and every CI run \u2014 two builds of this commit are not guaranteed to be the same build. Commit the lockfile."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce7dc83cbacc3e69ad13e93285637077e58e6ba753488aacf265e2136e186c43"}},{"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":"c3c69f0157a3f4c038fc13028f4026b04031cdc8fd419e301664fdcae45d8c95"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5192c2403cd6359b6be62c1e016648a53324423aefe70d996cd46ed4dcaf91"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96f8a237fce2cda6e6f81ca181cd6315fe0b7ff2ebead647f0fe0677bdb48304"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd3f2bb1b774f3280e178efa4ebcbef9625ffd5185121f422b372f7e9786fe22"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9ace5a7b8f7b69d66147ace65887688c26efa9fad78ef766bb94e7823efe148"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b744a29b76e8be4c58aa9cc4c46be022477faf03209379f756c3cd344a0aaaf"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js: elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js changed 10 times in last 90 days, max cyclomatic complexity 91 in validateTopologyScene at line 1030. 5 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"7972f4123b75153f3d1a9a80ae5263d0c74cdfab4e03b3cc78a6c3549e38ddda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js changed 16 times in last 90 days, max cyclomatic complexity 49 in (anonymous) at line 436. 12 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6573ebb875c513b00754a40e611de1815f783edeae0bcd2267c5ec219b760c81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex changed 37 times in last 90 days, max cyclomatic complexity 15 in Index.legacy_policy_recovery_message at line 5013. 15 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/admin/plugin_package_live/index.ex"},"region":{"startLine":5013}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eb7a47f02e7c71679788f2767d308890ba2db7764660a9a18eb9b36b1e1f08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx: elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx changed 15 times in last 90 days, max cyclomatic complexity 36 in Component at line 386. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3354949e2b745963c9ff86d9b5e0da5063fb3517a8e460df5e5febe5eca78712"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex changed 20 times in last 90 days, max cyclomatic complexity 21 in AwxClient.valid_launch_args? at line 1109. 8 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_client.ex"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"58368a5c5d738d99830d42c731bd74535bca80102d8cf7b0ed5b152b8b7f676b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js changed 7 times in last 90 days, max cyclomatic complexity 60 in renderSelectionDetails at line 49. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d47684997dcf16800efd5fee9d5331533abefa9e0ba390fa6da2697cae4cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js changed 14 times in last 90 days, max cyclomatic complexity 25 in admitNodeLabelsForViewport at line 286. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_node_methods.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d1dc7a4d9aca6193b7069b5fde5c957404c817d76e177bd6b2885d83974d98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex changed 9 times in last 90 days, max cyclomatic complexity 38 in Lifecycle.validate_scope at line 638. 2 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/lifecycle.ex"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c02019488f1def084bc9fdb90dd9bab846b2f3a444214987aabbcc8064dd934"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex: elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex changed 20 times in last 90 days, max cyclomatic complexity 17 in AgentCommandBus.validate_preallocated_transmit_payload at line 2533. 12 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_bus.ex"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1d261f21730c555d1fb3a08b7a4c8177ecb88bc948f60d9f3e97ca5927d176"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js: elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js changed 5 times in last 90 days, max cyclomatic complexity 62 in validateTopologyOverview at line 395. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc44c2fe6827eb690738d2138284db354ad86ebd5d04b426ea7872f2f9b6ac49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js: elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js changed 7 times in last 90 days, max cyclomatic complexity 44 in _showFlowDetails at line 1484. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd003732e9856795b0ecd29bcd6c243212cd32f639be13d102867ae9172adf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js: elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js changed 12 times in last 90 days, max cyclomatic complexity 24 in handleDetailsPanelClick at line 202. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e85509cc82857d0cc6ae0a49f25769ba3160a541ccbd2c29f872b88f11095e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js changed 13 times in last 90 days, max cyclomatic complexity 22 in autoFitViewState at line 1083. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bff90e2996ca141ffcf24e76ff13e51b910fed0d08aa693a4497f844caea76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex changed 13 times in last 90 days, max cyclomatic complexity 22 in Packages.create_from_upload at line 441. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/packages.ex"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6010cfe5ce80293fd8bbe2827c4f9cdb8a282f23a512c0d713caf9e791a84b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js: elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js changed 15 times in last 90 days, max cyclomatic complexity 17 in detailTopologySceneFromGeometry at line 196. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa1607d875b09d181ac25797ce0098e7dff6806909a315852af1d863737e6c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex changed 17 times in last 90 days, max cyclomatic complexity 15 in Show.metric_display_name at line 2297. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/interface_live/show.ex"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56e214671dc3cfe2941484c2af7595b25df949316c282fbbef2b15bc315c381"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex changed 11 times in last 90 days, max cyclomatic complexity 23 in HardenedLaunchPlan.build at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/hardened_launch_plan.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8874c5717f7f1d85fc0b81adacfc1741657f681c5a166483ef029bad5d602fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex changed 11 times in last 90 days, max cyclomatic complexity 23 in CurrentAuthority.current_approval_snapshot at line 782. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/current_authority.ex"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6716da6822fa4e0d9552bb24eced2a294c887408d617f37ce11823cb699b84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex changed 12 times in last 90 days, max cyclomatic complexity 21 in FirstPartyImporter.import at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_importer.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57152fd313b0c69f00a4c0b613f94407a636f1b44e2f41aa332989a8ce84ce3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex changed 8 times in last 90 days, max cyclomatic complexity 28 in SecureExecutionCurrentAuthority.exact_approval_snapshot at line 309. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_current_authority.ex"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad57f9cfe720c919b86e840bbcc752bc3a2436df76e9fe0c279d2ed68cb299e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/inventory/identity/merge_engine.ex: elixir/serviceradar_core/lib/serviceradar/inventory/identity/merge_engine.ex changed 12 times in last 90 days, max cyclomatic complexity 18 in MergeEngine.do_merge_devices at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/identity/merge_engine.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/merge_engine.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d799b8a11d80e5a23c16b9ae5593aaa3acf4447cd1384d7e9f038030160aa680"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex changed 11 times in last 90 days, max cyclomatic complexity 18 in SecureChildLauncher.load_launch_state at line 138. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_child_launcher.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd3676f556f5a6b5edadaf0c0dfcabe04699ecf536d8916e0047db7326ed62c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex changed 9 times in last 90 days, max cyclomatic complexity 22 in Targeting.validate_binding at line 128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/targeting.ex"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dae636b872dbacfff647c687a584c51259a7ec8ec39ce023cad86c95da84749"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js: elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js changed 9 times in last 90 days, max cyclomatic complexity 22 in assertScene at line 175. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e12372257621d4bf9b5ec17475480ebe1a7401d43583d8fe26b32daf84b0c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex changed 13 times in last 90 days, max cyclomatic complexity 15 in Show.assign_header at line 614. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/trace_live/show.ex"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f8e9e2c6d322c56f9c30c3a45cb57ba6840592d223a02d4f431fc8e3980f14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_fleet.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_fleet.ex changed 9 times in last 90 days, max cyclomatic complexity 21 in AddonFleet.build_row at line 375. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_fleet.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_fleet.ex"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad338933ffb97b998d5323d823bd5d36babdb477ca1762238a1cfea26d057e22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_desktop_targets_live.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_desktop_targets_live.ex changed 12 times in last 90 days, max cyclomatic complexity 15 in RemoteAccessDesktopTargetsLive.target_params at line 1026. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_desktop_targets_live.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/remote_access_desktop_targets_live.ex"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23723c14e4ca69d27b30840766e1e4649f47af1498feafbfbbaf01493a42832"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex changed 8 times in last 90 days, max cyclomatic complexity 22 in CallbackCommandContract.broker_matches? at line 419. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/callback_command_contract.ex"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ddc14deb4b6143683b411a9b158cabc0e7e639ff7348578f8b082d06734329"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex: elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex changed 5 times in last 90 days, max cyclomatic complexity 34 in Context.grant_matches? at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/launch_envelopes/context.ex"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf42b4b0f5e13e86312e74fc8aef9fcd1ebcb8f90b5d12b94b6c368f773656f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js: elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js changed 5 times in last 90 days, max cyclomatic complexity 34 in handleSnapshot at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c717305181d52f8049c234b6307fa0a01cf38bcc761d3c959baa7df3ab4c53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/acquisition.ex: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/acquisition.ex changed 11 times in last 90 days, max cyclomatic complexity 15 in Acquisition.validate_ubuntu_publication at line 240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/acquisition.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/acquisition.ex"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab9875b89ce0b60a728f59d44f9879e7412c87e4f46cc1783e1dd51eb0d41e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex: elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex changed 8 times in last 90 days, max cyclomatic complexity 20 in EndpointVulnerabilityMatcher.load_fixed_vex_version_scopes at line 841. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_matcher.ex"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60536bb7573a8401ed9bdd5f0a2e58c023e2b6c6ecda2d9ba3740d51d336623"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/plugin/apply.ts: js/cli/src/plugin/apply.ts changed 5 times in last 90 days, max cyclomatic complexity 32 in applyCommand at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/plugin/apply.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/plugin/apply.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02eed9b1f8e0b79ace90d2c0985bfa63253a9e5761533c9f05ea2b7f6275fd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex: elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex changed 6 times in last 90 days, max cyclomatic complexity 26 in RemoteAccessStreamHandler.handle_in at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/channels/remote_access_stream_handler.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1543edba37c9207212aa2107c9079144234d29da19113fa95df15df88f1c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/SRQLInput.js: elixir/web-ng/assets/js/hooks/SRQLInput.js changed 9 times in last 90 days, max cyclomatic complexity 17 in buildCandidates at line 233. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/SRQLInput.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/SRQLInput.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5c07bc06d383020572ff52a8dcf78549f56ba8044c7bc585f23e8ea74d50c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex: elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex changed 9 times in last 90 days, max cyclomatic complexity 17 in ProxmoxHostAuthority.canonical_origin at line 429. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/proxmox_host_authority.ex"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2544ec3402640cd4baf51657c700a5580e24d44c7f3e9ddc10abc412d0b1af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex changed 8 times in last 90 days, max cyclomatic complexity 19 in CleanupReconciler.handle_command_result at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/cleanup_reconciler.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"26027d2938671f23354d109ab00355f38a388bb1bb0f9dcbe1df9e229cffb595"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js changed 6 times in last 90 days, max cyclomatic complexity 24 in buildTransportAndEffectLayers at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_layer_transport_methods.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"10326d3ac2f3fa13e09153d073198f03cc19a80f2a4fa99a0415fdf1851b2d16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js changed 4 times in last 90 days, max cyclomatic complexity 34 in getNodeTooltip at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b59be84f8ba037f9bcd08794e75ec68b6c850a3cdab38335ed58bdfc1753e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js: elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js changed 9 times in last 90 days, max cyclomatic complexity 15 in completeSceneBounds at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b0228d4383aaa242b1037a181bbb3917dfd5a570ad81b76046f0dfb9dab8f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex: elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex changed 7 times in last 90 days, max cyclomatic complexity 19 in Manifest.validate_producer_schedule at line 1422. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/manifest.ex"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ace50670bbbe6b002d415886e7805620b8738903009103f124c951cd356fce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js: elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js changed 5 times in last 90 days, max cyclomatic complexity 26 in (anonymous) at line 170. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"417cfa113bf2e896285aa3baa3caeec1f5b1affdcfc1242016b53e5bffc58d30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js: elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js changed 8 times in last 90 days, max cyclomatic complexity 16 in handlePanMove at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b714b5a448e3fe2c24075c0dce9e2577fc3797120062c09b3d9ff33bb689aa8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex: elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex changed 8 times in last 90 days, max cyclomatic complexity 15 in RemoteAccessSessions.session_attrs at line 686. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/remote_access_sessions.ex"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"185a8c689fe55fa6a9aa1b9547a0381bac5cd961fbe498a853971242d0e6c3b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/notifications/ensure_k8s_alerts.ts: js/cli/src/notifications/ensure_k8s_alerts.ts changed 8 times in last 90 days, max cyclomatic complexity 15 in ensureK8sAlertsCommand at line 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/notifications/ensure_k8s_alerts.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/notifications/ensure_k8s_alerts.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"649be3d976e7bd3bdd1623b70e806ebee34aa67fa0d41edbe2415742a933e33c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex: elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex changed 7 times in last 90 days, max cyclomatic complexity 17 in ProxmoxConsoleSessions.reauthorize_session at line 471. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/proxmox_console_sessions.ex"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdff83c1084dc374bc2ec06c549c0fa2d5ec8d8996ce760382bab0909909995b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex changed 4 times in last 90 days, max cyclomatic complexity 29 in LiveAwxLaunchPreflight.membership_request_host at line 383. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/live_awx_launch_preflight.ex"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d8669f215a0cfc8540630ccec80386bfa057eaaa951091e51143ba7e342073"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex: elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex changed 6 times in last 90 days, max cyclomatic complexity 19 in RuntimeGraph.canonical_edge_to_runtime_row at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/topology/runtime_graph.ex"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed8f9c2a10888ba208d642459c7f02cb6f8ad738d8f87fcbe0c272fa4e6809b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js: elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js changed 7 times in last 90 days, max cyclomatic complexity 16 in attachedEndpointNodes at line 283. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/topology_overview_projection.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc18937468cb2292943928e62de8e1b8f02e5d2425013e217ba2ef5690f5ca6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex changed 6 times in last 90 days, max cyclomatic complexity 18 in AshStore.validate_cleanup_reconciliation at line 932. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ash_store.ex"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fbafff1d3a3123c3901cbffad011cbf950e22991c810b8507656d1e0aacfb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_label_collision.js: elixir/web-ng/assets/js/lib/god_view/rendering_label_collision.js changed 6 times in last 90 days, max cyclomatic complexity 18 in admitTopologyLabels at line 482. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_label_collision.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_label_collision.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac172daa3c16f3cd99b6f5abbc7f90bb13418a3b83fc34fd77e8aa452d592c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex changed 6 times in last 90 days, max cyclomatic complexity 17 in SshCaBundleResponse.retirement_proof at line 332. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/ssh_ca_bundle_response.ex"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"2877014423dbf5c85456dfcec6918418e8b4351f42f26777169f9277247ab72c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex changed 4 times in last 90 days, max cyclomatic complexity 25 in ControllerProvenance.exact_command_payload at line 577. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/controller_provenance.ex"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c69bbfa0268742341bdcbc0eaec3c14700871419f9e31e83c8b68814354f5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex: elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex changed 4 times in last 90 days, max cyclomatic complexity 24 in EndpointVulnerabilityAdjudicator.trusted_assertion_provenance? at line 671. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_adjudicator.ex"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecb397142fab7f157dec3786f0b41d95de87c5fefcd59c1fec4143c7a894907"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js: elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js changed 5 times in last 90 days, max cyclomatic complexity 19 in transportLayerRouteIdViolations at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca0ff0df8694e50fad9637226760802f49540f23b16d6fe83c99d82896a5e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/dashboard/publish.ts: js/cli/src/dashboard/publish.ts changed 3 times in last 90 days, max cyclomatic complexity 31 in publishCommand at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/dashboard/publish.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/dashboard/publish.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c66d96e02e7bc075cd41051cf0e91f20867b2a23c9ef7ddde2e21f52dd7e68"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_decode_methods.js: elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_decode_methods.js changed 3 times in last 90 days, max cyclomatic complexity 31 in decodeArrowGraph at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_decode_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_decode_methods.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e68568dc994c108c01b35f7801aed4b2797eb0d3831124b842e9919fa4ffd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js: elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js changed 5 times in last 90 days, max cyclomatic complexity 18 in _draw at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f4269aac3891bb183f9adb10627e3574a799980dfa1dc7957dace58f03f9fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex changed 6 times in last 90 days, max cyclomatic complexity 15 in AWXResultProjection.template at line 432. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_result_projection.ex"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbcfa41d89eecc24bd13c5478b59dd5835fe03be2a89ef3f3e16dfc3275f4f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex changed 6 times in last 90 days, max cyclomatic complexity 15 in SecureExecutionCommandContract.broker_matches? at line 303. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/secure_execution_command_contract.ex"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b1f12b5fa777070cd9472ecb4e4dd1e408ba912c1a8d16df8a0ab5284c39db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/runtime_config.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/runtime_config.ex changed 6 times in last 90 days, max cyclomatic complexity 15 in RuntimeConfig.canonical_callback_origin at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/runtime_config.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/runtime_config.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3838440b74dc8866dbd026a6392b837b331f37c03af9f56c4afcc901f4c1aad1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex changed 6 times in last 90 days, max cyclomatic complexity 15 in Telemetry.subject_class at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/telemetry.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7e9281fa9e1a56f0655a575c31b142b0976d66eee463c57bd138ad7340bee6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/remote_desktop/webrtc_client.js: elixir/web-ng/assets/js/lib/remote_desktop/webrtc_client.js changed 5 times in last 90 days, max cyclomatic complexity 18 in isBlockedIPv4 at line 810. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/remote_desktop/webrtc_client.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/remote_desktop/webrtc_client.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"4186c9a9a1365feec0c01fab03b9bf6546b6a9497da539989ccc0e4882ccb978"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex changed 5 times in last 90 days, max cyclomatic complexity 17 in AwxMembershipReconciler.upsert_membership at line 546. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_membership_reconciler.ex"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef37f5b0f3bea2517ec3913e49e03c674888e4989324a7a08473fb16969e26a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/god_view_acceptance_geometry_observer.js: elixir/web-ng/assets/god_view_acceptance_geometry_observer.js changed 4 times in last 90 days, max cyclomatic complexity 21 in (anonymous) at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/god_view_acceptance_geometry_observer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3690074f81fd374f2dd223a76e0fdbbcdaf957649ea7e32377b269db684b2f29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex changed 4 times in last 90 days, max cyclomatic complexity 20 in AwxLaunchContract.validate_template at line 612. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_contract.ex"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8b435259421eed7a21e88d3265ca02c823b9992758a0a9a5a0ce4db29b146e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js: elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js changed 3 times in last 90 days, max cyclomatic complexity 26 in gridPanelAtPointer at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ff0bf274427aab924f9f61971ef898b34adc15a2a8aceeb808f19ba7a18985"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js changed 2 times in last 90 days, max cyclomatic complexity 39 in buildPacketFlowInstances at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d0bd2c62daac87e5d9c778f45c8b2d6c6ae7ea53d2e7673d075dc7a17177d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/srql/tokenizer.js: elixir/web-ng/assets/js/lib/srql/tokenizer.js changed 4 times in last 90 days, max cyclomatic complexity 19 in inferSlot at line 284. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/srql/tokenizer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/srql/tokenizer.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b8786c5987c19608684634b96fc864361f212840510e7c64f50773b3ef556"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex changed 4 times in last 90 days, max cyclomatic complexity 19 in AwxCleanup.build_plan at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/awx_cleanup.ex"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"018ff144871a7daf1ae5189fa90308b736bd87cef9274963cc4ce735cb2ed0b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/launch_contract.ex: elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/launch_contract.ex changed 5 times in last 90 days, max cyclomatic complexity 15 in LaunchContract.from_binding at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/launch_contract.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/callback_grants/launch_contract.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b504190bd26a161c1f90ee911c6b5b547eb7229bc2937bfb88f7b10c438303"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex changed 4 times in last 90 days, max cyclomatic complexity 18 in AutomationResultSanitizer.job at line 368. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/automation_result_sanitizer.ex"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3674ac64031b2d38022652010245cf923477ff5c4db393f4fa5662cfa37a017e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js: elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js changed 3 times in last 90 days, max cyclomatic complexity 22 in _draw at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"702ec0fd2ea50db9e9f88ed8c34ac1f47305f91d34dd34600f6d3e925b53176d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js: elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js changed 3 times in last 90 days, max cyclomatic complexity 22 in draw at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79954ea628d0929df3791655e5f122e3eafe32b95d70a153084d1b358d46831"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: third_party/hex_vendored/boombox/lib/boombox/internal_bin.ex: third_party/hex_vendored/boombox/lib/boombox/internal_bin.ex changed 2 times in last 90 days, max cyclomatic complexity 33 in InternalBin.parse_endpoint_opt! at line 769. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- third_party/hex_vendored/boombox/lib/boombox/internal_bin.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/hex_vendored/boombox/lib/boombox/internal_bin.ex"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da193eadf43d85527edb20c7994327dc44850688b3acef8279a033eac7ebf06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/auth/login.ts: js/cli/src/auth/login.ts changed 2 times in last 90 days, max cyclomatic complexity 32 in runDeviceCodeFlow at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/auth/login.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/auth/login.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfedbf382aaaacc2da9fbd7a943e31a242a526de5a32f7e336037cea1266d83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/doctor.ts: js/cli/src/doctor.ts changed 3 times in last 90 days, max cyclomatic complexity 20 in doctorCommand at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/doctor.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/doctor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccc941b68f2eae0f230e8ba8346545e26ce7df37c8fb4c97bfb7d72d339ecac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex changed 2 times in last 90 days, max cyclomatic complexity 30 in Ubuntu.validate_fingerprint at line 854. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/parsers/ubuntu.ex"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7e67bb200a0c0287955043dbe21159875e3f1a587cc1c13570b063f751e407"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx: elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx changed 2 times in last 90 days, max cyclomatic complexity 30 in MiniVisual at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf86d38d3452a24b344e5bc44e52b0ecefd19f920e6bf42d18edcf2b6c4949c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/MapboxFlowMap.js: elixir/web-ng/assets/js/hooks/MapboxFlowMap.js changed 2 times in last 90 days, max cyclomatic complexity 30 in _applyBrandBasemapTint at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/MapboxFlowMap.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d786ec746ad86249712d505f19e2b5db2c2ae9cd4342a5689651fb54b30ece43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_rollout_view.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_rollout_view.ex changed 3 times in last 90 days, max cyclomatic complexity 20 in AddonRolloutView.fleet_health at line 170. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_rollout_view.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/addon_rollout_view.ex"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c7f30e5223e91931fb9f675f969d682c9fd263481d9cf50f92239063593603"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/topology_relation_identity.js: elixir/web-ng/assets/js/lib/god_view/topology_relation_identity.js changed 3 times in last 90 days, max cyclomatic complexity 18 in canonicalSemanticRelationId at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/topology_relation_identity.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/topology_relation_identity.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d12a300061e5ead35e95c6b0e3e91ba08577621f81ecdf305cf8b024404a8cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/charts/chart_range_selection.js: elixir/web-ng/assets/js/hooks/charts/chart_range_selection.js changed 3 times in last 90 days, max cyclomatic complexity 17 in timestampValue at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/chart_range_selection.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/chart_range_selection.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24d0575040162ddee04dfe6fb3f243e6807f86ab521bc48f754a782e4d8ea32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/plugins/policy_owned_assignment_recovery/executor.ex: elixir/serviceradar_core/lib/serviceradar/plugins/policy_owned_assignment_recovery/executor.ex changed 2 times in last 90 days, max cyclomatic complexity 25 in Executor.terminal_outcome at line 483. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/policy_owned_assignment_recovery/executor.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/policy_owned_assignment_recovery/executor.ex"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"be72f0233f94167ddf92d8dc451da3e11d8b603c55eadfbe6550e5942dd96363"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex: elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex changed 3 times in last 90 days, max cyclomatic complexity 16 in ReleaseSourceImporter.import at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/edge/release_source_importer.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f569c5ffb05817e00e7c604b9cb21c6ef9e7b596039874b5c500db5a3de34b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/lib/serviceradar_web_ng_web/authorization/permissions.ex: elixir/web-ng/lib/serviceradar_web_ng_web/authorization/permissions.ex changed 3 times in last 90 days, max cyclomatic complexity 16 in Permissions.grant_permission at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/authorization/permissions.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/authorization/permissions.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dbd7873a287ff8dd81d593dec36f1ee97468111da2199a1df481abaa4a0629"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex changed 2 times in last 90 days, max cyclomatic complexity 23 in AwxLaunchPreflightAttestation.verify_evidence at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_launch_preflight_attestation.ex"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb2f900e5748fb0396a04c15be1b4b7253cf1769e1afc20946c1e1ed2a0e6eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex changed 3 times in last 90 days, max cyclomatic complexity 15 in FalcoEvents.falco_device_uid at line 505. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/falco_events.ex"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605694643ef6721b276592044b828b4329a5b7af36acff57dceadffe0227128"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/dashboards/security_findings.js: elixir/web-ng/assets/js/dashboards/security_findings.js changed 3 times in last 90 days, max cyclomatic complexity 15 in dashboardHtml at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/dashboards/security_findings.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/dashboards/security_findings.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f64bf3699e099347d253fb09eba6ad4cf6eba7e0a70000cf1e4be8a7717ea6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_graph_bitmap_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_graph_bitmap_methods.js changed 2 times in last 90 days, max cyclomatic complexity 21 in computeTraversalMask at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_graph_bitmap_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_bitmap_methods.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9575f5d20ba2da402a212265ee17973c034e41547fbe9ec0acedcce79aa44939"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/component/src/DashboardPanelChart.jsx: elixir/web-ng/assets/component/src/DashboardPanelChart.jsx changed 2 times in last 90 days, max cyclomatic complexity 20 in gaugeDatum at line 354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/component/src/DashboardPanelChart.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardPanelChart.jsx"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5813b005a43bbd935c42228590f7583dc362624ce37b2596f77b9d26ed87b76e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js: elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js changed 2 times in last 90 days, max cyclomatic complexity 20 in stateReasonForNode at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/rendering_style_node_reason_methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a3a3655c46bbc16569fd7e0ae6d32aa9387abf75047d86817e77589e5c5bfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/plugin/manifest.ts: js/cli/src/plugin/manifest.ts changed 2 times in last 90 days, max cyclomatic complexity 20 in manifestErrors at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/plugin/manifest.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/plugin/manifest.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c62487cf5fa30bd7f50b9952e78f645a5e70ef508a897e462724ca9c66d66c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/plugin/status.ts: js/cli/src/plugin/status.ts changed 2 times in last 90 days, max cyclomatic complexity 19 in statusCommand at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/plugin/status.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/plugin/status.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"945256a0d5955474c6516e94f9fca5c05c8b094927814565e6291816304e04cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/ubuntu_adapter.ex: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/ubuntu_adapter.ex changed 2 times in last 90 days, max cyclomatic complexity 18 in UbuntuAdapter.validate_inventory at line 134. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/ubuntu_adapter.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/ubuntu_adapter.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be120fbde3212980357938a7782c1f057718372ef6b80b5e97793ccb340fdda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/serviceradar_core/lib/serviceradar/inventory/sync/enrichment.ex: elixir/serviceradar_core/lib/serviceradar/inventory/sync/enrichment.ex changed 2 times in last 90 days, max cyclomatic complexity 18 in Enrichment.explicit_type_tuple at line 345. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/sync/enrichment.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/sync/enrichment.ex"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e7395ccfbdeca2f7b63e2a668d6371fd4fd55258df1791750d2d927ce9a14e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/DashboardWasmHost.js: elixir/web-ng/assets/js/hooks/DashboardWasmHost.js changed 2 times in last 90 days, max cyclomatic complexity 18 in buildSrqlQuery at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/DashboardWasmHost.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a99714625f21923a9764f3731773f51d10e9ee98a19e5363edad035683b8b8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js: elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js changed 2 times in last 90 days, max cyclomatic complexity 18 in parseProps at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80869f69d42705e8375b373683145e7bd6190b6addbfdab14a37e75d8283201"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/lib/deckgl/PacketFlowLayer.js: elixir/web-ng/assets/js/lib/deckgl/PacketFlowLayer.js changed 2 times in last 90 days, max cyclomatic complexity 18 in getBounds at line 142. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/deckgl/PacketFlowLayer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/deckgl/PacketFlowLayer.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76250ef71f45505d8d1e1eb638398fa94af18bc80a2dd2e0046bc109535d1ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: js/cli/src/dashboard/dev.ts: js/cli/src/dashboard/dev.ts changed 2 times in last 90 days, max cyclomatic complexity 15 in watchProjectForValidation at line 362. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- js/cli/src/dashboard/dev.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/dashboard/dev.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a15236d453249ef8161d35320d66156858597cbf8f8950865da282fc7cf1e11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx: elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx changed 2 times in last 90 days, max cyclomatic complexity 15 in open at line 286. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78fd0104501e8f6ddc55f7009723d907b5e9547326a0bfbc561205ac60c8bd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: elixir/web-ng/assets/js/hooks/charts/FlowSparkline.js: elixir/web-ng/assets/js/hooks/charts/FlowSparkline.js changed 2 times in last 90 days, max cyclomatic complexity 15 in draw at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/FlowSparkline.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/FlowSparkline.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2672d0d01e6eaa85cfb6493188d04f7f06deeafd2314e75edc5c835a3b18c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/event_writer/config.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/config.ex changed 33 times in last 90 days and 21 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is Config.protocol_valid_nats_subject? at line 721), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): correct identifier lookups and Dialyzer contracts (#358)\u201D; \u201Cfix(k8s): review round 2 partial \u2014 node\u002Brole titles, clearable fire-test, stream wiring\u201D; \u201Cfix(event-writer): bind SFLOW_RAW/NETFLOW_RAW to the flows stream (#4096)\u201D; \u201Cfix(event_writer): a failed flow backlog drain must not kill the live pipeline\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/config.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/config.ex"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8c2f0735b240a72919d12daa5f08253ac321590efe3aff2b89fb7b8b882d44"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex changed 30 times in last 90 days and 18 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is Show.log_message_hero at line 704), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): format log detail show.ex\u201D; \u201Cfix(web-ng): show collector target and error on log detail\u201D; \u201Cfix(web-ng): reject unzoned display timestamps\u201D; \u201Cfix(web-ng): close observability timestamp gaps\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/log_live/show.ex"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15e403b7010ce91e8d719f3b4367037ae74acad708fd5e4428f2b88c73aa457"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_writes.ex: elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_writes.ex changed 26 times in last 90 days and 17 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is DeviceWrites.resolve_record_active_ip at line 555), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): make integration identity admission provider-neutral (#357)\u201D; \u201Cno-mistakes(ci): Fixed adoption across incompatible identifier scopes or conflicting hardware serials, and corrected two NetBox test setups that ingestion rejected for missing IPs. Formatting, diff checks, and direct DeviceWrites compilation pass. Full compilation encounters an unrelated Oban warning; integration tests require BuildBuddy fixture verification\u201D; \u201Cfix(inventory): converge strong-identified sync records on hostname agreement\u201D; \u201Cfix(inventory): scope active-IP conflict resolution by partition\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_writes.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/sync/device_writes.ex"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88fbf36e30a9e155fbf7a7f19e9ef11a17ea160b87908efae4768781400b7fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex: elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex changed 26 times in last 90 days and 15 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is AgentConfigGenerator.prepare_direct_leaf_params at line 693), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(netbox): deliver one assignment per NetBox instance, on a query that resolves\u201D; \u201Cfix(core): group build_snmp_oid_config clauses\u201D; \u201Cfix(plugins): log why a plugin assignment was skipped\u201D; \u201Cfix(notifications): address PR 4910 review findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/agent_config_generator.ex"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb341c23270ea72410ddd839dfab8da2398fb99ac36981cdec3b51ecde981b39"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/feed_worker.ex: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/feed_worker.ex changed 17 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is FeedWorker.do_run at line 585), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(vulnerability): bound feed ingestion and seed scalar distro assertions\u201D; \u201Cfix(vulnerability): make package matching distro aware\u201D; \u201Cfix(feeds): skip unchanged KEV advisories\u201D; \u201Cfix(feeds): preserve advisory feed successors\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/feed_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/feed_worker.ex"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eeafeb2dedc9998da6360ef91fc2827874f2f330c922597ceb6ad6e182e545"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex changed 23 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is AnomalyCapacityComponents.interface_label at line 1238), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(anomalies): confirm adjacent seasonal windows and migrate legacy state (#485)\u201D; \u201Cfix(anomaly): arm the drift anchor on a mature window, report the drift level, exit on SIGTERM (#438)\u201D; \u201Cfix(web-ng): read the drift payload from unmapped.anomaly on live event rows (#429)\u201D; \u201Cfix(web-ng): sort device anomaly findings by selected sort order (#367)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_components.ex"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7403ef983f60970f21b96de96e7bab20ad7f4562f7a2ef953bbb3313096faea5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex: elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex changed 17 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is MapperResultsIngestor.explicit_topology_confidence at line 3389), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(inventory): exclude VRRP MACs from device identity\u201D; \u201Cfix(identity): do not glue distinct hardware from mixed L2 IP\u002BMAC\u201D; \u201Cfix(inventory): lockstep interface PK and fail-closed link-local readers\u201D; \u201Cfix(inventory): persist current-state interfaces and drop link-local alias evidence\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/mapper_results_ingestor.ex"},"region":{"startLine":3389}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e0ae2112cc290f7a91fb932d75dbdba04d9d6f7477cc1e05a124e6054a5f72"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync_worker.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync_worker.ex changed 15 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is NativeAddonSyncWorker.perform at line 61), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(plugins): do not re-filter fallback feed by the missing deployed tag\u201D; \u201Cfix(plugins): first-party sync tolerates unpublished deployed release tag\u201D; \u201Cfix(web-ng): let a verified import replace an unverified seeder placeholder\u201D; \u201Cfix(web-ng): import first-party plugins and add-ons from GitHub Releases\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync_worker.ex"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa61b4959b134e6640e553f489217e652b81da7e6d3554f84dcf452836c11e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/event_writer/pipeline.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/pipeline.ex changed 21 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Pipeline.build_batchers at line 375), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(event-writer): register :flow_attribution Broadway batcher\u201D; \u201Cfix(netflow): address PR 4909 re-review at 0c404363\u201D; \u201Cfix(netflow): address PR 4909 re-review at fda6e98c\u201D; \u201Cfix(netflow): address PR 4909 re-review at 51877a6d\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/pipeline.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/pipeline.ex"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eedfde3df52015948d49aac5f5f6a176ee3c3940c4c769aab36a24d57ebe98"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex changed 16 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is AgentGatewayServer.push_status at line 384), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: harden retained stream lifecycle\u201D; \u201Cfix: scope retained delivery negotiation\u201D; \u201Cfix: make retained status acknowledgements truthful\u201D; \u201Cfix(sweep): enforce scalable assignment authority\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_gateway_server.ex"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63ae9e7681c24dce60291e3a7bec5df23ec2e71771a909736ece8a4d622747"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex changed 13 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Producer.handle_info at line 254), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(event-writer): classify best-effort setup failures\u201D; \u201Cfix(event-writer): bind SFLOW_RAW/NETFLOW_RAW to the flows stream (#4096)\u201D; \u201Cfix(event_writer): a failed flow backlog drain must not kill the live pipeline\u201D; \u201Cfix(event-writer): expire stale JetStream pull inflight (#3764)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/producer.ex"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39cd9543e9c637b5ad70b1435198e846e444894f33d637b1d0a8536c4c1cb39"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/store.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/store.ex changed 15 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Store.put_rows at line 129), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): prune inactive provider CIDR snapshots and skip unchanged trie reloads\u201D; \u201Cfix(core): prevent prefix tag trie reload storms\u201D; \u201Cfix(prefix-tags): address follow-up review regressions\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/store.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/store.ex"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d23ca1949f77c20a89394dab0774610876c060c34280aa142e3a514be1be4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/manual.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/manual.ex changed 12 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Manual.create_active_manual_snapshot! at line 221), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): knock out farm01 settings/SRQL/onboarding bugs\u201D; \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix(prefix-tags): address follow-up review regressions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/manual.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/manual.ex"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d740a524106870296c50020ede212e43e6abd379eaf546e56e98cf4d34a4ec4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex changed 15 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Show.load_stream_page at line 469), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): restore Dialyzer quality contract and correct runtime errors (#356)\u201D; \u201Cfix(web-ng): hook offset-less alert timestamps in the stream\u201D; \u201Cfix(web-ng): name anomaly alerts by metric and identity\u201D; \u201Cfix(web-ng): unique timezone picker IDs and alert stream UTC parse\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/alert_live/show.ex"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e697a9a20dd02f9f6652e21d6f9f4a8feef1fec4e5c3111538da05fc60fd6b6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/loader.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/loader.ex changed 14 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is Loader.do_reload at line 262), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): knock out farm01 settings/SRQL/onboarding bugs\u201D; \u201Cfix(core): prevent prefix tag trie reload storms\u201D; \u201Cfix(prefix-tags): address follow-up review regressions\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/loader.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/loader.ex"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c24a143970d89d7a51f86c18f0d7dc7ee175ee6812b9cb4ca0732c44acd7f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex: elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex changed 12 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is JetstreamConsumer.existing_deliver_policy at line 74), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(event-writer): bind SFLOW_RAW/NETFLOW_RAW to the flows stream (#4096)\u201D; \u201Cfix(notifications): address PR 4910 review findings\u201D; \u201Cfix(elixir): restore mix format --check-formatted on staging\u201D; \u201Cfix(netflow): address PR 4909 re-review at 0d70ccf0\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/nats/jetstream_consumer.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"637b96ef38a2c164fbc9943636875b4634bbedb9bb773e981b403fcc6a0a841c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/cluster/startup_migrations.ex: elixir/serviceradar_core/lib/serviceradar/cluster/startup_migrations.ex changed 11 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is StartupMigrations.admin_connection_attempts at line 1296), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): honor configured migration ledger during bootstrap (#323)\u201D; \u201Cfix(tests): isolate the integration suite and stop masking failures\u201D; \u201Cfix(platform): eliminate recurring farm log failures\u201D; \u201Cfix(bootstrap): skip identity sequences in the ownership sweep\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/cluster/startup_migrations.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/cluster/startup_migrations.ex"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa86d4a5681dd03c22860a76877a6bd1738e3de6e8b509d3e6a99cc9512e04a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex changed 14 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is SweepResultsIngestor.reporter_expectation at line 285), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(sweep): enforce scalable assignment authority\u201D; \u201Cfix(sweep): require authenticated execution owners\u201D; \u201Cfix(sweep): require authenticated execution ownership\u201D; \u201Cfix(sweep): quarantine stale and untrusted results\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_results_ingestor.ex"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1b79ef1a31010581e90271416723e3541910040c2e72cbd178eb66c32d444a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/events_panel.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/events_panel.ex changed 13 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is EventsPanel.event_axis_style at line 264), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): stop the last two Events Over Time axis labels overlapping\u201D; \u201Cfix(web-ng): make the dashboard Events Over Time axes readable on long windows\u201D; \u201Cfix(timezone): finalize localized UI timestamp contracts\u201D; \u201Cfix(web-ng): replace hydrated event range state\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/events_panel.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/events_panel.ex"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"331465a3a1fde83644ba8d4dec34e70301e6aad8e360b4e7145378d5a69391a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex changed 13 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is AnomalyCapacityData.load_first at line 154), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(anomalies): confirm adjacent seasonal windows and migrate legacy state (#485)\u201D; \u201CFix device detail loading and anomaly lifecycle UX\u201D; \u201Cfix: close anomaly flapping re-review gaps\u201D; \u201CFix staging merge validation fallout\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/anomaly_capacity_data.ex"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"28811aa6a03c65c97628ac79784ad4b9d162feb4d48db6080973c894ea794726"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex changed 12 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is Timeseries.update at line 74), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): label a 90 day sysmon axis with months\u201D; \u201Cfix(web-ng): use Hex permit_ecto for release build\u201D; \u201Cfix(web-ng): address CPU chart review nits\u201D; \u201Cfix(web-ng): make CPU core drilldown readable\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"753497e08dd1b12fa8db3ae6159f90e84c82bdc251e66a74e9fda5c934e6f182"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex changed 12 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Loader.validate_record! at line 317), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(vulnerability): bound feed ingestion and seed scalar distro assertions\u201D; \u201Cfix(vulnerability): make package matching distro aware\u201D; \u201Cfix(feeds): address advisory review findings\u201D; \u201Cfix(feeds): canonicalize KEV advisory hashes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/loader.ex"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4728e6808bb12fd910ca715932eda8f131de5df4029c64a5d0dfbc635682c067"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/sections.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/sections.ex changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Sections.build_cpu_section at line 31), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): long and custom metric windows read history that exists, and say what they show\u201D; \u201CFix device detail loading and anomaly lifecycle UX\u201D; \u201Cfix(sysmon): honor high-res sample_interval \u002B range-sized chart buckets \u002B merge metric continuity\u201D; \u201Cfix(web-ng): address CPU chart review nits\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/sections.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/sections.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"88492f7c4483b2aa919089502751d8aee8d4e20fd761981341644466c30d0e57"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex: elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is ArmisUnmerge.apply_split at line 1055), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): dialyzer wave 2 \u2014 SPIFFE/gRPC, MapSet opacity, identity types\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix(identity): close Armis remediation convergence gaps\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/armis_unmerge.ex"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"80860f836fe2497026a0638b70f4a09612bb26a8202184018c4db24c63baa21a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex changed 10 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is FlowData.protocol_label at line 394), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): read the throughput sparkline and device flow probes from the warehouse when flows are cut over\u201D; \u201Cfix(srql): scope device flow queries by resolved addresses, not device_id\u201D; \u201Cfix(web-ng): stop dropping the flow summary, and make the sparkline visible\u201D; \u201Cfix(web-ng): keep count_distinct out of the flow summary aggregate query\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/flow_data.ex"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fda3d41c35c68dd0ac036d606ba763293228d7b11f3bde9ae2aeafd4218d15"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex: elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex changed 10 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is PluginResultIngestor.do_insert_status at line 151), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): make plugin result reconciliation deterministic\u201D; \u201Cfix(core): order logical plugin state updates\u201D; \u201Cfix(core): serialize logical plugin service state\u201D; \u201Cfix(core): harden plugin result state ownership\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/plugin_result_ingestor.ex"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d78d1f6aaa55ad8bfc05c95c4402eb13cc01a3fa4083f776a6536b14e9f005"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_template_binding.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_template_binding.ex changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is AwxTemplateBinding.input_definition at line 633), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ansible): retire legacy operator workflows\u201D; \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix(ansible): constrain AWX dispatch marker survey\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_template_binding.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/awx_template_binding.ex"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dff8731bd9225eb0a55db3a541e334d3c3aae7a5e7584560f574224275f7ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/chart_card.ex: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/chart_card.ex changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is ChartCard.series_dom_id at line 525), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: stabilize anomaly semantics and capacity forecasts\u201D; \u201Cfix(web-ng): address CPU chart review nits\u201D; \u201Cfix(web-ng): simplify CPU timeseries view\u201D; \u201Cfix(web-ng): widen timeseries chart gutters\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/chart_card.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/chart_card.ex"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"038c92226c8dba41692149799671393d2700401755446ba3dc6ec4ec129a499e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex: elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is EdgeBaselineProducer.reconcile at line 156), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(health): stop announcing unchanged health states as transitions (#457)\u201D; \u201Cfix(anomaly): restore seasonal baseline delivery, bound central seasonal episodes, gate recurring bursts, and make capacity runway truthful (#384)\u201D; \u201Cfix(serviceradar_core): batch edge baseline queries to prevent timeouts (#4405)\u201D; \u201Cfix: close anomaly flapping re-review gaps\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/seasonal_disposition/edge_baseline_producer.ex"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"45675835c0e1bbedbe0ebea970b879fd1b43e71804d6a9959029550e2343c80b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex: elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is PluginAssignmentMaterializer.do_reconcile_current_rule_for_agent at line 138), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(netbox): one NetBox instance is one agent\u0027s job, not every agent\u0027s\u201D; \u201Cfix(netbox): deliver one assignment per NetBox instance, on a query that resolves\u201D; \u201Cfix(credentials): return :cont from the outer reduce_while in reconcile_all_for_agent\u201D; \u201Cfix(runtime): recover reconciliation conflicts safely\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/credentials/plugin_assignment_materializer.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6069088a05d0c14369e78c6dceee36cced5a150a2da8aff45e98ab378117365d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/threat_intel_source.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/threat_intel_source.ex changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ThreatIntelSource.sources_from_match at line 238), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix(core): prevent prefix tag trie reload storms\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/threat_intel_source.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/threat_intel_source.ex"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1516ee7929fe90132fb10521364a0146c9e7f9c6368044214bb9f0eef35cca"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex: elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex changed 11 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is GodViewStream.build_runtime_link_edge at line 570), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cno-mistakes(review): Fix sparkline grain and pair filter; bound index build\u201D; \u201Cfix(god-view): ask the cluster quorum of the anchor, not of each switch port (#4075)\u201D; \u201Cfix(god-view): stop the connectivity forest swallowing endpoint attachments (#4067)\u201D; \u201Cfix(topology): enforce authoritative ELK scene geometry\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/topology/god_view_stream.ex"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8a664bc846dae389f7276bd8b3c0c6e5ac7e97f93d80d54cccfd343dfcaab4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex changed 11 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is FirstPartySyncWorker.perform at line 56), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(plugins): first-party sync tolerates unpublished deployed release tag\u201D; \u201Cfix(web-ng): import first-party plugins and add-ons from GitHub Releases\u201D; \u201CFix zero-touch add-on release reconciliation\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/first_party_sync_worker.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c72232b1897edcecf778b8fc3e64142d7ff620ed4c7ebca212c3e803ddad85"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex: elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex changed 11 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is AddonRolloutCoordinator.start_next_candidate at line 403), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(addons): unstick superseded rollouts, stop failing candidates on stale reports, restart unresponsive add-ons (#449)\u201D; \u201Cfix(addons): exclude agents that are not reporting instead of blocking the rollout (#410)\u201D; \u201Cfix(addons): stop one dead agent from freezing managed add-on updates (#404)\u201D; \u201Cfix(addons): only reap PAUSED rollouts, not ones still succeeding\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_rollout_coordinator.ex"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdd02c89a9186df3c4d40390725c6e74717f80d67ba9335633a3959bf1d2077"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/trie.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/trie.ex changed 10 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is Trie.merge_entry at line 147), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix(core): prevent prefix tag trie reload storms\u201D; \u201Cfix(prefix-tags): re-review findings 47-61 on PR #4642\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/trie.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/trie.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0452049cf847ea1e7b76d40ed0a3beefca4298a49f8d6867570891c5e377600b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is IpinfoMmdbDownloadWorker.sync_missing_files at line 77), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(deps): align req on 0.7.3 across every project that embeds core\u201D; \u201Cfix(geoip): download ipinfo_lite when the token is already stored\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/ipinfo_mmdb_download_worker.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"687bae5a5f1c2b2f015f20a948f49c3b77f9bf1a28b9187cdb116b2fdd232b4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry.ex: elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry.ex changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is ServiceStateRegistry.replace_from_status_with_notifications at line 46), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): make plugin result reconciliation deterministic\u201D; \u201Cfix(core): order logical plugin state updates\u201D; \u201Cfix(core): serialize logical plugin service state\u201D; \u201Cfix(core): harden plugin result state ownership\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/service_state_registry.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"13edaf27cd7add613654dd28279e10b7c5812205cfecbeffdbe6fb6867185f5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/identity/duplicate_sweep.ex: elixir/serviceradar_core/lib/serviceradar/inventory/identity/duplicate_sweep.ex changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is DuplicateSweep.column_mac_groups_from_rows at line 474), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(inventory): apply MergePolicy check in DuplicateSweep classify step\u201D; \u201Cfix(inventory): close two remaining interface-mac-chassis merge gaps\u201D; \u201Cfix(inventory): prevent transitive identity overmerges\u201D; \u201Cfix(inventory): stop recon and CSV upsert from fighting tombstones (#4095)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/identity/duplicate_sweep.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/duplicate_sweep.ex"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f0f824ceae17bb6a896ae72a0c5eba2c7e6463c14a3021fb0b1ec68027e9fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Logs.parse_trace_flags at line 371), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(analytics): encode EventWriter UUID bytes for StarRocks logs\u201D; \u201Cno-mistakes(review): Fix node snapshot ordering, alert failures, probes, and routing\u201D; \u201Cfix(snmp): assemble trap bodies in the Zen rule, not from varbinds[0]\u201D; \u201Cfix(core): preserve typed log promotion identities\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/logs.ex"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a8a8b718c2f1ccb6b2590e19d0b32d33a512c3846f772842efae843fded862"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is NetflowProviderDatasetRefreshWorker.fetch_provider_rows at line 134), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(netflow): keep provider CIDR rows compact across snapshot rotation\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_provider_dataset_refresh_worker.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0863e056dae3f2660a50f14cb5b8ebe08d227f45c78bac3d272be27da4f58e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is SweepDataCleanupWorker.earliest_unrolled_day at line 177), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(sweep): quadratic rollup joins, catch-up backlog, fail-closed watermark\u201D; \u201Cfix(sweep): replace MAX(day) watermark with an earliest-gap watermark\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_data_cleanup_worker.ex"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8e9c2ea9ba6e60ad928e50bdb614bfbd9acf3da5bf66a439ac3f2bd9d9e4b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex: elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SourceIdentityDrift.verify_metadata_repair at line 730), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): make integration identity admission provider-neutral (#357)\u201D; \u201Cfix(inventory): stop double-encoded jsonb params corrupting device metadata\u201D; \u201Cfix: stop Armis generic identity bridges\u201D; \u201Cfix: batch source identity drift persistence\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/source_identity_drift.ex"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"527e55e19a7702c79c3e476897b64f8aff6e620668f04900f19bc1c24dad7d48"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/mtr_components.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/mtr_components.ex changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is MtrComponents.mtr_trace_dashboard at line 552), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mtr): deduplicate device destination samples\u201D; \u201Cfix(mtr): ignore missing destination RTT\u201D; \u201Cfix(mtr): stabilize device destination metrics\u201D; \u201Cfix(web-ng): lift modals above ops sidebar with dialog top layer\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/mtr_components.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/mtr_components.ex"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82cf359b871926e5e5bc2be536bcc899ccbcb7d47f611842ca25808d153ee7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex: elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is Page.paginate at line 114), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): restore Dialyzer quality contract and correct runtime errors (#356)\u201D; \u201Cfix(web-ng): make the global SRQL reset restore route baseline (#4114) (#4121)\u201D; \u201Cfix(web-ng): preserve SRQL builder mode integrity (#4111)\u201D; \u201Cfix(web-ng): default address filters to equals instead of contains\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/srql/page.ex"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ac08d772c6d22b0f7f918d273e4c9cb5f73fe097ec11342a793b24765db698"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/remediation/decisions.ex: elixir/serviceradar_core/lib/serviceradar/inventory/remediation/decisions.ex changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Decisions.plan_armis_unmerge at line 567), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix Proxmox cross-cluster over-merge from name-keyed integration ids (#4051)\u201D; \u201Cfix(identity): close Armis remediation convergence gaps\u201D; \u201Cfix: close Armis unmerge audit gaps\u201D; \u201Cfix: make Armis unmerge execution fail closed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/remediation/decisions.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/decisions.ex"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95fd397a6f41ded4dbdd146d5fbb3a3596f348b77796f2eea4d0fc8e06ad07e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/remediation/dire_remediation.ex: elixir/serviceradar_core/lib/serviceradar/inventory/remediation/dire_remediation.ex changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is DireRemediation.resolve_steps at line 275), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix Proxmox cross-cluster over-merge from name-keyed integration ids (#4051)\u201D; \u201Cfix(inventory): lockstep interface PK and fail-closed link-local readers\u201D; \u201Cfix(inventory): persist current-state interfaces and drop link-local alias evidence\u201D; \u201Cfix: make Armis unmerge execution fail closed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/remediation/dire_remediation.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/remediation/dire_remediation.ex"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f251e3b2082a643245ce9bab7345efd11ae94cc1cafe9db6f0994a8156f4e45"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is NetboxImportWorker.map_prefix_row at line 426), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix(prefix-tags): drop invalid :domain on Ash code-interface create/promote\u201D; \u201Cfix(prefix-tags): re-review findings 47-61 on PR #4642\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/netbox_import_worker.ex"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ebbad170d10e00d64e99f3f7772ee6e2a18855f45851d55a95d0a92d773c1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is NativeAddonImporter.import_with_disposition at line 162), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(plugins): do not re-filter fallback feed by the missing deployed tag\u201D; \u201Cfix(plugins): first-party sync tolerates unpublished deployed release tag\u201D; \u201Cfix(web-ng): import first-party plugins and add-ons from GitHub Releases\u201D; \u201CFix zero-touch add-on release reconciliation\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_importer.ex"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6865498eb1ed73daea11a39d0afb429f946fb9f4334af83919d048ea118d05c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns.ex: elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns.ex changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is DeviceHostnameRdns.run at line 42), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(inventory): bound reverse DNS cohort memory\u201D; \u201Cfix(inventory): exhaust reverse DNS cohorts in batches\u201D; \u201Cfix(inventory): merge device metadata in the database instead of overwriting it\u201D; \u201Cfix(inventory): page Device reads when loading the rDNS cohort\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"354a9abe7294331badaf5d98de648963a148d9e079365463154c4899859baf4e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/telemetry.ex: elixir/serviceradar_core/lib/serviceradar/telemetry.ex changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Telemetry.measure_registry_sizes at line 1122), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): give admission-lane histograms prometheus buckets\u201D; \u201Cfix(core): isolate retained status admission\u201D; \u201Cfix(netflow): finish ingest isolation hardening\u201D; \u201Cfix(gateway): reap expired camera relay sessions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/telemetry.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/telemetry.ex"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"981c30b7c01e5633f06ed968cf417fc340d839523a055e36b79e723ba455e301"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/page.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/page.ex changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is Page.render at line 15), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): put cameras on the trio row when the feed is on\u201D; \u201Cfix(web-ng): restore map beside events and nest metrics under the graph\u201D; \u201Cfix(web-ng): tuck the trio under the map so the dashboard has no gap\u201D; \u201Cfix(web-ng): fill leftover dashboard tracks instead of leaving holes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/page.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/page.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc4a0c12e435865f3f6c4c5596f7e5e0a9ade2013c9ecfa0e0d43b239f70e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_watchdog.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_watchdog.ex changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is RunWatchdog.perform at line 46), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore ansible watchdog transitions\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_watchdog.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_watchdog.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"780d3ae9ec2c9fd647299d3759a4a0217a10739d654ea388e57567fabb2d4772"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync.ex: elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync.ex changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is NativeAddonSync.import_or_reuse at line 37), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): let a verified import replace an unverified seeder placeholder\u201D; \u201Cfix(addons): restore trusted package approval after repair\u201D; \u201Cfix(addons): converge on latest trusted release\u201D; \u201Cfix(addons): reuse verified bundles across release envelopes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/plugins/native_addon_sync.ex"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bdf3f2cd2a57a47e9862f173e4c4f0d583c5b04286f0dd78588781f3365d1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is GeoLiteMmdbDownloadWorker.sync_missing_files at line 93), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(deps): align req on 0.7.3 across every project that embeds core\u201D; \u201Cfix(geoip): skip missing MMDBs and re-fetch after emptyDir rolls\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/geolite_mmdb_download_worker.ex"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"869fc12518b6da1cc36d8ef08260ecf88901f04f9fe213d12d93ecba361cd708"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/mix/tasks/serviceradar.dire_remediation.ex: elixir/serviceradar_core/lib/mix/tasks/serviceradar.dire_remediation.ex changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is DireRemediation.run_with at line 213), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix Proxmox cross-cluster over-merge from name-keyed integration ids (#4051)\u201D; \u201Cfix(inventory): lockstep interface PK and fail-closed link-local readers\u201D; \u201Cfix(remediation): report unsplittable Armis devices\u201D; \u201Cfix: make Armis unmerge execution fail closed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/mix/tasks/serviceradar.dire_remediation.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/mix/tasks/serviceradar.dire_remediation.ex"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d1975df9be503e20fdb0a570ecf2f4ab1c73cc4bbb4c4bc1d68b1e4daa7f46"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_plugin_ingestor.ex: elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_plugin_ingestor.ex changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ThreatIntelPluginIngestor.do_ingest_page at line 107), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(otx): preserve durable ingest state\u201D; \u201Cfix(otx): stream uncapped indicator pages safely\u201D; \u201Cfix(otx): recover stalled incremental pulls\u201D; \u201Cfix(wasm): bound OTX adaptive export paging\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_plugin_ingestor.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_plugin_ingestor.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"711e58831e3dae8324d5e1d2d048361fc76fd66592ca92f764b4430ca491c199"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Worker.value_context at line 1130), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cno-mistakes(review): Route background SRQL reads through Readers; fix stale tests\u201D; \u201Cfix(capacity): label a capped crossing beyond the horizon as outside the horizon (#412)\u201D; \u201Cfix(anomaly): restore seasonal baseline delivery, bound central seasonal episodes, gate recurring bursts, and make capacity runway truthful (#384)\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/capacity_forecasting/worker.ex"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c6238f981094a0a78e00850cbee52dda7d8219ce1de7cf41a923957c0586f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is AnomalyEpisodeRegistry.transition_row at line 315), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(anomaly): restore seasonal baseline delivery, bound central seasonal episodes, gate recurring bursts, and make capacity runway truthful (#384)\u201D; \u201Cfix: close anomaly flapping re-review gaps\u201D; \u201Cfix: address anomaly flapping review findings\u201D; \u201CFix anomaly flapping and seasonal delivery\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/processors/anomaly_episode_registry.ex"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a030f1dedf286e731cd5fea262846617a5db3f0d34bcedb99bb780991f7bae73"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex: elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is AnomalyAddonConfigProjector.project_schema_value at line 231), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(anomaly): restore seasonal baseline delivery, bound central seasonal episodes, gate recurring bursts, and make capacity runway truthful (#384)\u201D; \u201Cfix(core-elx): coerce legacy boolean drift_mode in anomaly projector\u201D; \u201Cfix: close anomaly flapping re-review gaps\u201D; \u201Cfix: address anomaly flapping review findings\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/anomaly_addon_config_projector.ex"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07b539b9eb50e9e562d44d83b180965ace24d84095bfc3eed064904529f0696"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/data_retention_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/data_retention_worker.ex changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is DataRetentionWorker.prune_by_timestamp at line 454), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): prune inactive provider CIDR snapshots and skip unchanged trie reloads\u201D; \u201CFix cold-tier drop-gate races (F02/F03/F07)\u201D; \u201Cfix(cold-tier): F09 unified activation state, F10 head-failure health, F34 pressure alerts can fire\u201D; \u201Cfix(cold-tier): CAGG refresh-window clamp \u002B hazard guards (pre-existing data-loss bug)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/data_retention_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/data_retention_worker.ex"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd26c758ae7d389930932aebc53fe2f65894a11177bc5bdd3f79cd6ed09f224"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index.ex changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is Index.handle_async at line 58), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): keep dashboard panels populated while a time window reloads\u201D; \u201Cno-mistakes(review): Fix StarRocks query contracts and dashboard window loading\u201D; \u201Cfix(web): restore DuckDB time-window selectors on dashboard and flows\u201D; \u201Cfix(web-ng): load dashboard cards independently and restore map layout\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b168ea107f0ea1c90796bf7e7a03c0e018b62f81bf3382df52d51cd101a4a9e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is ThreatIntelFeedRefreshWorker.perform at line 62), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel_feed_refresh_worker.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f74a8e3e05080c212523220871395f99ed170b568826347d249eadbe3a0d15c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_coverage_rollup_worker.ex: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_coverage_rollup_worker.ex changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is SweepCoverageRollupWorker.roll_catch_up_days at line 158), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(sweep): store NULL rather than sentinels in coverage rollup\u201D; \u201Cfix(sweep): quadratic rollup joins, catch-up backlog, fail-closed watermark\u201D; \u201Cfix(sweep): replace MAX(day) watermark with an earliest-gap watermark\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_coverage_rollup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_coverage_rollup_worker.ex"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"053b80eef91d19bf71596810aab9077d9fd50c10f2b1f4c324703a425af4909e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/control_stream_session.ex: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/control_stream_session.ex changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ControlStreamSession.handle_verified_message at line 327), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: harden retained stream lifecycle\u201D; \u201Cfix(tests): isolate the integration suite and stop masking failures\u201D; \u201Cfix(agent-gateway): buffer stream forward failures\u201D; \u201Cfix(ci): clear remote access validation gates\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/control_stream_session.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/control_stream_session.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"06adfd36f1c76aad0129089afbc045debefab1a003ca9622be2f6bcf88d92f07"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/native_addon_importer.ex: elixir/serviceradar_core/lib/serviceradar/plugins/native_addon_importer.ex changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is NativeAddonImporter.package_attrs at line 489), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(addons): reuse verified bundles across release envelopes\u201D; \u201Cfix: resolve native add-on sync review gaps\u201D; \u201Cfix: close native add-on sync race gaps\u201D; \u201Cfix: validate native add-on artifact contracts\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/native_addon_importer.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/native_addon_importer.ex"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a1ae1dae5b2f8dd7ab6cff865d2b1e767af8e5c42a2fdc700f9c60d4e6e930"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/test_send.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/test_send.ex changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is TestSend.run at line 85), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(notifications): tolerate unstarted endpoint in test-send links\u201D; \u201Cfix(notifications): Discord alert links and demo webhook egress\u201D; \u201Cfix(ci): format notification and MTR LiveView files for LV 1.2\u201D; \u201Cfix(ci): format notification LiveView files for LV 1.2\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/test_send.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/notifications_live/test_send.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa560582d516d7f2acc76bb2778f87d8acc1d42e24927a67f6d3979809ed0f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/map_panel.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/map_panel.ex changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is MapPanel.map_empty? at line 150), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): keep dashboard panels populated while a time window reloads\u201D; \u201Cfix(web): restore DuckDB time-window selectors on dashboard and flows\u201D; \u201Cfix(web-ng): load dashboard cards independently and restore map layout\u201D; \u201Cfix(web-ng): fill the operations dashboard hole without flattening Threat Intel\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/map_panel.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/map_panel.ex"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b7e448cb51e76c482b56ee3430b3752facbab351f31445031da53d200fc888"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/observability_panel.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/observability_panel.ex changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is ObservabilityPanel.render at line 14), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): keep dashboard panels populated while a time window reloads\u201D; \u201Cfix(web): restore DuckDB time-window selectors on dashboard and flows\u201D; \u201Cfix(web-ng): restore map beside events and nest metrics under the graph\u201D; \u201Cfix(web-ng): load dashboard cards independently and restore map layout\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/observability_panel.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/observability_panel.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b84bf1bb548cc39ab7ddddfb286ca07c7abf6cac01816c39b1363e2a5abd184"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex: elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is BumblebeeCatalogRefreshWorker.persist_snapshot at line 215), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(core): stop Req Finch default from crashing Bumblebee s7\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/bumblebee_catalog_refresh_worker.ex"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0cb7f3a3e20555b93a7005ded0616c7ae7178e07f0e73d4a75bfb8deebbf56"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_worker.ex: elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_worker.ex changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is DeviceCleanupWorker.do_purge at line 146), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(oban): stop self-scheduling worker churn from dedup-on-:executing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/device_cleanup_worker.ex"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"39560f5cf8f600920a6a879a8ab12e194ef895562de360cb7d89cf7223c1dd65"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex: elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is AddonProfileReconcileWorker.ensure_scheduled at line 27), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(addons): stop containerized agents from failing every add-on rollout\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_reconcile_worker.ex"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3bb11d5cecc8d643a66287cf467387032064a8eea9dad8cb6db2b6182f5623"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/status_processor.ex: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/status_processor.ex changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is StatusProcessor.forward_local at line 315), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make retained status acknowledgements truthful\u201D; \u201Cfix(lint): repair \u0060make lint-elixir\u0060, then fix everything it found\u201D; \u201Cfix(agent-gateway): buffer stream forward failures\u201D; \u201Cfix(agent): retain unacknowledged plugin results\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/status_processor.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/status_processor.ex"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0988abc9fa746866336981f2df051bbe985f85334c6c27874d96e5b027e28a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/mtr_automation_dispatcher.ex: elixir/serviceradar_core/lib/serviceradar/observability/mtr_automation_dispatcher.ex changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is MtrAutomationDispatcher.collect_target_contexts at line 136), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mtr): drop the default selector limit from MTR target selection\u201D; \u201Cfix(mtr): resolve MTR dispatch candidates without reading the registry from web-ng\u201D; \u201Cfix(core): stream managed-device enforcement instead of one keyset page\u201D; \u201Cfix(security): harden remote access automation boundaries\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/mtr_automation_dispatcher.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/mtr_automation_dispatcher.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a24e3286b496635ebb8bb8cb7e8dbf1e5410771f5ca6136a5945094f34e02a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/changes/broadcast_manual_invalidation.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/changes/broadcast_manual_invalidation.ex changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is BroadcastManualInvalidation.source_for_invalidation at line 46), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(prefix-tags): address follow-up review regressions\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D; \u201Cfix(prefix-tags): re-review findings at 68edd68 (ETS owner \u002B 7 medium)\u201D; \u201Cfix(prefix-tags): re-review findings 47-61 on PR #4642\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/changes/broadcast_manual_invalidation.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/changes/broadcast_manual_invalidation.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5652e93e3cfa6d0396073d77d13d0ce67b4af3b48eed17ba38a05142dbc392"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js: elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is bindChart at line 15), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): label a 90 day sysmon axis with months\u201D; \u201Cfix(web-ng): bind timeseries hover to plot svg\u201D; \u201Cfix(web-ng): restore timeseries panel states\u201D; \u201Cfix(web-ng): restore timeseries chart gutters\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"627618ed7aabcde53ad5b23310dc69504c7de3815830e3d8790a15add06fbca3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/assets/js/hooks/charts/TimeseriesCombinedChart.js: elixir/web-ng/assets/js/hooks/charts/TimeseriesCombinedChart.js changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is bindChart at line 14), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): label a 90 day sysmon axis with months\u201D; \u201Cfix(web-ng): bind timeseries hover to plot svg\u201D; \u201Cfix(web-ng): restore timeseries panel states\u201D; \u201Cfix(web-ng): restore timeseries chart gutters\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/charts/TimeseriesCombinedChart.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/charts/TimeseriesCombinedChart.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2667189820e43134b648024c88aad193523bf973e8b013e4efe03628738e086a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/paths.ex: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/paths.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Paths.widen_time_domain at line 165), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): label a 90 day sysmon axis with months\u201D; \u201Cfix(web-ng): address CPU chart review nits\u201D; \u201Cfix(web-ng): widen timeseries chart gutters\u201D; \u201Cfix(web-ng): restore timeseries chart gutters\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/paths.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/timeseries/paths.ex"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"130659a20b9d6afb9d7358c28203f491a4bb5d02bba2d02804c2cc7a85ab08e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac.ex: elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Mac.normalize_single_mac at line 79), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(inventory): never treat a reserved MAC as device identity\u201D; \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): dialyzer wave 2 \u2014 SPIFFE/gRPC, MapSet opacity, identity types\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/identity/mac.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3201a3a9c19c7b6d6cecea787242fc796d7ed726705332a04ebdd8e2f77e867b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/canonical_rebuild.ex: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/canonical_rebuild.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is CanonicalRebuild.run_canonical_rebuild at line 182), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cno-mistakes(review): align canonical edge set across Dgraph writers; fix BUILD syntax\u201D; \u201Cfix(topology): serialize canonical telemetry writes\u201D; \u201Cfix(topology): stop the recurring TopologyStateCleanupWorker 60s timeout\u201D; \u201Cfix(core): canonical topology starvation guard \u002B honest self-heal escalation (#4378)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/canonical_rebuild.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/canonical_rebuild.ex"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a2810e827a3370e0886627bcd3985c18b70e07d077fe4606ca66d82a403883"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_tab_runtime.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_tab_runtime.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is DeviceTabRuntime.resolve_active_tab at line 54), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): keep device Interfaces table across refreshes\u201D; \u201Cfix(farm01): address post-roll UI and ingest bugs\u201D; \u201CFix device detail loading and anomaly lifecycle UX\u201D; \u201Cfix(web-ng): non-destructive device refresh on device_updated broadcasts \u002B debounce (#4409)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_tab_runtime.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/device_tab_runtime.ex"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a99afc93b116ee96ad867274c90008396b39bcb9e1af2d3ca1236e7cb3eb0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/git_catalog_sync_worker.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/git_catalog_sync_worker.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is GitCatalogSyncWorker.ingest_playbooks at line 261), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(serviceradar_core): avoid eager temp lookup for Ansible catalog cache\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/git_catalog_sync_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/git_catalog_sync_worker.ex"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97f0273ac1270b9e9e9e8ffb8602fd81b54ee45b4bb32d69626ca8d7738c26a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex: elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is SweepMonitorWorker.perform at line 90), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(oban): stop self-scheduling worker churn from dedup-on-:executing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/sweep_jobs/sweep_monitor_worker.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"33657a440c697e82b243b78f322a4640918f81ea7188788644a37fb0ce05cc0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex: elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is RemoteConsoleTargetResolver.build_guest_target at line 155), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(remote-access): unbreak SSO certificate connect and legacy Proxmox console\u201D; \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): reject non-numeric controller origin ports after URI rewrite\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/remote_console_target_resolver.ex"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec0cf51aba7a0feadfb29a370df87c13ea8608e5da9d08dfeb4783c4a418644"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/outbound_mail.ex: elixir/serviceradar_core/lib/serviceradar/outbound_mail.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is OutboundMail.config at line 249), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(plugins): keep camera secrets on credential rules\u201D; \u201Cfix(mail): load OS CA certs for SMTP TLS on OTP 26\u002B\u201D; \u201Cfix(farm01): address post-roll UI and ingest bugs\u201D; \u201Cfix(notifications): optional email cc/bcc and Settings \u003E Mail warning\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/outbound_mail.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/outbound_mail.ex"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5980b66f1ff9314a20395765b70e6b0f5507ca0f3120378cbf2026f1be71f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/addon_config_contract_fixtures.ex: elixir/serviceradar_core/lib/serviceradar/plugins/addon_config_contract_fixtures.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is AddonConfigContractFixtures.rendered_config_json at line 251), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(agent): carry dpi and device_bindings from the netprobe add-on config\u201D; \u201Cfix(core): add the required nats.tls block to otel-collector fixture params\u201D; \u201Cfix(lint): repair \u0060make lint-elixir\u0060, then fix everything it found\u201D; \u201Cfix: stabilize core contract coverage\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/addon_config_contract_fixtures.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_config_contract_fixtures.ex"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb80c7a7a4ab3c3bd0c29cb32b27afa3539bf5b00b7aa458b650b28f3457a44"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/policy_assignment_reconciler.ex: elixir/serviceradar_core/lib/serviceradar/plugins/policy_assignment_reconciler.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is PolicyAssignmentReconciler.assignment_matches_spec? at line 306), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(security): harden remote access automation boundaries\u201D; \u201Cfix(edge): make config push version-aware so dependency writes don\u0027t restart plugins\u201D; \u201Cfix(credentials): stop credential-broker grant re-mint from churning assignments\u201D; \u201Cfix(ansible): address AWX inventory-sync review \u2014 agent-scoped retraction \u002B resilience\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/policy_assignment_reconciler.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/policy_assignment_reconciler.ex"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd154de8a5ca00dcc85b9e4b0afafac92628066ce483f85ed59f078b43ab874"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/provider_source.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/provider_source.ex changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is ProviderSource.reload at line 61), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): prune inactive provider CIDR snapshots and skip unchanged trie reloads\u201D; \u201Cfix(core): prevent prefix tag trie reload storms\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D; \u201Cfix(prefix-tags): re-review findings 35-41 on PR #4642\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/provider_source.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/provider_source.ex"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5108a175effcbd1b63d4e546dff49ddfbeda9467028473d7df350a2216ab6f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex: elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is SRQLRunner.query_page at line 31), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(srql): decode StarRocks event documents into CNPG\u0027s shape\u201D; \u201Cno-mistakes(review): Fix index clause order; centralize rollup freshness gate\u201D; \u201Cno-mistakes(review): Fix entity routing, StarRocks guards, metric value defaults\u201D; \u201Cno-mistakes(review): Route background SRQL reads through Readers; fix stale tests\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/srql_runner.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1f4211544befa8930dacac4a68f5aa8e0d3e2f9627ae91feea2914569ebb08"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/cold_tier/registry.ex: elixir/serviceradar_core/lib/serviceradar/cold_tier/registry.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is Registry.enabled? at line 366), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cno-mistakes(ci): Fixed BazelCI (PR-caused, 1 registry entry). RustSec audit is external to this PR; no code change warranted. **BazelCI \u2014 PR-caused, fixed.** Invocation 029d7add: build passed; the integration wave failed exactly one of 12 targets, \u0060//elixir/serviceradar_core:integration_tests_async\u0060 (886 tests, 1 failure). Pulled child invocation f86e5447\u0027s log from the BuildBuddy API; the single failure is \u0060ServiceRadar.ColdTier.RegistryDriftTest\u0060: \u0060\u0060\u0060 ocsf_network_activity: columns exist in the database but not in the cold schema registry (update ServiceRadar.ColdTier.Registry in the same change as the migration): [\u0022flow_uid\u0022] \u0060\u0060\u0060 Root cause: this PR added \u0060priv/repo/migrations/20260919120000_add_flow_uid_dedup_key.exs\u0060, which runs \u0060ALTER TABLE platform.ocsf_network_activity ADD COLUMN IF NOT EXISTS flow_uid text\u0060, without updating that table\u0027s entry in \u0060ServiceRadar.ColdTier.Registry\u0060 \u2014 the source of truth for the cold-tier export projection, whose moduledoc requires migrations altering a registry table to update the entry in the same change, enforced by this very test. Two earlier columns (\u0060source_ip\u0060, \u0060src_prefix_tags\u0060) carry comments recording the same omission caught before. Fix: one column tuple appended at elixir/serviceradar_core/lib/serviceradar/cold_tier/registry.ex:321 \u2014 \u0060{\u0022flow_uid\u0022, \u0022text\u0022, :none}\u0060 \u2014 where the earlier late-added groups sit, with a 3-line comment naming the migration. \u0060text\u0060 maps to udt \u0060text\u0060 and exports as-is, hence \u0060:none\u0060. Deliberately NOT a tiebreaker: the migration\u0027s unique index is partial on \u0060flow_uid IS NOT NULL\u0060, so pre-migration rows carry no identity. Blast radius checked, not assumed: \u0060Verification.checksum_columns/1\u0060 has a hard-coded clause for this table (verification.ex:32), so the appended column cannot shift the checksum projection \u0060verification_test.exs\u0060 asserts exactly; web-ng\u0027s \u0060StorageUsage\u0060 uses only \u0060table_names/0\u0060 and \u0060schema/0\u0060, never columns; of the four new migrations on this branch only this one alters a registry table, and \u0060ocsf_network_activity\u0060 is the registry\u0027s last entry, so the aborting assert masked no later drift. Verified against a real database \u2014 scratch DB on the srql-fixtures CNPG cluster per the \u0060srql-fixtures-db-tests\u0060 skill, all migrations replayed on an empty database (exit 0, \u0060flow_uid\u0060 confirmed added): - Fail-before: with the line removed the test reproduced the CI assertion verbatim \u2014 13 tests, 1 failure. - Pass-after: 13 tests, 0 failures; whole \u0060test/serviceradar/cold_tier/\u0060 directory 22 tests, 0 failures. - \u0060bazel test -c opt --config=remote //elixir/serviceradar_core:all --test_tag_filters=-integration_test,-acceptance_test,-benchmark\u0060 \u2192 18/18 pass (dac8a970). \u0060unit_tests_serviceradar_other\u0060 was FLAKY (passed on retry); its failures are \u0060OtelLogsExporterTest\u0060/\u0060AdmissionLaneTest\u0060 timing cases, unrelated. - \u0060mix compile\u0060 and \u0060mix format --check-formatted\u0060 clean. Scratch DB dropped, temp credentials removed. **RustSec audit \u2014 external, no code change.** RUSTSEC-2026-0286 against cryptoki 0.12.0, reached only via \u0060rust/rdp-connector-probe\u0060 \u2192 \u0060ironrdp-connector =0.10.0\u0060 \u2192 \u0060sspi 0.21.1\u0060. The job audits only that detached crate\u0027s own lockfile; its tree hash is byte-identical at base and head (\u0060dceeb5139edc7178c533ba12f1b8e5bf017eac9d\u0060), and \u0060MODULE.bazel\u0060/\u0060rust/rdp-adapter/\u0060 are untouched. The audit\u0027s entire input is unchanged \u2014 the only variable is the advisory DB re-cloned each run. The advisory is dated 2026-09-16; staging\u0027s last rust-checks run was 2026-09-16T15:25 on base commit e2827cf9 and succeeded, before the advisory entered the DB, so staging fails today too. Both remedies are out of scope and a dependency-posture call for the probe\u0027s owner. The workflow already documents two accepted advisories in this same forced sspi/scard subtree (RUSTSEC-2023-0071, RUSTSEC-2023-0089) \u2014 cryptoki is the PKCS#11 smart-card machinery that note covers. Recommended: a third documented \u0060--ignore RUSTSEC-2026-0286\u0060, or bump to cryptoki \u003E=0.12.1\u201D; \u201Cfix(cold-tier): register the four prefix-tag columns on ocsf_network_activity\u201D; \u201Cfix(cold-tier): register logs.source_ip, missing from the cold schema\u201D; \u201Cfix(cold-tier): review P1s \u2014 fail-open drop gate, boundary regression, missing-object, destructive default, routing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/cold_tier/registry.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/cold_tier/registry.ex"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a96e3ea327020fa6a26c4718fe038caae3e698fa3581ba6b147b33fbde94eab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/stats.ex: elixir/web-ng/lib/serviceradar_web_ng_web/stats.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Stats.merge_event_stats at line 1010), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(observability): restore MTR retention and event trend cards\u201D; \u201Cfix(observability): restore log severity rollups\u201D; \u201Cfix(web-ng): annotate static event summary queries\u201D; \u201Cfix(web-ng): include current events in severity stats\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/stats.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/stats.ex"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e2562ea312bb25c4532ec2678572194663c645b2984de98c316abe238f8b7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/retention_worker.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/retention_worker.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is RetentionWorker.perform at line 56), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(ansible): specify :read action on PlaybookRun reads (no primary read action)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/retention_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/retention_worker.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c322b617a9eb4b464c37763e90f1202673702534b638c1dbce93f5185f50e83"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex: elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is EndpointVulnerabilityMatchWorker.ensure_scheduled at line 28), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(oban): stop self-scheduling worker churn from dedup-on-:executing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/endpoint_vulnerability_match_worker.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85b180165cb1da8328bc0ca1302cb0030ca9028c583d2c4e70559b534df6843"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/http/egress_proxy.ex: elixir/serviceradar_core/lib/serviceradar/http/egress_proxy.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is EgressProxy.parse at line 37), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(serviceradar_core): use egress proxy for advisory feed downloads (#4402)\u201D; \u201Cfix(deps): align req on 0.7.3 across every project that embeds core\u201D; \u201Cfix(core): stop Req Finch default from crashing Bumblebee s7\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/http/egress_proxy.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/http/egress_proxy.ex"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c25fc2d3a36b5ae4892176149b0283156f81068fff7c9aa2ad933bf3e6f146c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/assets/js/lib/srql/monaco_srql.js: elixir/web-ng/assets/js/lib/srql/monaco_srql.js changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is explicitRangeForError at line 450), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix negated SRQL field filters flagged unknown in editors (#364)\u201D; \u201Cfix(web-ng): stop underlining downsample/stats tokens as unknown\u201D; \u201Cfix(web-ng): SRQL editor autocompletes fields, operators, and known values\u201D; \u201Cfix(web-ng): interface charts UX \u2014 drop capacity line, responsive grid, latest filter, stop remount\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/srql/monaco_srql.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/srql/monaco_srql.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f6b0982252e1f543c67c75f6aa00aff7138ffcd0479663a296a24303404b5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/event_writer/device_correlation.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/device_correlation.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is DeviceCorrelation.snmp_interface_metric_candidate at line 115), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): correct identifier lookups and Dialyzer contracts (#358)\u201D; \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): dialyzer wave 2 \u2014 SPIFFE/gRPC, MapSet opacity, identity types\u201D; \u201Cfix: stabilize anomaly semantics and capacity forecasts\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/device_correlation.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/device_correlation.ex"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a10de6e99183d1af96a87e0bd461c87ea2afd159e60a3d2ca4ed83e5d502c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng/observability/signal_display.ex: elixir/web-ng/lib/serviceradar_web_ng/observability/signal_display.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SignalDisplay.falco_runtime_event? at line 486), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): restore Dialyzer quality contract and correct runtime errors (#356)\u201D; \u201Cfix(proxmox): deliver server_cert_fingerprint end-to-end for CA-less verify\u201D; \u201Cfix(plugins): align display contract revisions\u201D; \u201Cfix(web-ng): close observability timestamp gaps\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/observability/signal_display.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/observability/signal_display.ex"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade33e007a917e7974de3fb0670d16a49f687b0fbb9c896bfb68b542d1e0f712"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/identity/role_profile_policy.ex: elixir/serviceradar_core/lib/serviceradar/identity/role_profile_policy.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is RoleProfilePolicy.delete_in_transaction at line 109), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(rbac): lock direct profile references\u201D; \u201Cfix(rbac): clear profile assignments before deletion\u201D; \u201Cfix(rbac): repair guarded policy database tests\u201D; \u201Cfix(identity): set boundary context before validation\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/identity/role_profile_policy.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/identity/role_profile_policy.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9662530ef2ecb587f9c4732c581e8deaa8e20f3034969d2898582fcf7b1e1aa4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns_settings.ex: elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns_settings.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is DeviceHostnameRdnsSettings.validate_srql at line 369), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(inventory): exhaust reverse DNS cohorts in batches\u201D; \u201Cfix(oban): let the rDNS worker read settings without an actor\u201D; \u201Cfix(inventory): select the rDNS cohort with a configurable SRQL query\u201D; \u201Cfix(oban): enqueue the rDNS scheduler, not the worker\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns_settings.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/device_hostname_rdns_settings.ex"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecd6668ca08180747f62937cc9c03ca0eebeedbd035cc464a0038351d33cfe4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/addon_package.ex: elixir/serviceradar_core/lib/serviceradar/plugins/addon_package.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is AddonPackage.guard_original_state at line 375), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: close native add-on sync race gaps\u201D; \u201Cfix: harden native add-on sync reuse\u201D; \u201Cfix: harden netprobe attribution delivery\u201D; \u201Cfix(addons): accept :resources on AddonPackage create/update so first-party imports work\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/addon_package.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_package.ex"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c9bafd489ed35fb740ee635a6bec480fd10b02431ad535859d39c98f6ebe4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/assets/js/hooks/DialogTopLayer.js: elixir/web-ng/assets/js/hooks/DialogTopLayer.js changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is _resolveReturnFocus at line 118), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): preserve modal focus across LiveView patches\u201D; \u201Cfix(web-ng): keep focus in device breakdown filter search\u201D; \u201Cfix(web-ng): dismiss dialog modals on outside click\u201D; \u201Cfix(web-ng): lift modals above ops sidebar with dialog top layer\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/DialogTopLayer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DialogTopLayer.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a2bb0f795b8d48b8dc4d2fd3ecb8cecae8a3a51f3c76ecd7c046904293d162"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex: elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Table.sort_results at line 220), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web): preserve non-nil table timezones\u201D; \u201Cfix(web): default dashboard tables to UTC\u201D; \u201Cfix(web-ng): complete observability timestamp localization\u201D; \u201Cfix: remove stale otel denylist wiring\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/dashboard/plugins/table.ex"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0941bf63009f8b301d9de08aee97c6e51953ef16f4f922cbc6fee9ee6533d301"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/data/mtr.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/data/mtr.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is Mtr.overlay_definitions at line 11), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mtr): separate dashboard metric availability\u201D; \u201Cfix(mtr): deduplicate dashboard endpoints\u201D; \u201Cfix(mtr): use destination metrics on dashboard\u201D; \u201Cfix(observability): restore MTR retention and event trend cards\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/data/mtr.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/data/mtr.ex"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c52daea505629517fc827a109ed8ba0cd75880f65c477ffc8e128ad24b9a33d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/public_endpoints_live/index.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/public_endpoints_live/index.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Index.handle_params at line 28), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): make the global SRQL reset restore route baseline (#4114) (#4121)\u201D; \u201Cfix(security): clear seven hex advisories, two of them HIGH\u201D; \u201Cfix(lint): repair \u0060make lint-elixir\u0060, then fix everything it found\u201D; \u201Cfix(web-ng): avoid String.trim/1 in LiveView handle_params guard\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/public_endpoints_live/index.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/public_endpoints_live/index.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec186adb70b671ec04edfa74845969c6c1a5f880f2bf2f1b47ceeeeab815d7ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/data.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/data.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Data.load_mapper_job at line 202), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(sweep): name the history a sweep group delete discards\u201D; \u201Cfix(web): complete sweep assignment metadata\u201D; \u201Cfix(networks): centralize selected picker state\u201D; \u201Cfix(sweeps): persist last run and stop ARP/Discord save failures\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/data.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/data.ex"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"449ac8f33071af4f2f00a49b010aab31a99c61441727fb26a417a2cba7a68d7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/groups.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/groups.ex changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Groups.handle_event at line 13), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(sweep): let an operator delete a sweep group that has run\u201D; \u201Cfix(web): complete sweep assignment metadata\u201D; \u201Cfix(sweep): order concurrent run-now fanout\u201D; \u201CFix farm runtime integration paths\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/groups.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/event_handlers/groups.ex"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cdeaa66222c519b5c19b9730ea3d646efe4e9d6e1b92e9b69dbc0a9e1f444f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is NetflowInterfaceCacheRefreshWorker.ensure_scheduled at line 44), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(oban): stop self-scheduling worker churn from dedup-on-:executing\u201D; \u201Cfix: netflow drop telemetry, ocsf index migration lock attrs, testifylint\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_interface_cache_refresh_worker.ex"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4cf240da4490bb5c4ca58bd1ae05d1218f1b4695e7979a0ef13b57dcd7418a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is NetflowOuiDatasetRefreshWorker.parse_oui_csv_rows at line 147), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(oban): preserve dataset refresh cadence\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/netflow_oui_dataset_refresh_worker.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bb1b430f257dbfde574a8f619b2293f7674ffcf8a354feb8fe305df53a53c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex: elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ReleaseArtifactMirror.stream_download at line 222), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core-elx): register the object store retention cron, and report a full object store usefully (#403)\u201D; \u201Cfix(serviceradar_core): restore release imports through CONNECT proxies (#4388)\u201D; \u201Cfix(deps): align req on 0.7.3 across every project that embeds core\u201D; \u201Cfix(edge): import GitHub agent releases after draft untagged URLs 404\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/release_artifact_mirror.ex"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1625c279117fb0ab96bbd5036fc8bcede536b957aef592f90bb716a5fd1a49"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/admission/lane.ex: elixir/serviceradar_core/lib/serviceradar/admission/lane.ex changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Lane.handle_caller_exit at line 211), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): compact canceled admission jobs\u201D; \u201Cfix(core): close admission restart races\u201D; \u201Cfix(core): harden admission termination lifecycle\u201D; \u201Cfix(core): isolate retained status admission\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/admission/lane.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/admission/lane.ex"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"382ba3f197431837406d1e232de6b92deae3feb749e849ededa0edc50749aa36"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/assets/js/lib/god_view/renderer_deps.js: elixir/web-ng/assets/js/lib/god_view/renderer_deps.js changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is buildLayoutDeps at line 122), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix managed topology label and focus regressions\u201D; \u201Cfix(topology): enforce authoritative ELK scene geometry\u201D; \u201Cfix(topology): keep managed scene glyphs feasible\u201D; \u201Cfix(topology): refresh labels on camera changes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/renderer_deps.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/renderer_deps.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1500a068938c57c3ab78687e46b753ea97e92abe8ad64c6e3961f44bcdea78"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is MtrData.window_summary at line 506), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mtr): deduplicate device destination samples\u201D; \u201Cfix(mtr): compare destination metrics by window\u201D; \u201Cfix(mtr): omit unavailable destination latency\u201D; \u201Cfix(mtr): expose destination observations for recent traces\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/diagnostics_live/mtr_data.ex"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ed2ecadf0dce9c19db7801efe0a95dc0d1a24c3412a2bb36b6477c5e502d55"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/identity/device_lookup.ex: elixir/serviceradar_core/lib/serviceradar/identity/device_lookup.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is DeviceLookup.normalize_key_entry at line 289), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(identity): never resolve an IP to a tombstone when a live device shares it\u201D; \u201Cfix(identity): do not serve a cached device from another partition\u201D; \u201Cfix(inventory): lockstep interface PK and fail-closed link-local readers\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/identity/device_lookup.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/identity/device_lookup.ex"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d743ca2f18a8c991a1250c22f311b4616eb3307c58014d78c4cb7cb7ea9352eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/dgraph_persist.ex: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/dgraph_persist.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is DgraphPersist.canonical_edge_from_row at line 197), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cno-mistakes(document): document Dgraph rollout surfaces; fix Elixir formatter drift\u201D; \u201Cno-mistakes(review): fix Dgraph ACL job tmp, URL redaction, hop edges, CA mount\u201D; \u201Cno-mistakes(review): fix Dgraph link-key collisions, checksum identity, prune scope, and ACL credentials\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/dgraph_persist.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/dgraph_persist.ex"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bba22e239e4086aa61c38307f0581076993df7bd1c61ca3771fde8e6acde826"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/lifecycle_seed_worker.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/lifecycle_seed_worker.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is LifecycleSeedWorker.ensure_scheduled at line 16), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(ansible): address AWX inventory-sync review \u2014 agent-scoped retraction \u002B resilience\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/lifecycle_seed_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/lifecycle_seed_worker.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bcaa9fbe91f3ae254c1b4e6231df34a6bfcb81f992c45784104dddcc1d0357"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/schedule_evaluator_worker.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/schedule_evaluator_worker.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ScheduleEvaluatorWorker.evaluate_schedule at line 176), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/schedule_evaluator_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/schedule_evaluator_worker.ex"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9828e53ff928a4a9981545c954cca7a17d50fafac82ac0f0cda11fbc5e64c87f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex: elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is AgentCommandCleanupWorker.expire_stale_commands at line 135), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/edge/agent_command_cleanup_worker.ex"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b30f87e79bd9cfd3a2c2f9126f3e1db60989c802744b33361d97b7f6541f7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/identity/cli_auth_cleanup_worker.ex: elixir/serviceradar_core/lib/serviceradar/identity/cli_auth_cleanup_worker.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is CliAuthCleanupWorker.expire_pending_device_authorizations at line 101), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/identity/cli_auth_cleanup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/identity/cli_auth_cleanup_worker.ex"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e472e341a17ebf0b162c680248206ceaaa4296bf30aa47a4998db84d3781d36"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_cleanup_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_cleanup_worker.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is StatefulAlertCleanupWorker.cleanup_stale_states at line 94), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_cleanup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/stateful_alert_cleanup_worker.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3743fbaac310413204a11436b350bfd7e89e83a23ac7d3a5bb9add46b1392c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex: elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is PluginTargetPolicyReconcileWorker.ensure_scheduled at line 23), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(oban): preserve self-scheduling worker successors\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/plugin_target_policy_reconcile_worker.ex"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a95dd31872f3b2082a9afe1969d6b3d346ba406b11690edab31aaa33d3db34b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/providers/alien_vault_otx.ex: elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/providers/alien_vault_otx.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is AlienVaultOTX.fetch_page at line 27), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(deps): align req on 0.7.3 across every project that embeds core\u201D; \u201Cfix(otx): stream uncapped indicator pages safely\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/providers/alien_vault_otx.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/threat_intel/providers/alien_vault_otx.ex"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecaeb470da1f95dea0b808bfa2b145ba38548a0d0579bf49df00b39efcb2421"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/camera/relay_session_manager.ex: elixir/serviceradar_core/lib/serviceradar/camera/relay_session_manager.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is RelaySessionManager.do_open_session at line 35), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(camera): do not reuse active relay sessions with expired leases\u201D; \u201Cfix(camera): reuse one edge relay session per camera profile\u201D; \u201Cfix: close camera relays from owning core only\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/camera/relay_session_manager.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/camera/relay_session_manager.ex"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca864f97ab0f971293724328523de0d318f9a0c7744cceceef2fd6b6bcd2143"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/config.ex: elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/config.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Config.source at line 119), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(advisory-feeds): the VulnCheck credential comes from the store or not at all\u201D; \u201Cfix(vulnerability): make package matching distro aware\u201D; \u201Cfix: restore vulnerability feed credentials\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/config.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/inventory/advisory_feeds/config.ex"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd5bbb1151f4929ab8b6816e4f7e64f2496802356acb410dd25d43df2ac04f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/utils.ex: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/utils.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Utils.default_relation_family_for_payload at line 277), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): align favorite/drill-down interface charts and restore topology traffic particles\u201D; \u201Cfix: stabilize anomaly semantics and capacity forecasts\u201D; \u201Cfix: remove stale otel denylist wiring\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/utils.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_graph/utils.ex"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"598104c94dec87e8acafad157ec38f4195a7cdf4bdbab9551f2c35d944ecad2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/resolve_stale_anomalies_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/resolve_stale_anomalies_worker.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is ResolveStaleAnomaliesWorker.perform at line 51), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix: remove stale otel denylist wiring\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/resolve_stale_anomalies_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/resolve_stale_anomalies_worker.ex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a2e9642f533a60585143bd8be95cdf4045d46630ed4caea3ee6be7d2540fe2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/assets/js/lib/god_view/topology_scene_graph.js: elixir/web-ng/assets/js/lib/god_view/topology_scene_graph.js changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is relations at line 159), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(god-view): expand clusters inside the radial atlas and connect their members (#4065)\u201D; \u201Cfix(topology): enforce authoritative ELK scene geometry\u201D; \u201Cfix(topology): refresh managed scene semantics\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/lib/god_view/topology_scene_graph.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/topology_scene_graph.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5499046b069de4f4fc11b8b84d96ed3e4abc2a5f85c6291473cbf7ef7d52be7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng/dashboards/group_access.ex: elixir/web-ng/lib/serviceradar_web_ng/dashboards/group_access.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is GroupAccess.mutate_visible_target at line 160), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): restore RBAC editor CI quality\u201D; \u201Cfix(rbac): resolve policy editor final review regressions\u201D; \u201Cfix(dashboards): repair group access boundary actions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng/dashboards/group_access.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng/dashboards/group_access.ex"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c2c2dbaa095b7a017d3445f4c55f200a8582fc7d18faeb69c457d85b80781d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/series.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/series.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Series.normalize_metric_results at line 38), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): address CPU chart review nits\u201D; \u201Cfix(web-ng): make CPU core drilldown readable\u201D; \u201Cfix(web-ng): simplify CPU timeseries view\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/series.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/device_live/sysmon_metrics/series.ex"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1c39925bccc02a70fdb3faeadbe2df01e45869f64d6a1582bf2a93fa040c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Actions.apply_action at line 44), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web): complete sweep assignment metadata\u201D; \u201Cfix(networks): verify bounded picker lifecycle\u201D; \u201Cfix(web-ng): knock out farm01 settings/SRQL/onboarding bugs\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/networks_live/index/actions.ex"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d3d3fa9b7489965dcf7e125c952427c224a0b5842471fceb08fde03fd0c845"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live/dashboard_audience.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live/dashboard_audience.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is DashboardAudience.resolve_row at line 100), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): restore RBAC editor CI quality\u201D; \u201Cfix(rbac): resolve policy editor final review regressions\u201D; \u201Cfix(web-ng): preserve dashboard audience on refresh\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live/dashboard_audience.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/settings/rbac_live/dashboard_audience.ex"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f76671403a055bc0cab4f8fbd212a2c95134e643db9fb5a8a25fe3df8653941"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/stats/query.ex: elixir/web-ng/lib/serviceradar_web_ng_web/stats/query.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Query.logs_severity_data_query at line 94), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(observability): stop Falco Critical from filling the Fatal card\u201D; \u201Cfix(observability): restore log severity rollups\u201D; \u201Cfix(web): make security findings actionable\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/stats/query.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/stats/query.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3877959a404adc501997af9df65c7555a68d48eaeaefb4b988d6dc0dd5bea50a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/network_discovery/runtime_topology_projection.ex: elixir/serviceradar_core/lib/serviceradar/network_discovery/runtime_topology_projection.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is RuntimeTopologyProjection.projection_attrs at line 338), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cno-mistakes(review): align canonical edge set across Dgraph writers; fix BUILD syntax\u201D; \u201Cfix(topology): enforce authoritative ELK scene geometry\u201D; \u201Cfix(topology): project inferred-segment attachments, spiral cluster layout, concurrent expansion\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/network_discovery/runtime_topology_projection.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/runtime_topology_projection.ex"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33ead118c65fa9fce6f593f4c6fb5e25045ab3f59363795c69be3b678174bc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/metric_consumers.ex: elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/metric_consumers.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is MetricConsumers.snmp_present? at line 28), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cno-mistakes(review): Fix sparkline grain and pair filter; bound index build\u201D; \u201Cno-mistakes(review): Scope attributed flows, fix buckets, thread warehouse database\u201D; \u201Cno-mistakes(review): Fix topology metric semantics and per-dataset StarRocks retention\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/metric_consumers.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/metric_consumers.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"329ff1bd0f5f92260e2fd86ae1bf8ad3a1b01ca1370ef22f20a3181200842c64"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_state_cleanup_worker.ex: elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_state_cleanup_worker.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is TopologyStateCleanupWorker.maybe_recover_canonical_rebuild at line 80), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(core): canonical topology starvation guard \u002B honest self-heal escalation (#4378)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_state_cleanup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/network_discovery/topology_state_cleanup_worker.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba0364613dc760644fecbf92623d502fc85d9c800315b382c5fbce6903c347e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_cleanup_worker.ex: elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_cleanup_worker.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is IpEnrichmentCleanupWorker.prune_resource at line 73), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix: restore staging quality checks\u201D; \u201Cfix(oban): stop self-scheduling worker churn from dedup-on-:executing\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_cleanup_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/observability/ip_enrichment_cleanup_worker.ex"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed70daa56869e20dc29b983f7c48cf6203fe92c7ef80bfcaf7da56c1aad53786"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/addon_update_policy_backfill_worker.ex: elixir/serviceradar_core/lib/serviceradar/plugins/addon_update_policy_backfill_worker.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is AddonUpdatePolicyBackfillWorker.perform at line 105), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jobs): match Oban worker names the way Oban stores them (#455)\u201D; \u201Cfix(plugins): cast Oban unique states to strings in backfill dedupe query\u201D; \u201Cfix(addons): defer rollout policy backfill\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/addon_update_policy_backfill_worker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_update_policy_backfill_worker.ex"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e60f85d3ea3ba832509013e98b07cc4ed9d478346bb9cbb31c112996790c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/http/egress_client.ex: elixir/serviceradar_core/lib/serviceradar/http/egress_client.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is EgressClient.download_to_file at line 116), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(serviceradar_core): send external fetches through EgressClient, not the proxied Finch pool (#389)\u201D; \u201Cfix(serviceradar_core): use egress proxy for advisory feed downloads (#4402)\u201D; \u201Cfix(serviceradar_core): restore release imports through CONNECT proxies (#4388)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/http/egress_client.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/http/egress_client.ex"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"af92eb4731eab067174aa1526eee61c22a4b1f787506cfd3f2e3656d1a1431f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_registry_proxy.ex: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_registry_proxy.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is AgentRegistryProxy.handle_call at line 58), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: harden retained stream lifecycle\u201D; \u201Cfix: scope retained delivery negotiation\u201D; \u201Cfix: make retained status acknowledgements truthful\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_registry_proxy.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/agent_registry_proxy.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"230c585badd5141a130d21bddd2d2b3f8298be2a649f1df8013d64e467e66ccd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/application.ex: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/application.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Application.edge_server_ssl_opts! at line 240), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make retained status acknowledgements truthful\u201D; \u201Cfix(agent-gateway): buffer stream forward failures\u201D; \u201Cfix(security): harden remote access automation boundaries\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/application.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/application.ex"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6044945320d680938017b0bf4dc412ed2d78be20efe8484844ebe9f549580d21"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex: elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is CameraMediaSessionTracker.handle_call at line 117), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(gateway): do not call Process.alive?/1 on remote core ingress PIDs\u201D; \u201Cfix(gateway): reap expired camera relay sessions\u201D; \u201Cfix: restore staging quality checks\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_agent_gateway/lib/serviceradar_agent_gateway/camera_media_session_tracker.ex"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6806b5cd921dcebe15d7086ab395245a23ff75a9478f2bdf6ad7f18b459141"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/admission/flow_lane.ex: elixir/serviceradar_core/lib/serviceradar/admission/flow_lane.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is FlowLane.start_link at line 25), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): close admission restart races\u201D; \u201Cfix(core): harden admission termination lifecycle\u201D; \u201Cfix(core): isolate retained status admission\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/admission/flow_lane.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/admission/flow_lane.ex"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd8afcc1c2efb3d677d5dd9a73128a2f4ffdeeaf0406c3789a70157ff23d90d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/admission/retained_plugin_lane.ex: elixir/serviceradar_core/lib/serviceradar/admission/retained_plugin_lane.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is RetainedPluginLane.start_link at line 25), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(core): close admission restart races\u201D; \u201Cfix(core): harden admission termination lifecycle\u201D; \u201Cfix(core): isolate retained status admission\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/admission/retained_plugin_lane.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/admission/retained_plugin_lane.ex"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7edc865bbbb7ad51b5cf84294b0055709bbaafc099db8ea8e66ec4b032990"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is FileCallbackResponsePolicyProvider.current_review at line 439), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert: undo dialyzer PR #4677 churn on serviceradar_core\u201D; \u201Cfix(core): cut dialyzer baseline by fixing URI/MapSet opacity cascades\u201D; \u201Cfix: provide reviewed automation callback policy\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/file_callback_response_policy_provider.ex"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb6a2e1787a9bd2dfccb12980e78457791132f131d7efa3cec08b0f48b0f917"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_launcher.ex: elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_launcher.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is RunLauncher.validate_intent at line 40), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ansible): retire unsafe legacy launch path\u201D; \u201Cfix(edge): stop folding download_token_epoch into the config version hash\u201D; \u201Cfix(ansible): make AWX-synced devices launchable \u002B drop bogus dispatch capability gate\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_launcher.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/automation/ansible/run_launcher.ex"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"225e34a2fe8951c259e52eb4ee84dc736b0ef1c9da5cb21f3a55706aadeb08a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/event_writer/consumer_lag_reporter.ex: elixir/serviceradar_core/lib/serviceradar/event_writer/consumer_lag_reporter.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is ConsumerLagReporter.consumer_refs at line 41), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(netflow): finish ingest isolation hardening\u201D; \u201Cfix(netflow): address PR 4909 re-review at 128f3f1c\u201D; \u201Cfix: retire standalone JetStream dependency\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/event_writer/consumer_lag_reporter.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/consumer_lag_reporter.ex"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9065ca20a37f1480a918dd1edbe97829f98015827f8dda689593c80a70acca16"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_ops.ex: elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_ops.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is AddonProfileOps.reconcile_by_id at line 23), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(addons): persist failed profile reconciliation\u201D; \u201Cfix: harden netprobe attribution delivery\u201D; \u201Cfix(plugins): target agents not devices for add-on profile SRQL assignment\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_ops.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/plugins/addon_profile_ops.ex"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d834447884cd592cf103e114842a7dfe466399f38ccd80e58564c60295778658"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/serviceradar_core/lib/serviceradar/prefix_tags/registry.ex: elixir/serviceradar_core/lib/serviceradar/prefix_tags/registry.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is Registry.sources at line 80), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(prefix-tags): address follow-up review regressions\u201D; \u201Cfix(prefix-tags): resolve final PR review findings\u201D; \u201Cfix(prefix-tags): re-review findings at 68edd68 (ETS owner \u002B 7 medium)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/serviceradar_core/lib/serviceradar/prefix_tags/registry.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/prefix_tags/registry.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba68cb068ed347d193079ae29120fcf43fe8c10e0c7cacbc8a37b8d43e2d4a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/assets/js/hooks/SRQLTimeCookie.js: elixir/web-ng/assets/js/hooks/SRQLTimeCookie.js changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is extractTimeToken at line 36), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): make the global SRQL reset restore route baseline (#4114) (#4121)\u201D; \u201Cfix(web-ng): keep remembered time off device queries\u201D; \u201Cfix(web-ng): interface charts UX \u2014 drop capacity line, responsive grid, latest filter, stop remount\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/assets/js/hooks/SRQLTimeCookie.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/SRQLTimeCookie.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5773c49aadeb85d238bee47b6b2c54403a2ec9ae21625e25136a7a1bd665a62"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_url_policy.ex: elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_url_policy.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is OutboundURLPolicy.validate at line 13), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): use formatter-stable clause shape for GET/HEAD retry guard\u201D; \u201Cfix(web-ng): scope shared auth retry to GET/HEAD so POST token exchange keeps its single retry owner\u201D; \u201Cfix(web-ng): fail fast on outbound auth timeouts instead of Req retry backoff\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_url_policy.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/auth/outbound_url_policy.ex"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ad82bb0217258c6e75297f6680aebc3a4303f00d248533a6b1a8fd58f872d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/camera_panel.ex: elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/camera_panel.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is CameraPanel.camera_status_label at line 216), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(web-ng): put cameras on the trio row when the feed is on\u201D; \u201Cfix(web-ng): fill leftover dashboard tracks instead of leaving holes\u201D; \u201Cfix(web-ng): camera panel distinguishes inventory availability from stream operability (#4387)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-25..2026-09-23, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-25 21:37:36 -05:00\u0027 --until=\u00272026-09-23 21:37:36 -05:00\u0027 --full-history --no-merges -- elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/camera_panel.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/dashboard_live/index/camera_panel.ex"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeb9530c4ac6c5b2bdfe0eedf6b2d3059c8dc08cbc6e1f36f47293829b11be9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Load device-specific configuration from DB \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":"elixir/serviceradar_core/lib/serviceradar/actors/device.ex"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"79be42183ca9ef3fa186e1223a33389cc10d54cc5c3933232f30a56bbedb22d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Persist events to database \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":"elixir/serviceradar_core/lib/serviceradar/actors/device.ex"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb6d0b225be813e93d4b7b9e25b33e2fc5b804153a40def0cda0e7266e8b77d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Get from SPIFFE workload API \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":"elixir/serviceradar_core/lib/serviceradar/edge/agent_process.ex"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc3fa2e400ef067fe0c431c25c8b8c1e678e59080803fe39397ffe3fc80ebf0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Could be smarter about routing to the right gateway based on agent_uid \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":"elixir/serviceradar_core/lib/serviceradar/infrastructure/health_check_runner.ex"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"923aa97a9597dfc53430924538284153337af31e7896b8ee7dd3de2aa86a5ad7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(review): wire the resolver from the persistence caller \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":"elixir/serviceradar_core/lib/serviceradar/observability/metric_envelope.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeba5973beaf5c24c073d9d6100c1c63138dcef115969dcd8b9275191a91cdd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: revisit this i don\u0027t think we\u0027re doing status with the SNMP service like we do the others. \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":"go/pkg/agent/snmp/snmp_integration_test.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e403c63d535f4dadad01f839c7d51bb111bf3303473c57688c46d8276036cde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Query SPIFFE workload API if socket is available \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":"go/pkg/datasvc/core_registration.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a7909f2a0e7b707351e42f43d8ceff43f376638bdd5523483574b0bf6aebf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Determine if checker has dedicated SPIRE agent or shares with agent/gateway \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":"go/pkg/edgeonboarding/spire.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ab41334a69af4b192b92bd4727b90f8caed385d1581ec00a9ccfad732cbc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Generate actual SPIRE server config \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":"go/pkg/edgeonboarding/spire.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab053d7e9c2772e142040cb2a33b34521961291d62b016c56f6202d0341d602"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Generate actual SPIRE agent config \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":"go/pkg/edgeonboarding/spire.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1fc3f9d450fd03cf4bf93786dba57bf2247fab270c07133562288adbe64e49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement activation notification \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":"go/pkg/edgeonboarding/download.go"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabf650c9ba4685770e24700c9eaa98d04fa7d1309aad76d5205d34a0de61587"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement address resolution based on deployment type \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":"go/pkg/edgeonboarding/deployment.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"845566b9632c64cdfa3646b2d56a9a3830c19a208f755f0e6a048472ecb920f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract SPIRE addresses from package metadata \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":"go/pkg/edgeonboarding/deployment.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e9598a1c9849018fdb2573f8c73994cc9340c95ab0908d1c9cb950a3ebcd1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement rotation logic \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":"go/pkg/edgeonboarding/bootstrap.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"31771b23234703d09258a04348a19a27f3fbbab531d50d0fc57434a2e93cd5f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement proper detection logic \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":"go/pkg/edgeonboarding/bootstrap.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"342197556cc5ccb953286a9c94c6db6fa160fa3a375dbfc605944fa32107b52c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract from package metadata \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":"go/pkg/edgeonboarding/bootstrap.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af02729de3bdef0b8380eaed5ed71289d73e5f2024d3805d7d56788b24b6a28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement rotation info retrieval \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":"go/pkg/edgeonboarding/bootstrap.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d34982148df6154ad497428c85351a5853e794c4ffeb06499c9bc3cb9276ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Pass logger to this function or make it a method \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":"go/pkg/mapper/grpc.go"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"840d29cbf963f4597d6bdcab4b3ceacdaa1e01738e5ade0457d45ed56c52e06a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Pass logger to this function or make it a method \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":"go/pkg/mapper/grpc.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"12df5556e43671a49a341f573e5032b9b551254e3414da1b84f89ecb57dcdeb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double-tag (QinQ) variant or an auxdata-aware approach \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":"go/pkg/scan/syn_scanner_bpf.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"917ab1cad5ca64dac07810a91757ae5354211fbb37a215bb5ca0a582eff00e80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make configurable \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":"go/pkg/sysmon/collector.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a7a69e93589897c41fcd872707fdb7a268f9327435d501cda55d69dd58ef48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! verdicts. TODO(1.2\u20131.7): real hydration, delta-driven ticks, snapshot \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":"rust/correlation-engine/src/main.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd837d9e5db7e7a98d830da41f09178c21eacea05fa2bae8808712bbc943862"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(1.2b\u002B): a subscriber for the existing analytic subjects \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":"rust/correlation-engine/src/context_hydrator.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5573458565abfd88bbf46e9c57bdd15917fc4b84476bb80fe8183aa535c3202d"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent: Two distinct types (ArrowArrayHolderImpl and ImportArrayHolder) expose identical methods with identical signatures for constructing an ArrowColumn. These types appear to serve similar wrapper roles for Arrow data (one likely for internal implementation, one for C-Data import), yet they duplicate the public API surface for column construction.: Extract the getArrowColumn logic into a protocol or a static utility function on ArrowColumn to avoid duplicating the method across multiple holder types. (signatures: ArrowArrayHolderImpl.getArrowColumn(ArrowField, [ArrowArrayHolder]) throws -\u003E ArrowColumn | ImportArrayHolder.getArrowColumn(ArrowField, [ArrowArrayHolder]) throws -\u003E ArrowColumn)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2d28787727d968b8c37873c546725f29effd415874ee8dab4a58cc3b148e8085"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent return types for equivalent operations: ArrowArrayHolderImpl and ImportArrayHolder return [Data] directly, while ChunkedArrayHolder returns Result\u003C[Data], ArrowError\u003E. This forces consumers to handle errors differently depending on which holder type they are interacting with, despite the operation (getting buffer data) being conceptually the same.: Standardize the return type to Result\u003C[Data], ArrowError\u003E (or a similar error-handling wrapper) across all holder types, or ensure the non-error-returning variants never fail and document this clearly. (signatures: ArrowArrayHolderImpl.getBufferData: () -\u003E [Data] | ImportArrayHolder.getBufferData: () -\u003E [Data] | ChunkedArrayHolder.getBufferData: () -\u003E Result\u003C[Data], ArrowError\u003E)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"922810dbaf2e035bc63d365e9b341c4cc0fef65da0130134d141d0dcbaf0347f"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent return types for equivalent operations: Similar to getBufferData, the size retrieval method returns [Int] directly in some holders but Result\u003C[Int], ArrowError\u003E in ChunkedArrayHolder.: Standardize the return type to Result\u003C[Int], ArrowError\u003E across all holder types. (signatures: ArrowArrayHolderImpl.getBufferDataSizes: () -\u003E [Int] | ImportArrayHolder.getBufferDataSizes: () -\u003E [Int] | ChunkedArrayHolder.getBufferDataSizes: () -\u003E Result\u003C[Int], ArrowError\u003E)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c7fd6b842d8b8e284704e7d87413d1ba7a6dbbd70e28453034178b0d0f3cf98"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming for string conversion: While most arrays use asString, the presence of TimestampArray.formattedDate suggests a split in string representation strategies. More importantly, asString is used for both binary data (BinaryArray) and logical types (TimestampArray, NestedArray), which can be ambiguous. However, the primary inconsistency is that ChunkedArray also has asString, but it operates on a collection of arrays. If the intent is \u0027convert this specific element to string\u0027, the naming is consistent, but the semantic meaning of \u0027asString\u0027 varies wildly between Binary (hex/utf8?) and Timestamp (formatted date?).: Rename BinaryArray.asString to asStringOrHex (or similar) to distinguish it from logical type string representations, or provide a unified formatting protocol. (signatures: ArrowArray.asString(UInt): String | TimestampArray.asString(UInt): String | BinaryArray.asString(UInt): String | NestedArray.asString(UInt): String | ChunkedArray.asString(UInt): String)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"75702537662b9270957a765c1df3b4b89a6967171f9d79621b2765af0a8cb8ea"}},{"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":"3f23db5e5e8570bb04d59419fd62f6f4fae7962aa909f5a7437ea6b3891246f1"},"properties":{"commitSha":"87c0b5640178564570923daf28081b2c2a2a7452"}},{"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":"bc6fd5df71e093e12cf01712240e3aa072514764059517a2e0e2a01691886800"},"properties":{"commitSha":"43a7f5ff6c980a87dfaba5c2578e1f7dede2dd12"}},{"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":"9c5dadfeae04e964203432d02c22529ea10b083aa59e73f3b9cb6b131fafb0f9"},"properties":{"commitSha":"237da9175742d8f6cdeaa29ef7ea60cbf45bbdec"}},{"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":"c77b5ac0131055ed96234a852af93f171ac033288109fe80f6026b465f1ac5e3"},"properties":{"commitSha":"6d050c26522b129f3b56362c589b63dcab4c6097"}},{"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":"3b98ef9fdcaf3141d359f41bf9d71c9c0a94301e732ade3a01b9d6689767562f"},"properties":{"commitSha":"4dd529eee2b15da1bd8676ef906c9cd6b2c68493"}},{"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":"9f8d90435ba38adec4125fa0818939db334ed18b8ce722064c8ad70b27eb3d30"},"properties":{"commitSha":"cae6f742d9e5cb1c27fc51ec7ae5bdf0704ca5b7"}},{"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":"3210f51c0fa9e034425ac987a11484e256cc9f0d5d7ec0e7e88324f601742367"},"properties":{"commitSha":"49478a97712990b166dff492193d885e8c579d29"}},{"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":"6b494c3cddb02345be728649e7ffef49f302c2a60bc015d75728d540ac97236d"},"properties":{"commitSha":"ba18881b63f68c56271f26156632850cad05fd4c"}},{"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":"123a8dfad4380e1efc506fbd1362c2d0d3cc89c3f2b503da7b6510412132de26"},"properties":{"commitSha":"ba18881b63f68c56271f26156632850cad05fd4c"}},{"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":"d69ab7cfa05366f83928a85766ec9aaa0d3c063fc4e175775c7802132fa5e0fc"},"properties":{"commitSha":"ba18881b63f68c56271f26156632850cad05fd4c"}},{"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":"8c885eb59de9a4c0f94e5df947b4d515e4d53678e88a854f58b4377b9c5575f9"},"properties":{"commitSha":"ede041471cb184510d4030ead124e1807d9d3f59"}},{"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":"776c5854eaf527925e61cdf80de3cb0d0a71eb25086b8273827b8086bdf445b8"},"properties":{"commitSha":"30337d2fcc59368b60be02ab60a777812a1ea657"}},{"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":"72c47efb136a3b721df2adc6a53a46048e32672aca5323b3fbccfdd18d184a37"},"properties":{"commitSha":"2561205bec9db073599a5faacf04b2933b8e2bf4"}},{"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":"2ce62139d735c73026d33fd8a43566e9cba6dbbb46133e4906e58d5d81c725df"},"properties":{"commitSha":"b0d3176c531a54f9ab1d4076cc36430378d4e2bb"}},{"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":"797967602a0520bb5f4f142263856d321448c76a02a74fed6b4f7b07174497c8"},"properties":{"commitSha":"43a7f5ff6c980a87dfaba5c2578e1f7dede2dd12"}},{"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":"80b5797e929d2f7fad3fa2a2e55954e11a9f1aa7cd303543e802a4bc4c8bed9d"},"properties":{"commitSha":"b0d3176c531a54f9ab1d4076cc36430378d4e2bb"}},{"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":"c681d45848d19dd71d8cda29da2d5e99461c61d57550a9c5d0c952548d396398"},"properties":{"commitSha":"43a7f5ff6c980a87dfaba5c2578e1f7dede2dd12"}},{"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":"4d4320acd8b892c7cb98e773058a3bb27d32099917e4d12fe87e5e9bcd63e7ce"},"properties":{"commitSha":"691fa59c7650804c32c6154b48214bab41365f27"}},{"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":"922f72754d2ed4506a27d83a4bf7596991b9049499bde5b1065c132a32755c8b"},"properties":{"commitSha":"691fa59c7650804c32c6154b48214bab41365f27"}},{"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":"7c89bdc662b70f224aca007c3c0f1cd063a7c6587ab66fc6416b3829f55700a5"},"properties":{"commitSha":"9d701122047862815b5f790a61202ba427572260"}},{"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":"ff074f264d78b0b5cc262eb5965293f67c7663565d27b199940cd42afcb9beef"},"properties":{"commitSha":"eaa03708711e4af15d0418011225ec068b47ff64"}},{"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":"8b0dfc109edb191b4bd0bce9c367aaebaa78ae777f415e2befffef99b109ed1d"},"properties":{"commitSha":"eaa03708711e4af15d0418011225ec068b47ff64"}},{"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":"7d89c2e89b6b57786609e77e77883637f86ee3f6ace7f35b9b6d4a1c2531090a"},"properties":{"commitSha":"61bb34ebcdb1806e57642693d5b944f9dbf4e70a"}},{"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":"008c6fc52ecdee9a20476aede1864a2924b97b873838e4aae8adf0f9925a51fb"},"properties":{"commitSha":"eaa03708711e4af15d0418011225ec068b47ff64"}},{"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":"337ee4bdf0f2d76665d836664c567bf32c2561b0e0e07920d7ab36fa24d96adb"},"properties":{"commitSha":"eaa03708711e4af15d0418011225ec068b47ff64"}},{"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":"6aa2566c23c0ec5357a3a3c99a0a378ef2592e9df30af5bb35006df44f0ba473"},"properties":{"commitSha":"eaa03708711e4af15d0418011225ec068b47ff64"}},{"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":"ed71f72881e3b45c12d987b60fa95073f0156d38598cf6f7c33661a10a5599dd"},"properties":{"commitSha":"098354f4e665835f0cdaf1e5b2a3c89eaf80e42f"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"9caaf3795b06f869ef8f7c0dabf3bdd5f3a4bf6073c9e451cdfa533040cad770"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"058fe811bf2223006457f48920503511e746c3ab81abb588693ba6262db957fd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1c0a7255edc508660b74dbdf156dcf27b1135fb895c2541e3165e6174e90eb8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ff40ce034b7e2633a1902095dd0b60f448ac76be1412f926f9c06fba92a799e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c80e8fee0dc1ee92d52480b91c831a2eb9702e432a391d54a4e909169ec47313"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cfff19dc0275c6e63dc573218f0ebacf44077f1b1063a772aaea978dab116c9"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5eb6c9b324bdce8b62843a39164051fcc5f9a03b55ea7085e465662df0e30c46"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"224147fc9eba11db830464fee31a1a6f0ed3fc7cb9e428ad422dfca4556538d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5751e76a7b9e995d0a45a5866de1064281de309446fc8b1313ab305a7674e8e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7421a047ac70cc20521c996a4ebb11c1c1d32a3e1e0366dee53af8cc6c5fcbba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17f54fb2cbcb3a3ac79db6ee63e1de2d72883c1f15bc6adcd1384335d0b9f95e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a64c60d1d429c5809cb40a307cd04041a931c9572c057c35985518afb9de706"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"520b7d9fb6f0d3af43753a0c2631b0fc2fcf994b1f09789b2d9a7bf666c1cc73"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"730420a70037bb740b5b9986bae8c7c76243eac4d4eef2c498ec744c8aae8f3b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2c16abe440fba9b5468c4091ea3455c0c92e9d649fe6454d0405cb11b546834"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a67046a50b427060d1e40ab0bcc0e2fc19b3e2425e4a5a32b6c892727c81747"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79ab9b21aa4525c9a1e387786616342bec9fff9b831f9573f9a51d6f6b8b6abd"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01e7f903a5eddc7b2c5bd88b5c5abcf4bb1a59578f72c9ccaf96fad2ec9bf075"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd6d2f45645688dc698d79aded470209522a5d5fa954f0725a5fee3b2f483263"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fe8d8702a2bd52a112f9fabe0b802af469f2731ba039a2ea359301f6f11bb50"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c3560958bdca19885f5fd8ac9094685dda0b153d493c11bc11dcc3b14f70adb"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7d08550f77630c0950f8f6f960f8c13a9cf99f7859f6d7ee13a79030976e5ba"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f3230c3c90490ae7e504599033dcded117434965b7a80b17e4357628fc66eb"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9d3702d0a2888386c6e43e5ba0bbcad87f9c119bc50ac1112d26d16ac7d7a32"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74296ca486bc401cc113a8915000396cb6dcb8fe9581275e9489e5b89f7c2325"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1c1c3e7e1bc0a27b1eada3c20b8de80a672331a5277f2984cbc0a20f0ff02ae"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4201aa7f2a55340d18b3a2e38b88a7edc8a4ac71689b129d1fc6ec2c998fba01"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bae20871c1707dcd088f10d27cbb71bcf1efd2f4f1126e68c84de50c24fe6cba"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1f79036a37815139bee975571e6f372abc3350f6e926d06425a16feadfc8039"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc2f7a6f950439a427e453f2ef30d68c9eb020965bb4c432cb35c1febba10e07"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08d182e220673c0297bef15fe053414052b1207fe8b34fcd3fbf9b33aa8cdc97"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fe97cbea1e06b117af9b937d054a1b233dc40aa880a6286c191b283fd8e019a"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ed96cd494a9353f157d6231b4beaca4c5eae1762d5b39e459f8758b88d21ba2"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4750727af8f9455f7e167907946fef97c16f5a7dc7ae66165d91a96b8f63966"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60793b608331b05fe5549d35c616861492696a897e9a3c308f8a5dadd072992e"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39d427ca65d6eb9dae4030616882c0afe6699141f20f708bfb5a2a7bc3705b17"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45a28913a55c855af5312a4766614881cd49e4d210cc3a7c97ce384e0d0476d4"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa34d1b95cf01f2dfc23f35707ef02f82b3f6297a5c227a6ed9bab5472eedfc8"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36201d7dc7e71f608849c6702efe4620292ceb6533d9e6af82a1a6c20f4aaa3b"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccf8eaad896f1fd822a200b65224ba148000257a899ba38151bd67bee56e8167"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88f963e5ddf46560b0261782ed1f7830285fb0ea39e77e7efaa3db43b25231c0"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e6b4fb53895bd7ab007f79b29c75c9cdfb4bd7014ca76d284f737517f3aefc0"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67dda4e968f2b85bccd47caf933b3b49fdcfb4f49f78615cfd09847ba0686657"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0becf8f9ad851d7548599a8b86a5fbcf70c12ebbe302cc70a7bd3cc7296840b2"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cec03ccf7a6ba24ed5b2d0c90d36d4c6bec0cc956587bb251c662edb80ad8c87"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d41975712c691181e3d47eecd524d2ecd62e8e18f92635832d9c6117b0a951d0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"c44002a1d1f314efc14e8d453f9f54d12b780516c9d03bb4acfb2d6b387ecaae"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"141f277693c8c8eedf85e9e4f44809a4028f5826ae1f6213aeec0e891c79a181"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"3bda6531c3a306b984c1849797bf30a6946cf284e5478050d39f1e695ef62a1e"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"83175f7a6f2174bfe8deae07ba9a00c2b31de69f9b02557ba95e606d8c3537af"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e977d46478b89907d49615ea980fc528355f72fb8d26f5f5e95af7e0aa6b40d1"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"4bb38d12da8a480435ccb52271b0b603eb1c069cfb07f22354913825367cffe3"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"75060e5a7314393ae5d23d77fbe1669f1ff583a5cbf29ad7c2546c8fca5f901a"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"7e9ca3fe2b795f1f85f3d9535f2366ad57e1a68753e12f36457eaf9018646e18"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"815e8963b03297a73c7fb22c132f0b91ec5566bb6e039cce02ea1328a7424a08"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"de51dd5254929a0be001cc64c796903f417cfff35296b2311369a1c434f8451e"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"c0a1ac1e0d0254eea5254af063ce06b14b3c981c4877fc1867c22d0ac15c8d5d"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"14208bd65ba154d298a425edb825389d661df231c9977e3955232811d13ac8b2"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"16f16b6a3b5ab0a2e399a44872b5ad30462004b1cc28d9049328842a9b57c588"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"2674e7ad9c30a4b79b0753c1783d1ba2be9a2eae8e57e4d590b7215f9a58d2b2"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"70bd0d7fddbcd53c058eac7290350c63be2c4edf900c6be5ccb805cf8482e85e"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"77474545b7025013cc3b488fc233d573a97181d5f164260d7e41e97d6bb28fb7"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"7a824bc850dee3d9d968462c383b14c65605efd12657fe298b425bff072a18a5"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"d87488794df827c8fefc32b3654daa68aa85969079a67fc900e7cde0beeaf521"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"35004c63e45b4db2d18e34cfaca7afe437a5e4f2b23be8d4348136489072fff7"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"13dd190a1375a730f6fe448b12d15f10d65d1936cd6e0532a09a76898950a161"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e06f50ab78a9750c85532d5883417a423dd1b270691a7c54990d76cf3be0acbd"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"529968c9456ebb64351c15cc5cdf8ab11b0fa86dd271e3e899255c8c13267a1b"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"2f22496b48087315b5153a1fc348771902e40ebec8fa1fcaf366159235af2756"},"taxa":[{"id":"CWE-322","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"586d40ce0d44c6e700eb2ee553d0735d5541c38b4d1aac76d34992ccd6026a8c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"56662c6e3c2188b2985c9700ee94e469f4dc24469c5a049d543b1a770e2f4f80"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"1e03db2852c7cdae0cac82dfdd58fd6f4593d40f73fd8cf1187fd16e0581f166"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"91a9a69e41a1f994ae2535d77d89358753df17a948fc0b749d37c56030198022"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"141603f0aaf6efa3d0061e0cf4d6543debbffc03b08bf315aeb8636d1ef06de9"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"ce1aa7fb842d9782c5e8f24b6e98dc8a1c42027e423ce8583c6dfb02eec43f65"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"967b24283258561da76911af9affe99cad7435b87643b7c47d1fa9491a515049"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"bc2cd6371f0cb3633b313b60538c3573c35c364b1af6a116032f94514c0cc780"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e47cf318d12e2df6b1944562f132cc2bd7c21e611d0f7b95d2f0cc4c12d4a1f4"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"0bb4bf805430065ddbbaa09e4752ea2c69800748a7243922630058d989aee317"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"41bd41b1879fb6d1f5caa873182956ed916d510372cc22cf6c71edce1396f7d5"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"523405bd352b21be307da54ef26821b1659a23737f5d2a069c3981dcda4b4490"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"975b474d5c9ca486f52283e3079b95d82d7baddf048b1487f305bcdfa4a4f933"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"0dee82fc2208d41cdab2bbb7c8f2741c3c3681551d36429655ba9aa640ef6cce"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"f88a5169095efd8ef566990c4774e400747e42eff5f7d30553907e08e2485fa9"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"1cc2bf74da017c16c43ea0e82a259bf15eeef0abbda398697c3143e0dc32b5c8"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"a66d29f23ffb1b49d3fd9b0593c9b5494c38cc25fe4516ccd26e415d3f7b2da3"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"0d207e4554aa76f16ada18adf6646021716f54c0c9a97f084e1a5784fab96840"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e2cc51c31b44bc953a3c6c386e4649cef8133c531cb825d77c0d65cc7c37face"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"f03db157a14b29f5f1a1fc476acc11db8d6d17f1c600520a1a5e36c3ff409fd1"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"21895f8f0930932a73e7f792e4b1c0ff20516abd38f1a18b50c8d6370e8a8c36"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"5d9fa779f25a4755639576c8ed53808f20cd3bb0c0d53dd3eb4ce508257d0358"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"d46a65df2cca05051e6eaaf582081a0efbe2604a4058e38ce13882239a4c1573"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"6492c1a29110b3a6709927cb4efdcecd51feddce6c8364e89e3a2df9108320be"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"5f0a8dc657522b1e317cd8a92b17ce334cd2611f3e0d059ba8af704ef499acbc"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"2191807304fd75535ed1c77153901a0752c70a49fcc4b1c2bd75d5e6a91db299"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"1037dec0c6cf74847ef578afec8aae5f4891a9d94e7393c01b9a97ff6758ee14"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f59f72293b0ca14343a6f2c43d1bdcd7246e7b1b361ca4e29f1e243fb4621683"}},{"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":"d0013836373db95cb6569d9c551c2f29e6d1b9f21ddd82b7053135ee5d752234"}},{"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":"42479bcfdc36f81c5bc00a6e6f4112f7a9652e20366f2494d50358cc9b2c4b1e"}},{"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":"d234a1003d2e8a25936442ce383bb579b77cb6b15dbec295eb47bbe458c917b5"}},{"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":"8eb35d6c8af8e6eb124577cc649b549c670d5b51403de924acebfd8bca7c7607"}},{"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":"c280666d1a964738c5602729f48c19cfc94145b2a81b59ea85c2f9a8a570ea24"}},{"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":"3b612fee18e83bbb7c6eeb137887c24085650490cedd3de8f463d2fd73f5e9b6"}},{"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":"4742b596d46a1c96e875925a8fa1f954a56721ce5658fcd57a47bb5e1433c414"}},{"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":"37a9c15077fc83ece831ac3acfc399125db40e854dba5ce96ff6ce6133375d33"}},{"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":"c15a526dc7ee19fdcdd8e80949ba3040f0693af77392c7f042f676b118303de0"}},{"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":"8b9edb6b609d8456155c2e95de348eb8ee50244f2d8fb32b3ff6f7d673077941"}},{"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":"869c80914a77b106e760a67cbe588df69a9bcbbc84593803bd7fffc0bbb7a4fa"}},{"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":"64543e740926c44cabc312a0f81c27cfadbb276139b7efad547edffe90ed75c3"}},{"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":"7388060c249ca2de7f40fefdb5bf67abc55b829ee456d61943f92abf958fa00d"}},{"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":"47598de2fd3cc1d57b5c3e9ed7923843e4f39d8711d98868bb71136e435e3d63"}},{"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":"2d51b4cba1ce49f5fea60d7c5d883f4356a04e8aae133b34557db95d9d7195f4"}},{"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":"d73e3170b69feb7bf1535a93ae5dcc8d6cd415b4eb28e5e8b522c3b973e81035"}},{"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":"5137bfa33b5367d3bcd8e391618cca4d625a5ecd61707d08ae0257206add1030"}},{"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":"10d0d3e5420da08b82b9645b3f31111a2e4d986ec47f3979d6122587dbdf750e"}},{"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":"52d059d6c8924c7fd624a306c51963b87abac7ad6f08066c75ccbaf0ca5b77b1"}},{"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":"7f149303fb8100e5980c6c51d7cead3d8a70786ea19ecf478b4298b1df120b6b"}},{"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":"bb268d0c45fb77d1261f179d55e3aa678e1793c65cebd2f22d9d270308fb5986"}},{"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":"258b7e8503ec0f3b5ee6a7d533d7fe1afa5dd9db5bb7b15f514eba13329e2060"}},{"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":"b62a3b3c6d4b0f6d3330d03817e4150a7fe09eb5f7ff9d03b838ac60bd12842e"}},{"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":"0cd4381feb54aa47f145c3a99877919fc0a16923e20f06dc1f82a612606c4e8a"}},{"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":"a6a79a8c0ab051988701013c3e4ac76ce681575dcd3f232de584421c4d4855b0"}},{"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":"85ffa314d77812277deab31fb2264e02366c4034561614d82315c198cb6bb99e"}},{"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":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"}},{"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":"8c3bb02e5a817b543169ce3f11ea6aeef8dca5c03582085d3c5d27ad236739da"}},{"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":"b5524f25221308ec94b7206b58afaa59996104c20abaa242285d451f5344e44b"}},{"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":"0897771ffd4e3ceb3419dde32bb5bb1ffcf0f4b413f8009f7ee61b96577e12ed"}},{"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":"e4f5d388a7cdc059e24d028f5e54a3bf1e89f37111f4e8df050026f20461dfa6"}},{"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":"f33134b914692cd6c5f119efdf542f3d6c34c918da971c9cc600e5d39c46efde"}},{"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":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"}},{"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":"ba06f2e2ab048ebecbe4289e7f04318121cc4a66ffb9cd68f8c82a165ed0803c"}},{"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":"733964a0781fb5f30a2833cc1f491cbb97ae1f44ed59498b0861585981e8eba7"}},{"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":"5065a021c5ee94b6ed66a4be97831fa024627a4f2beeffcf79d66374297b77d1"}},{"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":"435e0c9476b887d66055bfd5cd51e3bddacc7a915329a71ab70427c39507e54b"}},{"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":"283f7f84d65511d036fa4daa34614583b30c2ac63ea3f3f62a1b77ec39b23989"}},{"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":"bbc9dcbaf62c4a7bce1cf0b5949cc8d1b03f90f5fb09084c472071c4ed364821"}},{"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":"92cb26429c65e06eda7b8810284ea8ba42ef81375db5987282c1dc7d8de6f2d5"}},{"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":"e6ed9226dc791bbe97e29e454a16e6c5e6db79fcc9b0eb6cb8ccabb8c640c40d"}},{"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":"d2c0ee485d52aa16cb979d1465cf7d5fae86de6ab23e0924489b7b96c9378e6a"}},{"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":"25a29e4f64f3b6e49d47004cd7b452220d60bf8e42f638d9907d356bc6be625c"}},{"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":"a737a2e19dba831cd3888727588231342a9443e3a16e8e72550c8cce133485f3"}},{"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":"289c90b85f0dcf58bcc30af514e5004da8d2bc67dad68fa29319d7139cbe8f3b"}},{"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":"069117c5ec171a956f1c0224656fc9715665c4bad063ee791d20909e54627c71"}},{"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":"5337f68d0a59ed21798f0a1aeec04b8c2edb4f94f809b6eea35092b75d739afd"}},{"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":"f66dc271406411d32d95e146e8e604a3b14586ad7f9175e84acf5433d7ad2953"}},{"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":"0362c53a37a67dbb82b02665e1b7758bb000bce5d926c7b0df3b5763afe6e9c0"}},{"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":"193a7880fd9ebeee8e611edf99b2eb03931f1a6f49da45fdc47701c45227de36"}},{"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":"8a31e1f915192098f8c850c7225d76781b75c9cdc83c725bd7ee8f74de5dbfca"}},{"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":"18b2bbd077d39905782d88b5e6cb2c545cc34334544c302a3698beced6f79202"}},{"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":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"}},{"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":"b9d41edd0e85afc18bb6d8719426968c48ba64fc1d080b5a82b5ade24fa9d103"}},{"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":"37572a4719b3ae47b528da5736634fff03e1870a1263fe87514502bb50212a83"}},{"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":"7f78999b3a668f5486a3767dda7fa31713dbc25466170361548d1b55520558c5"}},{"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":"dc7c2bd7424722dfbcc4ca68ed9b054d6ad1f11c8eb02cf6feb3fedce92a95fd"}},{"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":"137c90fa66d47277b828d0d2e6e2bc94e58f1f3967cf465648b2bc6a5b226d68"}},{"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":"7faceed2ae71be2378d164843aa81493198c516a13a9307d08a8c1b3698bad46"}},{"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":"f00559770facf9300f13855d14b64a485af8f9d25166d59d77facecf0eee1d5c"}},{"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":"7b12744ffa2a9cc7306208691245a2392b3272113ab647511abae2de7bf0e876"}},{"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":"9ffeed3dc35250ed692bb0208c39fbc3b3b421201c9d2fcca8c2b3350b4f410f"}},{"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":"19bf2ca39d89ba4d5b5f8f85120ec0ebb361afe14125907feb9a277ff24a03c9"}},{"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":"96c51156b48e78ecd62c607217d507ee968ae6f3e42752cd4bbf514cc5f62674"}},{"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":"e01fa6b831bf776fa5995bdaf5750426ae8d93b6cbf32abff96a4681a2943e9d"}},{"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":"bb13656ffe272eed844464ae74c738844291eb5789bc52761cf6a2023692aa37"}},{"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":"c9cbc47ad8db84d8227984cb19e8e7a0eb5e47191d4c92781b907653647455c6"}},{"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":"2192379768f3d0849aea7c957392b7fd21242b8c683eedd464852adef6fdee96"}},{"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":"90a90c4529c10cc6de3f2cd2834e22ecb26d3d2020015b7f67548ac6f7132d0b"},"taxa":[{"id":"CWE-787","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-823","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8107963950f6e76b62d12d0b4abfe8c58a60923b900b83d38c9b3e2c3e2d621b"}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64a9a83a6b4dd6dbddfe89c23db09e164adbbbb6194eef82cca5e3aa884940a0"}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc0f83e51c9a634efbdfff7b289f19cd82ff5bc3cc1f68f1ac76f55664cd6b61"}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed6e47c3ace29ef0211d5a370bbf55a8c334103d50ac4a4de08e0d4b32051e9e"}},{"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":"ab92a1628cd1667b980737ded7ccc3626ac57a21801920a558f6441bf7c0c5af"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2efbbda0852fb7533b3027b4062ef50675b394ee3ef3f42441ccf6fafa8d9b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"3e2fe6b1196319486946e6d81164ad6ab4efc0a23515db75d043744060b67e6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"18cf215790489cda8ca91e78eedcf684a018607a21c6c9a8d46eb97fc7754afc"}},{"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":"44a2e35a9b09557f3d2fc8ab4846d91d66c82bf0a568db257ac2f8edf049f50e"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b573d12646e26e5ffa3333f43ada619905aaaf30729b1ba21187aa234d341200"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c8123d58c715469c45d84e8b626138f78dfb573c7fc2371c2f7ca94715adf9e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75db580ff294e8e2840e170411ec1a81772bd7fa895cd42ed1502042369b4424"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48e5d8829aa6bb41b20e9262e1dcd2e46f60e96ec18013f21705253de0705957"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"719ea3bbf6cf14d4a7e3d3a2354a4f4526d2bcb474ced5fdb14be65e3a5c6cb5"}},{"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":"5c9892f240d96837f7032f041ebf3feefd2dd653dbf01e1ad5104d09284cdc65"}},{"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":"babd9c96faf5b9ec5eb79e46f8ebba21308d3823102bfd8d0ab9b2e394806a78"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c1547511e053dfd61bb85a0630e799888efb9735925888c121a0b8db12d5c15"}},{"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":"6e4254c1c515634bbf198c31e6b8105a097562c7f78f17c789a5fdc86b770172"}},{"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":"126c6bf8ad8280b10c9c21c02bca7d429027f1d90ea61ebd955e5490aff0860a"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"036a547495d503df7e354b0b3ed020b8ce657fd14805bd927e81f5d9e887f863"}},{"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":"27726aeb8f8c5b32884e13c4ae591a783251d0f99c1a27385d836093570d8391"}},{"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":"6341b9cd1104ab79e919ed8f790bf3ba2f4fe3bc96e6c960594294bfce4cd35c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab97e93cfb29b900c55014ad02655ef149652a15a7b34901b14713d1b07508f4"}},{"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":"97f758c7501e1ee6fc406008e8d9c002f4d86e0c66966ad81de3723ccb47689f"}},{"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":"590243a3d9c6fb2a06759d8dd71f1e7ccec73309783e2f6067020c00f70efb23"}},{"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":"83c48e278a56697872a0774c4229d672443c457947f722b0e788f565566bdea2"}},{"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":"a09b9d5bdbc63ba774a8bc650331a6f4637968ac5e14a6b29d6798c34bdcf1a0"}},{"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":"6d02417d09a73fd23d1a6e1055e42c147c974216850f45e236589c2f0d0e1351"}},{"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":"c18e54388818df6ed0334477f7b4b73f08deff08a707ff9ed12f92b89407783f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f5c747b90b5020fe749606ae0078c2daae68d3cfa8a1ef2bb39a75e9b7ef4bb"}},{"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":"9ef0c0b7d60c1b6345560b30dedea62510502ec63e40aef1bfaabace8084b401"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f29c641a5bc421703f71c4a325dc4094b8febda7348ac961462fd53a067eae2d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c147e407be9646116b8ce14d82dae8ed1cf1f084561dfbade3075f90ad450434"}},{"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":"e18e545e57ba070d3477f29debf9c249ec0a6b659f2819c5bd8db841377284b8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a70bcdbcbab44ee7aa2a604a88978346ab80112d5694d18e7127a855306c5150"}},{"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":"01a9f78958780699d5305c50dd29323c0f239589b02206396e8e2233d8ee1d78"}},{"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":"9b8a18ac04450e9c43d9a3fe2c258c55746ff4470e3105af721e5ed08ef59399"}},{"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":"a644d19cee77f4988795b6185e53daef19f0fcef9d5e302b60bbf3f961198691"}},{"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":"4d03d77d339e707e8bf2c3755cb28d19a5a5bfdc2e914ab6ea7e7bee56b6091b"}},{"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":"9ceb3ca76fb1b9955441f1e6fd6db0e107d2360b10fa04783dbefb4793d4bed2"}},{"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":"278057be7a5db59eb19c091bfe785d8cd6e6d464188e43e99a9717156f6f8901"}},{"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":"596c7eb6257798c60e6418b5dbcee28a97606f60b2f2e1d2c6498aa4814c69b3"}},{"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":"f5f969e32228f9b98526119728be6c5b4302ec62702f89bc1584213fae14b11d"}},{"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":"06c223acc7b360fbff75cd808abb92c3d6e6eaf080c5137eef1675eb36e87603"}},{"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":"f57f63e1b2150cf837f25bd7022afdf6fedaf511dfa020577c32ee51a8a61c5e"}},{"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":"d873e00fa85db942da737614e93926a82aa5931d43d181bf4f4e46bb616efd24"}},{"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":"6a1877e43eff69f903e7e0eb5434ba02e4c018e5a59da8901309c8c7e77c0e2e"}},{"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":"141cda67b6145b0c6756e9ef75f872cf7b49053d512f408c95f72cf4755f81d6"}},{"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":"d8d214f1fe3944c9983dfaaf088b71020a42cf55ca9043965315beee9b52baf4"}},{"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":"ed097bcbe7c5c8521833208736864929c26edf3b7cbd9940ae53f949a21e1dd4"}},{"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":"a4cdc01f7cf89866f1a573d3629b04375bcf6ffc15d8d304bdae9964cba1f001"}},{"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":"26d87b1a440dc2a156742bb863f71c78edf47304bc4edff9bd5ce7bcc862f35a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8759a1e911df9672b4bf5874400dd768c7e9a0f8cd7b11badeb964f5701ae7e9"}},{"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":"2f959aea84d14affbc6cda2c2da95164cb42ed1b46e9305ce019c08b540ed20e"}},{"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":"707a8eebbe3ae346ca37401d7962a385a720233683933b75de8dbf37c245544e"}},{"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":"562115d48304b1550a24c18ee9d5b8b0370e4ebb0c909a1fdedbdf082a545c46"}},{"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":"2a99a81329cc2d94126a339aa4ff93a8005932fe71605c40ea1fe9fb40311f12"}},{"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":"a99208ec6d2f8c0aea8b01b9c4df4288354aa6d4d4b61af898ae5b7f34f6e1b6"}},{"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":"2a78ceab77b752896a48201d869fc25b4ed44716ed5abd6392f5045b0342f396"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c4a7a2085dce1a2ab463eb43f183f7f75d2ea99d1d1aef8a274450bd5abe503"}},{"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":"5cca6c994c7a76c3e43e1a8f4e43f4987ef22b43340f8c98d73ff85d6327731f"}},{"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":"b5c1c7fecc407f74943b914503f2dcfda4f979499649006959c99b1a6abe8f9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"c85c21556aaabd4987b9f26692e6ce7dc524d716008ea2643ee35d31e4ea765a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"c83c92a1f403f0bcbd15863c6659bc15a9e50038f10298c911cacb10671f4b47"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"a79e9361af9cb38f431d645e44acbe7a522b61b52236383e2efe2e8fb4bebf64"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"d7652783b2c3823776ef9ecf25497209a5921ccb0d88162c66438382c2d683cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"d75635334e6f503f9ef26113598c9dc5d8d677648bbf198ef6c30c9c96680246"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"ba2d5fa92cc56cc056d4b80dfcca39c1ebbf662e616ef8863f10879fec7f37d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"8196b4cddad645bad7a633ff751ae062cc895d8a5a5ff7eabc0de0df34a9e9ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"2b066a434cff3868d566bae789e25219254133e51384b02889d3e188721fe551"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"afe6454e60b719a24e51972205a50e9caa0ea50727a2c2959f34739e04035ec1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"53ac79389b28436e4e7b8648fff4ae0b94d8f2fe4714ba4fb36b4dcf5d9e05fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"0212e82e7ee296ed0231d716358071562529505dfad63b1c637fdcfc82b99699"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"cf4d51d5544e73e084695681951fa72babe55c04fe3beab9ab1bf2c227115bbb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"087ef3c697617df5ddc778e2d46b83a1900cafa1bc89140cedb8f7928d238e97"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"e842ad0617a7dedf237b0abb3d6c676a93505e39a568bc1db0a20403c326c4ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"e5db5256d986476a11f8456a4312061681041ce0549db943da5c9aaeb48da4d7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"2847de290bc281a5c1479f9ce0ef5d761fd1786fb3134d6feaeea60e2eed6539"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"450a57f2e96fa8dc14daf1e4ac60c068524d0c52e37a476d1e5c99da8e8ef846"}},{"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":"a034ca8df4970ac26e7134356137ad3e308cc9278b10b333dc93f7079c60821d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"3d043338a67b4010841ec1e858a2d39e680a032d48b52203882d460388ce5d45"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"bb0a99a0c7bd0fbca88368b198cc6d0dcb2bac16c45130000101a8e9acfb577e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"08dc852df0348b3ae9c9d4ebe1efa38d8748f2b3e12fec0d9a28ade90904e6a5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"e2ee49b7a4650c318504ff7831a9eb752d67091dcd0ef31a4eb77a530b02ef08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"9f4b00bb53148cca14e3a542484dbf46e1009bbfab61875f6502d6a07eac56c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"a97d86fc044a8d9fc19bd33af1ec6c859cf456f664b0c608b4eac212ac581154"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"fe7c67bfc2b055b28610e061dc8111a3398c4446749497eaf22f360ef90dd8ab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"3db4496d3e3a0cc18b518e86f5c8e0db1cc00676edc030393e169740575f0e47"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"78b5327f9bbf753490f5d17a6dc4a69f81736282fb758e6ac7dceab18a838559"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"49774293b86f045fc776cc69f07510be31f70b6db242561cab0f3614271b9dea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"efd6fbb2813dd9245cb0fb4a81e7bd009fad9a346880a550f7a9919ee02a2402"}},{"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":"cd1cd4ae2a0bba4d95ad82c4b95545aa99c031ffb85ff0e5dd27e158ec6a158a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"23fd4349e8bb23ca3677d8fc32cab70a4c18226592eda9401b8e344a693d8846"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"e285f05028c24610e8f9b37d2157bb4e1dab0b1972856a1cc08dcf3cc2e00e28"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"fd85151a0f78a94feffa6f8c35a29b6b6bdde58feac40941c87d0a6d19ed6fc9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"87e5e69d0373ea07b0e61f55f5641e4f98091a782fe642962ec4d0a787e94fe5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"cc817077fad81b233e5b362ccb9c2ee24b422dee8a09007c482f5da7e305e571"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"01a4dac998d3eed0f185c4077569cf1c52210be5dd4b7c2ec0ef3762917db916"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"58436d4e82a158b3dba71a90903c55f5f097038b22372d7e419940bffaffc4dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"a525ee08bca362cfca36955a8a30a0a551c2f7f89fd1d04bb104a07fc98f9fe4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"413666dabc88fcd4f93a226e7910c00bf8e62008dbc161680e8f49b3fbbd304c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"97fa4810e9b5d115b267df31b01a743dab26659520a4873501bc5a2b3846e626"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"d4ef38285a39478f895634a8cfaadc203f6274ec60eccef2ad1dfd61fc8e3e81"}},{"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":"aa6bc50e142ba0d7c767b792bf48182bd52f607e109e470d430fbd19467c2caa"}},{"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":"ef6947152cb87f029670ea3739c1f2de5cb54c899cd6e415138d6d513a178103"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"e19c7a1a8ce1ef5e4430efc1428f82e2d4bb5f2c8ce259491bec6170c6301144"}},{"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":"30bda5972974ece5115d189b3f18fd7e23233d3de9970f5ba3d9fe315f75a69a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"3b7e501b693d665ddbd0c22204822dd05f5ccb2b5258a0919ad09f38474066fe"}},{"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":"7b91b734f99d7d00de5c3ae26d8af8245aac07a2bf33a63a559e93b4ed781d98"}},{"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":"4466c8b0cb7e256aa11789bbaf2c5c324823dcd61f5c30c5c5210200bac547dc"}},{"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":"50f1082ded7bb590bec2a7e676fa611668f0205043ad6e6af1e96a264a5aea34"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"85c3801b49cf74a41bf3b6c8edc6935fbac683b9ad2be3bed627ecdc4cb92f9a"}},{"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":"5564a6bfd72c50e9f15e5cabcb4b91049250e6f3111e01d03c5f12cce00a1c4b"}},{"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":"5c2efe5ccc23de222f43b9458b42f3a9f3ff5371ca786905bcb332da49e76ccf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"3d1b23b7cb7bdecbff151781ba0a9210b8c4cb8035b5120f913b9d2f7686ceaf"}},{"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":"dac97a89cbfa2d1901e974df1c299fe4f8b2ba26bd9f55f417b446fa87dae77c"}},{"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":"03207f78f1a298590bc10a5fa937c463dfa9c4c7cc7aa339d7fb8bb2ed232ebb"}},{"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":"e51eb150d526733e71c4c174b501e7ce30905992e7d25a6df039a09d958687e4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"22407a0210f74f727c59672627b870d3a873adc42ed62f0abae252dadc601dd2"}},{"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":"cccfc079c0a2b0186fd8de00a0e3561c41da0c3aedd46d4b7ebfea4ddbf09584"}},{"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":"5e2b7f187c5df6bc965f2977561448300a8da83ef18ccd4f50103b3453175919"}},{"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":"81e1d9b0ea5f95a0cf2eeb4b6655f3d25f6d00933fbf8a839df3ccd5a73ab92f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"b5a0ec2651c6866b26163cdc57e20770754d8ef539c1fa3f3223c4c83a162d58"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"d129096a00741fb691f965b3c011a5442421d8ec486c17e33e7030aaee385057"}},{"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":"bc57733c4f328302872a2f5fc6f62e8d15c6d87d8a753496e39c998ba671b4cf"}},{"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":"36d168cbaaa5a34f5ebc751411b2c28521fc4f5b98585e0431c8538d4f06bd3e"}},{"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":"053435cc631db67566d094059f1273f44a94b70b4e0b2cb49454cec555d29f44"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"67ab0c330c932d16fbb8d83c0330a0bca903e3d732a4d457aafcc7cde552f900"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"5892df050b92fa8f769e4c541cd470a3dc5470b399090ee1c8f7b0a52545bb6b"}},{"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":"ebfddab7dcea73a4968fe8aa3a6f3ab330ec74bb891907ad59f2f2ba65fcbada"}},{"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":"c35822c6afc03a0cab276694fff363a54f26a538dec47c49efb7e34af76b8907"}},{"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":"67c029f824b6ec633769c259ba0765206586ba0ab3bd8616196be76f960b1829"}},{"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":"58c7394b6224b0ccf57403d7ec6500dfb661601c033677830b5910fb556d699f"}},{"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":"52bcb2689fa6b54a9cfc33195f5e7f2407a85f8369216bd8af8990092eaf9fc5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"6b6c6fee7c4d5f4582199aaa1856118ce0ecdb6db14b72d45eb5af7279c84948"}},{"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":"ba1364577a2d22d2b33753d1ada9aa630a7e03c835d6db55bbc16e1ddf20195c"}},{"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":"66a879b556f5f364bcb2d42496e3dc0afb03b61cfaf158254cb580894993c55d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"92ebd26258768c8ecf46dc28158a31978e3b873a3175c3a74ca22965a8c78bc9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"eb26bd22b247f6fdd35cc1ad288d0b21466a369ec43d2a0924f68c45c7d7dd02"}},{"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":"f77a80ba6963bd297d215310fe98df3171b11921869d06256d8f9b226c98d1c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"d07cdcd0b4869284ae56f39d4937b5cadefd4a2bb886bccda697067ff73150d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"1549a79b981630ca4503ae65783e2f7957ff50adf365c03241b7d37764149791"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"e5b2ee7ec404b09b22e513bc2df21aeebf49ab31d786ac83119e22bc8e426e0e"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"8d978038022c2f754eb4aac5cca54ba1b52d9b27f4cc65802007a0c3ebe41192"}},{"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":"a38a257592b3887911616f63af7df4c834e8373c040c95a3672ac2ad46297a5a"}},{"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":"366152cc9fa1e4d11e255048a060bf1b388a586c55031e2113fddf80d9bc17f2"}},{"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":"41fa463092906dc18472706305a976b36aea9d72f5bc3c7702ddec167f5e85b2"}},{"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":"fd8ff83be164ef2c9e98b08dd9fa2f7334185491b5afcd4727fea7e3b662e427"}},{"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":"8d88cddd93aa1046b71172436c1f49f3b432787ef3e777de7eeffbf8b92c1142"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"2aeae0d4ff144d4fe359ac627a20519896f895a667d377316c8efc9fd95d8c3d"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"41a7a32bd3678291ede7046089008e23e18b7703410f649014ddb4abf59e0c3a"}},{"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":"66098ac62991029a6507f6b2a4e4e6350c254c63db65ddaab2ea3a30bff7fee6"}},{"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":"16be6f4ca1cc041384c206358800da0b20d71d728e27168f25cc3ed79d5f23c7"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"acfc1734498f531aa73c463286043e7623c7b3fdef36e9759bd1797dd37dc538"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"b01c5618f54343ce4067d31c17a3cd666f7be14dde4936dd8bd3653491a102e2"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"31e1b5419693ca32db404c29be71671533cf1096d83bae17746968013cd34298"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"8d0ec9638a4c3ec0c2d06358ee7cbebb754c34929e6663008c8921b0ba2bfec9"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e6b9c555048d7c37402e3448478d743d476bab35274f9836b1ee2585a537949b"}},{"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":"8d91ca66cad8366a70ba52292e3cd0e0cf83321f97d90df05524102aff728f3d"}},{"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":"aae795a6545295c70d33fd0b424711b800a57c7bba6705768d1d60b2f3e7f8d8"}},{"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":"fd5635d2f1ef5f476e50595ddaac36155af7511d17135c4075c7c1d730c07721"}},{"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":"4efb330ac9966a811285cd0770833ccd5a9e96f9ef8d250433031878b54080bd"}},{"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":"07d41ca6614da3218a1c686e097d56ba4549daae74e711b779472b4bfb672e86"}},{"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":"9e6c39760b73df83919723390e3d3211b6eaee0d01409657559dd9b839fab09f"}},{"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":"2ad39788c49678ece3838e04c8919a303c047520edf88bfd396f222423869682"}},{"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":"df57b96762dca415f45d7d5f3c385fb6a378c4f61d6deea77740aab35baa1736"}},{"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":"fb0ea6eba6386feb76947f7d77e3e8720ea2b94b41596cdbe10f21dd7fa5b540"}},{"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":"3c299e6b1bc36a984438469ac8c834c5efe73cb4e09e1081dfa5d4aa39054d05"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"ce2c561185ea53c7fa50f7ba684eef189ed982d31d7bdf9fb83fd275ad2a0f4a"}},{"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":"4f5de0d26e3dba760878f24b2951ffb8d5229f4cfcf87b65c9832abf98020b98"}},{"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":"c49fe2dfe287111b91d8933b64013335f474bb6f80ab18a3526d623fa966f2d0"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"336d1b74e2336fd8d56c68ed23ff4182b06fc678792b0cbcc418f861102f05fa"}},{"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":"dc045f8ecac8bbff0680c633f0b60a878dcd4859004797f9b21b84983333e961"}},{"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":"12e2735d433b2070949ff68c50c04eacd729278f37b09b3c916e7b02deae1f44"}},{"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":"103a6d198b5b1426bd1d4d33b8e2c93f06745ad91dd490e4d2d9ba7c77ff5b27"}},{"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":"44d98c4d901683b6ab4022d5af9d098ef7b409bbf53b20c82627c5ce2c77279d"}},{"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":"49bc5f58565204a726cd1fdf592551945da5284fc1032ee4ef7ba3445bddfc09"}},{"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":"2a548e65c0f45f5b0678ff81f0d52a51837fbc00e6a0c87aafbd85607130bfdd"}},{"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":"bef10cdff1ed30d17fbaaee2c2c2a0905eaf97f03c0895391ee80bb1bf9ccfa2"}},{"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":"a2c408552fc5cbcf23389edd796a3bf282f330bfa6065fbc0e69976cb5e01a03"}},{"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":"d132caf9f93bf6b097ef884c7f292a0df69e4ddd0c0d7787978a28491b30ed80"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"2492852414e4f3089af871a664f56b74ca3c79179daf0893bf9a73a8d2e1d0ca"}},{"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":"df6d52b150a903593792aae9e2ea594019a9d7442c270aff198b4e4a11ed4ec9"}},{"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":"e00a7c1d65315d499917c1a94459b200bba70fbc571d2f0d057a0b8226cf0895"}},{"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":"0169aac86cd1c38e4f3a307369392d9aea7537d811ca55a2efa4b598057a3707"}},{"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":"200ac1f4240379a75f2a89a5b332a2c6f6de1eb9df0a39d6eb6378a04f314fdd"}},{"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":"5bf8b7589cc5085db925a20f43f2e884ec23135e08733d94783bac7a6c95c294"}},{"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":"831376940871ebf6fa2a67df732b800b5900a407ba61f64fb8fce9fd51e1a0c5"}},{"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":"673f9f3a21bc9cf4d9c5ab3755dbd0d830a355eb222c3af3ba1fb735068b7a4b"}},{"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":"dbe6d54bb5713dc643e5af34ea13db817327dddc90e14f376203552d7679db27"}},{"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":"51b449a95d54365c8d99f193ad144260c4b8ac07974cd018dcf08f060347d9fc"}},{"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":"91a54a81de554bcaee79d8629c315dd5f0487f74906e9530c5f069a81dff51c6"}},{"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":"616bc6a59b509716f587e88eacacb91a4e935c881a893b98e003f9b02fe15616"}},{"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":"0aae0eb313168b412c39953af9dc334309c247006ce0e0b8b4f8a5fe4eb1e6ca"}},{"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":"409510863c8a7503af250f8ae544b92ef8c203b81924591354e2e4eefd301fe8"}},{"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":"94867dce5d517dfb0f77a26673c37fb2ee3ac90a2690c9c2bf810104210bd81d"}},{"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":"a992be3a94ece3894500edf67e610b7d11d08138e60945c69bc09c72aa280bdb"}},{"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":"eb71b293bf205068a07cccdc85e17a2f80ed28a6e8300e7bf201a35b9b23d354"}},{"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":"79b1d93ae2a829693004c17f1a2578bbdd1322d88e811e8f8b282bf783550b95"}},{"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":"e7af28fdd3607bc437c2aed937638bb226bfc8d284eb09c73f95e4f2e612f91e"}},{"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":"609fc3a173c7b57ce850f937648e3f06a865fbe63a7533ff3ccb7188f1a01a85"}},{"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":"d2e1bf85a646a82aa6f954c1a70f332cd2d79b8d73e3305faddc1c150570ea7e"}},{"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":"aceb664eab5a9b6b9c0c8dd4b94cff8b88be57061f5bb61731f1a098c7d03a25"}},{"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":"03e66a7686ce5c6b59d6e6526930556ef8ee7e866443fd985b9a9dfb3ac1113c"}},{"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":"81ed712658c571b90d03db9346d3eb6557dd1383825e651fb26e7915a68d6cd1"}},{"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":"8e24bd69d487092c78e263319604fc64aa99cff63d44b8d62e60d636d3c5498d"}},{"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":"ada36a3b267e1cdced53ac291057ae1ff9bc5fc8ef4222d710a4f703e684c6e1"}},{"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":"0e2791a6f558e6864941160f743b733599c8cbf6eeb4ebe93b9b75acc17ed961"}},{"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":"aed4a8cf1b79c815bfef91756aff52b1a04031690fc6c87756f9d9c5f5063185"}},{"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":"a145b4e52f4eea2e21fb647966925611bdf876ef14589c989814a3cfab43a22b"}},{"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":"63b7c4248cde3a8655a06c3a4bf34a5a9daad02bf34c8a4648d41358b44e3b52"}},{"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":"2624400339dd36964556bcdc9b3c8b08127b41d6a79c670373fed9a36a2e5ef5"}},{"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":"a59ec0e51c70c6b88b4fb9646feaeb245b5af426dda4503dc8003f8a728ecf18"}},{"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":"150efe6a2099847bedd2999a844c5614634afe301f5830e11600d39cd1716e19"}},{"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":"75815b7cf4d64586607c4a08819a1ab7ff816d240574b492fb0cf9f4c8eb2306"}},{"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":"62c54436c975d8e8b006124f27b718edc44f8eb6c845f80052d45535dcd5868e"}},{"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":"34aba139670678854939fdd34674c54d9c38f5d1bb6131901bb378fbaffb2bb1"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"3925962ab76f8d815f57529e6a37cdb0965884700c43ccbc0e7a800494e657a6"}},{"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":"43ad5853cb1fe4f23e53be230828d6214bf9301fdab04dd0589bb18725e439e3"}},{"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":"669c3c9e7e1a8eea44f359cef912efc65f88efdcdc83a088000305deec9159d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"813bac3de8fb4971c860de884ef700ca9776fe4b79a96c223817bf5990121704"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"591181dd448a049373e8dc42818494e7ed101214b96d09b5b005135e564c9f78"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"68b5017085ab4a52173b417359ef2f17d8b944890a99ba553d086adbb65e5be6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"f21fdcb3487c1a55ad40afcd3896fc7bf71519beff202f04be89e3cc8d6ae925"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"86d1d27d066e9e05f8fca8b87ed9e0ead17aeb6d1cd49e5b653901b57d116d3e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"6fbeeacde437ce95764b0aab7ed0cd70411e78c4f04632d658b073696881d729"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"3df0a6f71ac30ec53debc31365a482d5cea94b26545714fece3c9288250514aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"133374000c5cda4930e140b3933c95b67577b0e3f6290220ced3ba6ecd897c01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"bf1af88af6272cee310f24803773bb7b808d53d0f966a857b84ce25f88931466"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"ff7c93f956b63022cc5e822dda4358b36beef404a8abe085175f98cbec4ca4d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"faed47aa3f62e041a85acfaf367fa9205955b78e293a4d4ff7380e9a471bf834"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"176dec17b384804d22906d4b84637a1addc7b28b4bcf219f17736716e09d2df0"}},{"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":"8de9156d9f9d7c4e02c4b064919455142b6ad87bbf98a02fc3aed0ddc0124587"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"469facfa921bda4e8d0838201757ac21c7ca59e7a60e59037e616e132d4c9816"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"7ae5c7b0a1ad22f17f131f0175c3f3aa080d0b0406e94a79fd43ed0b39723c05"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"209a9272ff7b8f9c1d6e78542ac051d92dff30e235d685c03ba0ac66c9b9a274"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"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":"aad3d6933349a73b6381f7b48944933711038dc93cc9048530e1f902d2399b30"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97abb95d84f4751a6439f7a2387b4bd702c63013e7c183d35575000322629b3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c98131fe987125e9cc4fdb0cf01503534082888c559ea5fc7c9b9c8418f6c3cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ced00b26ac414fcca9774583e6f2859a4962b00f572a5ee9875b8266ecf1c6e4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3eb8411936b8c931e3b1210c4f09317f0c74e4e03d46aec26f16d0ec0c1dec4c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5d2b5a2bb51829b1a201f707f731f0b6ddd3ad296e05ffe14d267dbccfb3969"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7ada4d98d47e251bc020e362b6af1b5129f828708e050558795674423ad0ab0"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b7210ace5c7f824dce0b28bffd4c0bb5336256cf9c7b55ba9d516425de2b893"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"837e63bc6c754e4460ed010396fe21567e3c7c1c2bc844f10d6f4e55bb88fb7b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46e73d21b09a50ed7755fed481ec2f6bf46f4e65653a32aee78bfbca6c729ab4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49c84aae3ff712406ceb77a62ecec445a28c03ec19c661ee640630c1b9ae62cd"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3c2496e763ca3b55e547d22e4ae696427e8c42bb8fd9700e32f16afb66a298f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a74563edf0e181829570a0a7a9e886477a429c0fe102057d96ad89e34623d10c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0c745eeb115a80fd183c9ae0dca8c1e9396d2eae69a4d64081865a1e39718ec"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2685023576f3e9c9a43f1acd26bebbced3f52224ab4010b1b2f4f2aee5a3ab7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd7c52c3c3a97df4496aa6e293fdcfa6300d8b922d06125e65b9a32f20c3faf6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb474888f5cf47439e98bb56e0afccc64065c9b8b10e918094dea7d06b32d9d5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cb1b93055fc17efd785ed08410f8f87f29e10d205f7a5174f02835f63d8d36a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c79fb74d8523206f8527fc93ab35f163eae3c1fd45d4ed6a5dd6c8899af0ac4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8eabe19fa13c59f567ea375d8355d5fe69b334c4d424cff25128865304d2c15a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d01c5df42daaa47b9eb9fcd83a668ec7fec1a3a39953eec41a323c93c690d31f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6eea2e2230a8f77f2f68870f3828df5db63052023556d693c55ae43730abf755"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6dcc3420b3e22ae3dcd4961afc82bdbb26059ecf51d852b718cf9f952c2a4c33"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e22e26f1adad3277ddfaccaa3cd9eee0aeea785def8623171ffa0d418ab7dcbe"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5152f720a83bbb2a064329cf1364eac144257a92efe32ce14c8321f4bc93b70"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f7743dd6edb16f53fc15a37ea3698405061bdbc1a083c45affb46590245bd32"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"040e32d83b5fc90e91a71aca194386757a3dc654ece7ffca326b04a934f5a3f5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"750ca4ac2fd84ba36704fe44d17c32eb44e50758bb80b0e04efaeabb93c25356"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b00328b2e36b0af104b3af48f2f1971ed291b1488a0928bb62bee4c486d7d62"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a2cbb33ef226eb246d114ebee6a9f8e415fb494e0f3dc17a805910e636fc036"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41c938801b1873e49864e4d5ea0ff977557dd478ba7414f47b6db62a5aa968c3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ee3bb0a304d3f27d9abf3db75612667d97c854248ca3906a00159b2b9700101"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e654b72da15e5003cf58c94816e2f140398bbdfa5aca0a75e2369c4fba959614"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a76069df90aa84673d43d3a663fe700e22ab2062ef8ee9b8d7836d1efdfa6733"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"806c0375b3ceed4109f342863cf2a3b16fd405f5762be12d44d1eccea730721c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2129f7bb420ca48ff98bda54015c8e803a34f988114d64d88ace03abe6ae460"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65244d9b083449958688bfcd9859ad8115741bf249b9ab1721ee849e10840474"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fb96e46a58ec6c380a21c2d649b3a00bd71cfbbb8ee76f6c9fea7513890663d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3b6776838f7dfcf7c7f366970e8cc4473bde1d2c01fb9e6e07b2fa6d89086dd"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa239cd6c1b09bff5c3929ce0b2cc4aac5627a9dd21ab3da8b85ef058bb89cec"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72ffc0cebdcd7e320b5b0ca2ca0541eacf5255135aaf730d634649bae2b4eb81"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27fabad6a4ff4b10aad9c4ae88fba3bb710f47e0162f5aa9f3d3320f82e7d17c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2649a4343ef14afb1f2101df711bdb6df51122b15fe7d362d492676a30aa33f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d1143b28138a3f1f8a0c0d811e46b5d0448e79a15ea52924aeade03ec533491"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8c4a1848a5890d4dce496511829416df512068b2406e7a616f6bfd52ca83e44"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a05fd58f2d23b432726ecf6c2680b0ab98487c5216c5cbb193f91344168959a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaf5bf9fd7d34c8a713fd47b082be6b3093b900b837399490ad936fb2ab01232"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"356a5ea041095f522cf56d685ad45f6347ad3770fdedc29a2f46d54e950d4d4c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4b9c95e0eec9143337e6c5b2068966b1186e590d1b35f461a60a915635bd2b6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"719168d84bfa88d26a369b7f15a128aea03f42e57102a6bf20f425dd9c5be8ae"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"241201375cfce845320e093946c95cf7bbc13bf6c9ebf19c1169ee1084109602"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffb3adbd678d5414234187a33efd4665521a16106dcb058cb877a79bd7db9e80"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e457ef0aa40cc56128a490e69bbc58a1e8001ade1491276903132fe90fa77e13"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fccab4ebb2c86551c86d13c51a052aff331183a5ac1c62c0e8c3981d20c3690"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a281a558b5bdc8816136ba4cd8e85efcf43259c79f323a5ffccbcefd9a1a7024"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93eef1579d07136b046960360e373af2124985e0c276cd5893d139f7bdf3c090"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04279225811c2dcbc1455c77dc31ca86a9b5461f5e771eaa2fe8ed71ea0cf885"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd2f41c6a04206dfb1eaad1fa69aacface5cd2e170f76d4ac891802b8a6ca8f8"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe96081e86e8ef02fa3d7533896396f1469a6d31c90c311f83da166d418136aa"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d087cb53dcb0056d66ac06b794e78ad231d6278462a15b7d08f5e417eddc719a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36664a8a476c6ed994eeb65a07e414fbacbe7fcdd0bd13ac1f80d296877b9b94"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d37126de7b5622e583d639ac41f8a99cc18938d72e702948f790967016fce28"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41e0faf08ad4aef6431943c3016836040a000db65eb0c6fec4bb48372ddf522e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"badaa4dd01a17b1181d1c7036e7962a9e53550513ae5d8917087d933b6030d33"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b53bd01ce10cc1b4c063487dd78f6cba8742da0d776b9a340bee5ec70456d40"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: catalog_allowlist.ex \u2194 starrocks.rs: \u0060elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/catalog_allowlist.ex\u0060 (context elixir) and \u0060rust/srql/src/query/starrocks.rs\u0060 (context rust) sit in DIFFERENT parts of the tree yet change together 90% of the time (9 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00607f700c8b\u0060 no-mistakes(review): Match CNPG log and event filters on StarRocks; \u00600ce9d340\u0060 feat(srql): resolve flow country breakdowns on StarRocks through the \u2026; \u0060c7974667\u0060 no-mistakes(review): Write flow SNMP columns, join interface cache, g\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/catalog_allowlist.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b13e02e655d1bf94edebf248a42c423c8832ee1980d5c8b28af3e084fe03d23"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: rows.ex \u2194 starrocks.rs: \u0060elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/rows.ex\u0060 (context elixir) and \u0060rust/srql/src/query/starrocks.rs\u0060 (context rust) sit in DIFFERENT parts of the tree yet change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00607f700c8b\u0060 no-mistakes(review): Match CNPG log and event filters on StarRocks; \u0060e542da1d\u0060 fix(srql): StarRocks parity for logs and events rollups and filters; \u0060c7974667\u0060 no-mistakes(review): Write flow SNMP columns, join interface cache, g\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/analytics/starrocks/rows.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84784bbfc820689bb298784604e7677c85419b30ec741f756c01b4c620830dd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: engine.rs \u2194 mod.rs: \u0060rust/srql/src/query/engine.rs\u0060 and \u0060rust/srql/src/query/viz/mod.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 8 shared commits counted here, the most recent 3 are \u0060076af47e\u0060 feat(srql): add in:mtr_hops SRQL entity with stats aggregations; \u006069850f53\u0060 feat(graph): read topology from Dgraph when GRAPH_READ=dgraph; \u0060d23a1d08\u0060 feat(capacity): forecast disk usage per mount point (#415) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/engine.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f5381b2eec4f2ff1b2d13b20dfa254f32fe076a565a9e34b751176af861220"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: sweep_service.go \u2194 sweeper.go: \u0060go/pkg/agent/sweep_service.go\u0060 and \u0060go/pkg/sweeper/sweeper.go\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060e3553dff\u0060 Surface banner grab sweep metrics; \u00600ab273de\u0060 Bridge banner grab matches through netprobe; \u0060be9f3522\u0060 feat: label sweep scanner metrics by path \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/sweep_service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27927380510a8e3dc32e1e1970f8ec1bcd09b11961f0d8a0f0e5dfe86be1dfe4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: attribution.rs \u2194 config.rs: \u0060rust/netprobe/src/attribution.rs\u0060 and \u0060rust/netprobe/src/config.rs\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 8 shared commits counted here, the most recent 3 are \u0060c06f3ef9\u0060 Decouple workload identity from netprobe; \u006003fd589c\u0060 Add node-local workload identity attribution; \u0060956525e4\u0060 Stop netprobe attribution cache resends by default \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/netprobe/src/attribution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cf171003ddf2ed176931abeb987f52ce0950ca2b39b47fc3d5959e28466e0d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SidekickRelay.swift \u2194 SettingsView.swift: \u0060swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift\u0060 and \u0060swift/FieldSurvey/FieldSurvey/Views/SettingsView.swift\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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these 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 \u0060fdb4b64f\u0060 Preserve FieldSurvey session attribution uploads; \u00601b03487f\u0060 Stabilize FieldSurvey streaming and heatmap rendering; \u0060579a3c95\u0060 Harden FieldSurvey streaming and stabilize heatmaps \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swift/FieldSurvey/FieldSurvey/Network/SidekickRelay.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4eddd1d5189108f61fb00cfaf6acfc571ddf02fdeaf44e1969c6308dcb5b95"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"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":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"}},{"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":"23242335439540a7f0752c9def5c038b557d1cb0f8e6f7b448b5f69adcab3c1d"}},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"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":"1ae293ce5d00c64f9fe36fad06531a59d9923eca1c6f5991b41ebe62d4e553d0"}},{"ruleId":"D41","level":"note","message":{"text":"No AppArmor/SELinux confinement: Workloads declare no AppArmor or SELinux profile. A mandatory-access-control profile confines what a compromised container can touch on the host, complementing seccomp\u0027s syscall filter."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e83fbc31033373d6c51983ed230eb4ba61f7775ed02afb30f5fc1840bde01d4f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ca47b0ebf45bc8dc64d9f54639ea1958339ba53cd1b25632051a9fc31de0ab"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f5dbc352ce3b549c8bf1306a7f559e32f1171f0815800e29e3518f9bd999ea"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee70b701032b5983467f6a7981dc6b5ddc8a79ae7e9f6424d76a5d75303a567"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/SrqlEditor.jsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81a79ca1d326a7a3f4bb26d79692899fb452cae32c224482193cfc00db341f7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/SrqlEditor.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b94f4d5a4b4e8a223ac11cd79b6aef58f94f3c113d8c52e8a37cb9beb44747"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/templates/react-map/src/main.jsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"541b7936cf6ee2813dc65f426c97769076f22fa91b23290a67f9633d15d77c99"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/templates/react-table/src/main.jsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8732bec4f7ca7af8fdb243325bfaefa4513b2ed68f6c479eff01bdfa3094481f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/templates/react-table/src/main.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcac572a63c803ea17620ad680e4964b72c55be1f992bcad58a3762f7494e501"}},{"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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/layouts/root.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c655989081b4057ff0df87fe2d25f54115d275f2a4ab2ddb7511140367c37d"}},{"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":"elixir/web-ng/lib/serviceradar_web_ng_web/components/layouts/root.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d1f83fb10d0cfc04be7c83df3c3fef6645cd4f249f820a96e917314c54a06d"}},{"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":"openspec/changes/replace-age-topology-with-dgraph/diagrams/change-impact.sequence.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"05923c8dbd813adf759c3a4d053ca7fa81c54de90eeb698ccb82c82efb457835"}},{"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":"openspec/changes/replace-age-topology-with-dgraph/diagrams/config-to-reason.dataflow.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb42d04507dcb2da4fcaba838c061483ff6c8b1bf1ba1206205a96a8e920485"}},{"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":"openspec/changes/replace-age-topology-with-dgraph/diagrams/sr-scrith-architecture.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"adff2163d1994d86a530a19b6c6c5c09455e6666c94de0806c2ee5c9946c3794"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060[data-theme=\u0022light\u0022] .sr-mtr-radial\u0060 sets color: #059669 on background-color: #e2e8f0 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/css/app.css"},"region":{"startLine":6322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d87f73338b3e905d63edc50bacb7c0a74f2de131da77a988283c8f01bcf5dac"}},{"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 37 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":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ActiveStageSessionProbe.session_binding_id: \u0060ActiveStageSessionProbe.session_binding_id\u0060 is a raw primitive id while the repo already defines newtype typed-ids \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own newtype so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/rdp-adapter/src/backend_ironrdp/active_session.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a0fdb0565cf71516736da921b548a18724f4403273cfe65ed9209a2833ce68"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ActiveStageSessionProbe.media_session_id: \u0060ActiveStageSessionProbe.media_session_id\u0060 is a raw primitive id while the repo already defines newtype typed-ids \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own newtype so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/rdp-adapter/src/backend_ironrdp/active_session.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e473250be14cf600ea96fe94d42436ba5071138ec08ec83589ee715b74f46498"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: AccountLimits: \u0060AccountLimits\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/account_manager.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"551df9508d08200446f5012e4785168c11510b730070fefc93b4705ba769e89e"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: SubjectMapping: \u0060SubjectMapping\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/account_manager.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4ac0b9c5bd0f8459961946c69e0ca3f1072c9c6d01b25e1101c76af6a5e8eb"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: StreamExport: \u0060StreamExport\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/account_manager.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec8b366001d5479e40f8eee9b14cf633d87848089464cf7ef75ccfdfb9cf01"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: StreamImport: \u0060StreamImport\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/account_manager.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"58174574759a2730696cc2b485839b7248074cb7abab8ab6274456757b78416d"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: UserPermissions: \u0060UserPermissions\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/user_manager.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6cf6107c8a2e6dc1b917c9e2adc156af9a6701c3a06c5c65ff112377300d83"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: UserCredentials: \u0060UserCredentials\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/nats/accounts/user_manager.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaf95c23096ca7bab56b64a3ee80f0f82895139414a2699bfbb190fe520d6ec"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: SuiteEvent: \u0060SuiteEvent\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/netprobe_ebpf_vendor/cargo_metadata/src/libtest.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"96643fa4ee2305bc3a43aa328f68f39f676846797a49e9f3da1258204b516072"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: TestEvent: \u0060TestEvent\u0060 reads as an instruction, not a fact that happened. Events describe something that already occurred \u2014 name them in the past tense (e.g. \u0060OrderPlaced\u0060, \u0060PaymentCaptured\u0060) so the ubiquitous language stays clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/netprobe_ebpf_vendor/cargo_metadata/src/libtest.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80a46467a19de98e3e1063027de505a2bbe5eda296e3155c6c0c5d7695bec16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (14 clone groups): 14 duplicated blocks under elixir/web-ng/assets/js/ have copies in at least two of the sibling directories dashboards, hooks, lib, netflow_charts, utils, wasm \u2014 9 of them are reported below, and 5 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 14 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 14 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 14 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/dashboards/security_findings.js"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"621b63303b7d453e27766d3901c2aade8edfa4468332a24b2d325f2d2b9cc7d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (7 clone groups): 7 duplicated blocks under js/cli/src/ have copies in at least two of the sibling directories auth, dashboard, notifications, plugin \u2014 4 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/dashboard/init.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a56024d5dec23216356edf44e618f234566682fb860f5bd9a985c2872e84e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (110 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js:9 \u00B7 elixir/web-ng/assets/js/hooks/charts/TimeseriesCombinedChart.js:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 876 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":"elixir/web-ng/assets/js/hooks/charts/TimeseriesChart.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c152ae2111c3c911e93a9a127cb5660966600c4ca42061ceed989af46ad203f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx:167 \u00B7 elixir/web-ng/assets/component/src/RemoteAccessTCPText.jsx:124 \u2014 the two spans are one implementation copied and then locally edited \u2014 391 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":"elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8714aba219e3a4b1ee88a0a0d92935922a30d22c51870098287763ddd083424d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): js/cli/src/dashboard/init.ts:16 \u00B7 js/cli/src/plugin/init.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 444 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":"js/cli/src/dashboard/init.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b98e3d2fddc38fc7e02c1564d275b1be88d764a7311318dc51922bd993996b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2 locations): elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx:99 \u00B7 elixir/web-ng/assets/component/src/RemoteAccessTCPText.jsx:61 \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":"elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd254f8b4d21ffc55a0266480d429cc5616d59e756e595665513af7f0d1a6a20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/dashboards/endpoint_inventory.js:213 \u00B7 elixir/web-ng/assets/js/dashboards/service_availability_noc.js:179 \u2014 the two spans are one implementation copied and then locally edited \u2014 297 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":"elixir/web-ng/assets/js/dashboards/endpoint_inventory.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f4710aa71db69942265800a32682c946ae75e113d394a91b94f831bec79f68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js:121 \u00B7 elixir/web-ng/assets/js/hooks/charts/NetflowLineSeriesChart.js:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 399 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":"elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7ff99f3687d36e1b569e25f324602e5ef40156e54b2b8afc793273e53725c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js:85 \u00B7 elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js:3 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1569ea65ba5e0d2db3e0b8ea39e944da7a15133527786800f02222a11d567c3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js:128 \u00B7 elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js:370 \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":"elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2693ef472ff4c93552dec732a5e751749d35509612437de086ddc3e3f04fc5c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/lib/camera_relay/player.js:277 \u00B7 elixir/web-ng/assets/js/lib/camera_relay/player.js:403 \u2014 the two spans are one implementation copied and then locally edited \u2014 191 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":"elixir/web-ng/assets/js/lib/camera_relay/player.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e94ef675a58132881a43e1301aee51f42bd3c14553c0fc71844a3db5c0c04e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js:129 \u00B7 elixir/web-ng/assets/js/hooks/charts/FlowSparkline.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 223 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":"elixir/web-ng/assets/js/hooks/charts/FlowRateChart.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4c899c869a606cc2dc7f705e93921daa238b64352925d2a65ef25c2d65af3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/RemoteAccessTerminal.js:8 \u00B7 elixir/web-ng/assets/js/hooks/RemoteConsoleTerminal.js:8 \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":"elixir/web-ng/assets/js/hooks/RemoteAccessTerminal.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"41212a8faa6b5755a8dc2c325c4e7e1bf8729c39f3327d9d78d270fcbf1bced7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): elixir/web-ng/assets/js/dashboards/endpoint_inventory.js:10 \u00B7 elixir/web-ng/assets/js/dashboards/security_findings.js:22 \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":"elixir/web-ng/assets/js/dashboards/endpoint_inventory.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dafd9023f841b4d6d40484b13ea0fef62c1d80c960b66a56c9572d3d7544bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): elixir/web-ng/assets/js/dashboards/endpoint_inventory.js:401 \u00B7 elixir/web-ng/assets/js/dashboards/security_findings.js:805 \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":"elixir/web-ng/assets/js/dashboards/endpoint_inventory.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b78d2b11169aa03f0a656000bd4b073ab15d949c99d91f9dc5aa052c439881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/DashboardWasmHost.js:104 \u00B7 js/cli/harness/harness.js:193 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f25966f6535009f9e136c134a0c65a6eb8ac330d8332705f5115053beb3d798"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/NetflowSankeyChart.js:6 \u00B7 elixir/web-ng/assets/js/hooks/charts/NetflowTalkersIcicle.js:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 148 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":"elixir/web-ng/assets/js/hooks/charts/NetflowSankeyChart.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"de899807bef48086ed7079d4320ff19bd7347b0a6994472db290f3bcd8b7b26c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js:36 \u00B7 elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js:83 \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":"elixir/web-ng/assets/js/lib/god_view/layout_cluster_methods.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e29f8d470616ab22ba93ade39f3d4ee942644808506f329226bfd01da5f5d64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/JdmEditorHook.js:91 \u00B7 elixir/web-ng/assets/js/hooks/JdmEditorHook.js:143 \u2014 all 2 copies are in the same file, 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":"elixir/web-ng/assets/js/hooks/JdmEditorHook.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8e49b320dd01e084b1c4354e0c67f15f13d1f12f4c66951721f62790d8782d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/BGPTimeSeriesChart.js:159 \u00B7 elixir/web-ng/assets/js/hooks/charts/NetflowGridChart.js:236 \u2014 the two spans are one implementation copied and then locally edited \u2014 130 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":"elixir/web-ng/assets/js/hooks/charts/BGPTimeSeriesChart.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0440d85599025ff6164fe5df0bfd21e19570dd8989c67cdbfb7a033fd3cd02aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): js/cli/src/validation.ts:158 \u00B7 js/cli/src/validation.ts:252 \u2014 all 2 copies are in the same file, 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":"js/cli/src/validation.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d12fef8e199cf52dfbcff890540dd5c4a9db5fcd07354552f9e7dc3100090a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/RemoteAccessApplication.js:6 \u00B7 elixir/web-ng/assets/js/hooks/RemoteAccessTCPText.js:6 \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":"elixir/web-ng/assets/js/hooks/RemoteAccessApplication.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc1abb7fdc4c21580a9e2945675d8abf0dc5ddadade482e8d03c3a64f65b036"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js:82 \u00B7 elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_setup_methods.js:615 \u2014 the two spans are one implementation copied and then locally edited \u2014 138 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_dom_interaction_methods.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"50517ee0845761d6cf53910ab2f61301cb12d21155f4992c454c2d6d569d4d7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/FlowDonut.js:19 \u00B7 elixir/web-ng/assets/js/hooks/charts/FlowSparkline.js:11 \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":"elixir/web-ng/assets/js/hooks/charts/FlowDonut.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b178d2833a8ec0f1dd857158c5537cd2f6d457671fc12003afe063d8c9081"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): elixir/web-ng/assets/god_view_acceptance_geometry_observer.js:24 \u00B7 elixir/web-ng/assets/js/lib/god_view/rendering_scene_view.js:105 \u2014 the two spans are one implementation copied and then locally edited \u2014 218 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":"elixir/web-ng/assets/god_view_acceptance_geometry_observer.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04e3ac8497252ad192cec41c821772b461018d292bb9a3975475c0ae54959f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js:64 \u00B7 elixir/web-ng/assets/js/hooks/charts/NetflowTalkersIcicle.js:102 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStacked100Chart.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da556750562c4f9db315238a6287c13162fb0848468937533fcf6729fda4d07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): elixir/web-ng/assets/js/lib/srql/tokenizer.js:210 \u00B7 elixir/web-ng/assets/js/lib/srql/tokenizer.js:255 \u2014 all 2 copies are in the same file, 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":"elixir/web-ng/assets/js/lib/srql/tokenizer.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bc835fda73f44cadfdd4ca424d03cd1e8d2be710432614e094f6fbb04254a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): elixir/web-ng/assets/js/lib/srql/tokenizer.js:78 \u00B7 elixir/web-ng/assets/js/lib/srql/tokenizer.js:213 \u00B7 elixir/web-ng/assets/js/lib/srql/tokenizer.js:258 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/srql/tokenizer.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"753e6efe56c1fe6cab542f4ff7135ac4de6a217f9997b5df576a3932b185590c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/DashboardWasmHost.js:471 \u00B7 elixir/web-ng/assets/js/hooks/DashboardWasmHost.js:498 \u2014 all 2 copies are in the same file, 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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4823b17fcb19b96662e409c18ea5ce99d2cf89f66a14c5c806907ad6617aba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): elixir/web-ng/assets/js/hooks/RemoteAccessApplication.js:13 \u00B7 elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js:36 \u00B7 elixir/web-ng/assets/js/hooks/RemoteAccessTCPText.js:13 \u2014 the 3 copies are spread across 3 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":"elixir/web-ng/assets/js/hooks/RemoteAccessApplication.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"497b7ae0700a34b34bf6b9aefdf5e58ad927dad7c246511339c6512b2c5d58a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/NetflowSankeyChart.js:8 \u00B7 elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 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":"elixir/web-ng/assets/js/hooks/charts/NetflowSankeyChart.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da3556ff06b3298c308b7aa4d4f37d06dbf03617c584a0b8878b24ba4c762a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js:87 \u00B7 elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js:128 \u2014 the two spans are one implementation copied and then locally edited \u2014 268 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":"elixir/web-ng/assets/js/lib/god_view/acceptance_geometry_assertions.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ca2a0fdcc8e338468e04fa02df469daeb8a7099d0126404c6c3810cb48aaf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): elixir/web-ng/assets/js/utils/window_events.js:26 \u00B7 elixir/web-ng/assets/js/utils/window_events.js:46 \u2014 all 2 copies are in the same file, 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":"elixir/web-ng/assets/js/utils/window_events.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a6a4fe524b947def71fcfe63fe2e7a4cb1a417545becf4050b3a7947242333"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): js/cli/harness/dev.js:284 \u00B7 js/cli/harness/harness.js:233 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/harness/dev.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"767ede9c918866ba662ef78eed09a0146590981fde3e94773b8f2bcd444cf09f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/DashboardWasmHost.js:1611 \u00B7 elixir/web-ng/assets/js/hooks/MapboxFlowMap.js:124 \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":"elixir/web-ng/assets/js/hooks/DashboardWasmHost.js"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e9c8f50f22c3f96c52df3594d69b092d1ee27bcfabeddd5aa7d27ce3eec969"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/SRQLInput.js:48 \u00B7 elixir/web-ng/assets/js/hooks/SRQLInput.js:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 156 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":"elixir/web-ng/assets/js/hooks/SRQLInput.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"17364f6f345506579ac856eca009323e9075312616c4a4808c5c5365e8d7d881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js:274 \u00B7 elixir/web-ng/assets/js/hooks/charts/NetflowTrafficTooltip.js:128 \u2014 the two spans are one implementation copied and then locally edited \u2014 136 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":"elixir/web-ng/assets/js/hooks/charts/NetflowStackedAreaChart.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea349a092512388a0c75c80c833676c4d1ccb071f05fe3f6f43e5eceff6bdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): elixir/web-ng/assets/component/src/DashboardPanelChart.jsx:551 \u00B7 elixir/web-ng/assets/component/src/DashboardPanelChart.jsx:687 \u2014 all 2 copies are in the same file, 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":"elixir/web-ng/assets/component/src/DashboardPanelChart.jsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f1d77af0c5af89e835d38fc1cfd4c96636798d06ba5bbc3901e29b402dca16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx:3 \u00B7 elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx:20 \u00B7 elixir/web-ng/assets/component/src/RemoteAccessTCPText.jsx:3 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessApplication.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac2418acdf180d963cb97d86e59b551b97e1bcfe21979818435248f0b4b5c98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): elixir/web-ng/assets/js/hooks/RemoteAccessSSHConsole.js:81 \u00B7 elixir/web-ng/assets/js/hooks/RemoteConsoleTerminal.js:34 \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":"elixir/web-ng/assets/js/hooks/RemoteAccessSSHConsole.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d00dd5a792133af9e50fab671860dc3d1b4643a28883ebe6c0fb16fc8a61ae4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx:4 reaches into another package with a relative path (../../js/utils/user_time) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardBuilderCanvas.jsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a051d1fea29c77d05bc2378af10a71a93b0783e8fd8c038854d077e2a8a7006c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/component/src/DashboardPanelChart.jsx:21 reaches into another package with a relative path (../../js/utils/user_time) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/DashboardPanelChart.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f09611390fd39977809db86a87c1c0d32355b1a1e6ef2dcf07fc0b07d6fc412"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx:3 reaches into another package with a relative path (../../js/lib/remote_desktop/control_frame.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb29db299d7773198fac2745327ba8652abf2f38b76d1c0f85f98ad39fb628d6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx:10 reaches into another package with a relative path (../../js/lib/remote_desktop/renderer_state.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff0cacf2412bab11550d044255b4e8277ba5cc875aaa3e237cd80d657031d5a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx:11 reaches into another package with a relative path (../../js/lib/remote_desktop/renderer_runtime.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be5727d729fac9d7377079baea26ed75fa8d71b710960d90fd4f45bf43d5036"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx:12 reaches into another package with a relative path (../../js/lib/remote_desktop/webrtc_client.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d0eedfdc16cadb09b82d75c6be85ce967b94a22e45b4a4425dfeb8df88a739"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/component/src/SrqlEditor.jsx:2 reaches into another package with a relative path (../../js/lib/srql/monaco_srql.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/component/src/SrqlEditor.jsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1157c75c6641449a6314c62342256fb3f5801c3d6576512a8463b6c0985a239b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/DashboardBuilderCanvas.js:4 reaches into another package with a relative path (../../component/src/DashboardBuilderCanvas.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardBuilderCanvas.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee2f68ce643d1cd42f91b099cc0ffc2bbe35164cb120fdf8d2c9df8223cb095"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/DashboardPanelChart.js:4 reaches into another package with a relative path (../../component/src/DashboardPanelChart.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/DashboardPanelChart.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b4fdd045de8c5350c2857a3f15e9bbbf1fedf4ea11f3d5ff497af37c865803"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/RemoteAccessApplication.js:4 reaches into another package with a relative path (../../component/src/RemoteAccessApplication.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteAccessApplication.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0888cf1ce037d151d44d779d5e5342db18f0a59e5917cbf5b52a4c6661afea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js:4 reaches into another package with a relative path (../../component/src/RemoteAccessDesktopSession.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteAccessDesktopSession.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5557188488739d92ac3b8a43e7b16db39ff5798b7cbf8a74d0a1c75068607ee"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/RemoteAccessSSHConsole.js:6 reaches into another package with a relative path (../../component/src/RemoteAccessSSHConsole.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteAccessSSHConsole.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7992e406606e52252c0e21dc32b1babae0b94fe61323a3f02608780a954ab942"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/RemoteAccessTCPText.js:4 reaches into another package with a relative path (../../component/src/RemoteAccessTCPText.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteAccessTCPText.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cefd31c81ed7b5ccef82dcec95b6c8b0cf47ec3740f4e551d42885bd8ca6170"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/RemoteAccessTerminal.js:6 reaches into another package with a relative path (../../component/src/RemoteAccessTerminal.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteAccessTerminal.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3c331200e7f7bef4fef46c759445d9d509b671dac06dc55da4e5d927422bcf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: elixir/web-ng/assets/js/hooks/RemoteConsoleTerminal.js:6 reaches into another package with a relative path (../../component/src/RemoteConsoleTerminal.jsx) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/hooks/RemoteConsoleTerminal.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"540daba2f4237878ec1e5b2eb4f7e750758fe00a82d15071ca10059b62aaece3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js:1 imports elkjs/lib/elk.bundled.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/lib/god_view/layout_topology_state_methods.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac636b790f434b1a07814731bb0006965934f100eebd30481645ee5fe16e433a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: js/cli/src/validation.ts:93 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/cli/src/validation.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da9ff77f3b471241b910edff692b811cc63223852e4b83057674f43531e6a24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTopologyScene (cyclomatic 91, cognitive 152): validateTopologyScene has cyclomatic complexity 91 and cognitive complexity 152; 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62deb50d17cb661e982c60d05e242a4e552584eaecc5651a6c7a6967da11f8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTopologyOverview (cyclomatic 62, cognitive 81): validateTopologyOverview has cyclomatic complexity 62 and cognitive complexity 81; 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":"elixir/web-ng/assets/js/lib/god_view/layout_elk_radial_overview.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b27edb7b6b2d2ace2512d335bb0f0d3dfbba1d17aa982e6a3091fdffeb702"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSelectionDetails (cyclomatic 60, cognitive 53): renderSelectionDetails has cyclomatic complexity 60 and cognitive complexity 53; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_selection_methods.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd7d1e99487a08a361eea4a7f907b1c986db2cf9b10dc16a869078b85faf33b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _draw (cyclomatic 53, cognitive 56): _draw has cyclomatic complexity 53 and cognitive complexity 56; 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":"elixir/web-ng/assets/js/hooks/charts/NetflowSankeyChart.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9aaad11a595453f8b34cd5793e38b41cd9043e6e55e30180615156f16e3b39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 51): (anonymous) has cyclomatic complexity 49 and cognitive complexity 51; 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a103d7b144cfe67b25eb51af14bf9ddb5fa2609c671a314ac6bad001862b2447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _showFlowDetails (cyclomatic 44, cognitive 43): _showFlowDetails has cyclomatic complexity 44 and cognitive complexity 43; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a92c6cd720f1d0c3eeff964367dfc0bee9b6e6b1c02a9dce7f5c6780863b3fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 28): (anonymous) has cyclomatic complexity 44 and cognitive complexity 28; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487fb67cf81daf8d24d15cec09413b90437a29f23986fa235b91cf9561faa08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 31): (anonymous) has cyclomatic complexity 43 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f25a92d9d5615aef10441758503070d8abdbf11c36741e3452b3fd1f911816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildVisibleGraphData (cyclomatic 42, cognitive 45): buildVisibleGraphData has cyclomatic complexity 42 and cognitive complexity 45; 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":"elixir/web-ng/assets/js/lib/god_view/rendering_graph_data_methods.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28b5a9894495f7d460dc731ded4f27c5d4d1990d99f6bfa00bde9734888b1d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 37): (anonymous) has cyclomatic complexity 42 and cognitive complexity 37; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2437e5bfd3250ee9f77b7150331014a55096eef96d934a642744a58c95f743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPacketFlowInstances (cyclomatic 39, cognitive 57): buildPacketFlowInstances has cyclomatic complexity 39 and cognitive complexity 57; 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":"elixir/web-ng/assets/js/lib/god_view/rendering_style_edge_particle_methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b464d8ab4cd15571a83953294044df9b67a8aca460675b144b723010bc5f1db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Component (cyclomatic 36, cognitive 38): Component has cyclomatic complexity 36 and cognitive complexity 38; 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":"elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deed026deded833cabb2e68c955b9695e09abcfe9561c30231a3bf1b3d9288e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 24): (anonymous) has cyclomatic complexity 36 and cognitive complexity 24; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b65049e7635667d3c072a2b3eb45b30b0d8eeda6ef8816fad6f7e892b22636"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSnapshot (cyclomatic 34, cognitive 35): handleSnapshot has cyclomatic complexity 34 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_snapshot_methods.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a601874f2f05eb2caacc7ac5daf3bea3e7ff275bb4dd8f6bdefa07868cf57e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNodeTooltip (cyclomatic 34, cognitive 35): getNodeTooltip has cyclomatic complexity 34 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":"elixir/web-ng/assets/js/lib/god_view/rendering_tooltip_methods.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3b24492ef65c630d484072b23a6825bedf07e92638839aa5c6d22955e0d5dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCommand (cyclomatic 32, cognitive 53): applyCommand has cyclomatic complexity 32 and cognitive complexity 53; 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":"js/cli/src/plugin/apply.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"524f061eff0746c781bd50d1d19a2e9798cf334383316c6b6320a9fc8c52ba62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDeviceCodeFlow (cyclomatic 32, cognitive 49): runDeviceCodeFlow has cyclomatic complexity 32 and cognitive complexity 49; 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":"js/cli/src/auth/login.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffa8344df820408b5eacb24034b793f4a1c92eaade8be076de58ad449f89bae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeArrowGraph (cyclomatic 31, cognitive 47): decodeArrowGraph has cyclomatic complexity 31 and cognitive complexity 47; 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":"elixir/web-ng/assets/js/lib/god_view/lifecycle_stream_decode_methods.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca1585aca9fe626270782ee892b45cd1570bbf2f01e0ded720320689631d1f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishCommand (cyclomatic 31, cognitive 30): publishCommand has cyclomatic complexity 31 and cognitive complexity 30; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"js/cli/src/dashboard/publish.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce500026a3d1d4a34667c851886c18788972a03b9aeb28eb89356d6a11356c8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _applyBrandBasemapTint (cyclomatic 30, cognitive 36): _applyBrandBasemapTint has cyclomatic complexity 30 and cognitive complexity 36; 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":"elixir/web-ng/assets/js/hooks/MapboxFlowMap.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82a95f0cc724ff777cfec95adf95058ee94cff643508eb13066fcb9f1d07081"}},{"ruleId":"R3","level":"warning","message":{"text":"Large Files: 27 file(s) over 400 lines (counted as significant lines \u2014 blank lines excluded \u2014 over production source only, tests excluded), largest first: elixir/web-ng/assets/js/hooks/OperationsTrafficMap.js (1699), elixir/web-ng/assets/js/hooks/DashboardWasmHost.js (1622), elixir/web-ng/assets/component/src/RemoteAccessSSHConsole.jsx (1347), elixir/web-ng/assets/js/lib/god_view/rendering_graph_view_methods.js (1187), elixir/web-ng/assets/js/lib/god_view/layout_elk_scene.js (1164), elixir/web-ng/assets/component/src/RemoteAccessDesktopSession.jsx (911) (\u002B21 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cecee31b569df4f07e06db732f1ca037af27b5afef9023da51f9673d931a142f"}},{"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":"elixir/web-ng/assets/god_view_elk_scene_acceptance.playwright.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b5b7cb3286523b8d0e7d515772e9f81dbef6b07649be7ebf7c914f2f06dbe9"}},{"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":"js/cli/harness/harness.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d0534b2a1cf9560c8877058b7bd35f388940f6f3da3ac86655a811b5708691"}},{"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":"js/cli/harness/dev.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fad4b368031c19e8408022c11f6378f6bf1759c251a6a8147f6acfda0663452"}},{"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":"elixir/web-ng/assets/god_view_elk_scene_harness.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64832c281ed2e7e69624274dfcf10ab0481b6bd4b1db55391569ce975d94f94"}},{"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":"js/cli/templates/react-map/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5defb4c718973afe315bc24635b90231d47b44c1be50383b2b3d2b72c21a91bf"}},{"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":"elixir/web-ng/assets/component/src/SrqlEditor.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a49d4ad7d6777efe723d65f36c196cd7704d1f026dec7f53759282cd442a13"}},{"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":"js/cli/templates/react-table/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5c387b14b5bcb72548b352f9d822a35c3fdaf339abc4dbdaaea863776e4212"}},{"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":"elixir/web-ng/assets/component/src/JdmEditor.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbf923a97a3965a2eca856a995d17200a49d59eca8de5fe9adab0268aabd384"}},{"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":"elixir/web-ng/assets/js/theme_init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaf05e85543d534ba7ff0dcd9fb87906427126ef38a40a40b9c663d4599e42b"}},{"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":"elixir/web-ng/assets/god_view_scene_test_runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf97b7f5b2e01d2e883375be002a027b1e0ae864cf376ddb4df8d2d3fd83e90b"}},{"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":"js/cli/bin/serviceradar-dashboard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d7c1118c7c3cd483cfdaed6ff3b5445d48f4db4b66d19fe1de8e18b34ee613"}},{"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":"js/cli/templates/react-blank/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed12fc24d0a44c2f34ff8df882daf269a8659187fbcb121390e07e06da6bb1e"}},{"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":"elixir/web-ng/assets/god_view_elk_scene_bundle.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d0327944c9f1a215fd39347a21336421173775e1503fb96fe988b321d58cb2"}},{"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":"elixir/web-ng/assets/timestamp_formatter_test_runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08c7f1897920e8d94a844eadebfefcd3418899f9b98cf020d3477d68ce5861f"}},{"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":"elixir/web-ng/assets/test-draw-uniforms.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e619b8d882b80cdcf746e1e86f5ec07aba6afd2dd35016b2490b8001a33ac9"}},{"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":"elixir/web-ng/assets/js/lib/god_view/layout_methods.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c73bad634ac302e8f0a7d39dcd5cfdd55a6c5bec191cabec20e35c4da10081d"}},{"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":"elixir/web-ng/assets/test-deck-layer-2.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2ae3cfaf187071ab0f42c02c28eb23b2373b93b72264043a03d7a5d2be1705"}},{"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":"elixir/web-ng/assets/test-deck-layer.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc22f61f3110f1f07fc5077c3f5989d7f3587df3c3344e3e2f6310e0aae7dcfa"}},{"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":"elixir/web-ng/assets/test-deck-props.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5789cdad6fb64ae74db5afa7434e9924c8dd5f8491c14d7e812164457674a4"}},{"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":"elixir/web-ng/assets/test-luma-constant.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"816b216f0bae7714124e5015b6642ca4517fd32a3101626884bf93b5552b72e0"}},{"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":"elixir/web-ng/assets/test-luma-shader.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49e856ebb05d77e2254cc2e5297059dea252aed3479467b524d6b0b9f786e42"}},{"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":"elixir/web-ng/assets/test-luma.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"588d17f099672d159c5f113f88b53f777c806a60950dbcd258628dc1e820c58f"}},{"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":"elixir/web-ng/assets/test-luma.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeeefa14da50f999b99f39d62cfe0381cb585fade2e6e6c3c67727951723ff1"}},{"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":"elixir/web-ng/assets/test-time.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f00e350540b2c35840d5c3790246b6a47964c9b57dfeee2173d64db4ac42e4"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027d3-scale\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/assets/js/utils/chart_axis_grid.test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5623acd512d3c810a1fa556bc7d0043555b95f833efc10950f5779ad3f8652a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]/aggregation-layers\u0027: Declared in elixir/web-ng/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":"1f9003d3018dbf11494a4dbe4e6d1c6c0d6ddad4ecc4bfbcbb704c3b5cf50854"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]/mesh-layers\u0027: Declared in elixir/web-ng/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":"444150eb0bfbd8f21159e9dba31fc11e10e18e236284f84e2103fcc8fde48025"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]/gltf\u0027: Declared in elixir/web-ng/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":"29cc538bb6ca19260c795fdaf9817706b06bf72ce46c8e1ec9eca179a868b64c"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060Caddyfile\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/compose/Caddyfile"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63b0f9aa0506430e8815c70f4d0b86bf4e462b8d72ae6fd82cbc84d82906a0"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060strings.HasSuffix(key, \u0022_bytes_total\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060strings.HasSuffix(key, \u0022_bytes_total\u0022)\u0060 also satisfies \u0060strings.Contains(key, \u0022_bytes_\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go/pkg/agent/metric_envelope.go"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc906a132cd37e8a1786e75f968425316bea3a64f3b1ee3d13af4561694d046"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060sql.contains(\u0022\u003C\u003C= \u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060sql.contains(\u0022\u003C\u003C= \u0022)\u0060 also satisfies \u0060sql.contains(\u0022\u003C\u003C=\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/tests/translation.rs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dc46c77805cad60dcf7415701266693033f01781d76b3e6b519cef56429271"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060lower.contains(\u0022device_type\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060lower.contains(\u0022device_type\u0022)\u0060 also satisfies \u0060lower.contains(\u0022type\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/srql/src/query/tests/device_queries.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48bec0b37e5fdf9d6189ed8040f12c048ed1cd027c3c8d71935163ec7ccbd52"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060String.contains?(tag, \u0022vulnerability\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060String.contains?(tag, \u0022vulnerability\u0022)\u0060 also satisfies \u0060String.contains?(tag, \u0022vuln\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20c4e72bf623cf8111705fc050ea3d9629732b128c4b075f6ea5db4b1aca6ee"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060String.contains?(tag, \u0022misconfiguration\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060String.contains?(tag, \u0022misconfiguration\u0022)\u0060 also satisfies \u0060String.contains?(tag, \u0022configuration\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/serviceradar_core/lib/serviceradar/event_writer/falco_decomposition.ex"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e430c32c072329561a71077e77d86cae8524172f4dcfe11663262df63c346a0d"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060String.contains?(text, \u0022ifoutoctets\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060String.contains?(text, \u0022ifoutoctets\u0022)\u0060 also satisfies \u0060String.contains?(text, \u0022ifout\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"elixir/web-ng/lib/serviceradar_web_ng_web/live/event_live/show.ex"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb34a7783a72f38bee2132f8d269c3265a27a363cdb3a1b17b530083772cb3be"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.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-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"CWE-22","shortDescription":{"text":"CWE-22"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"CWE-248","shortDescription":{"text":"CWE-248"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-290","guid":"379b1e66-a292-7b59-aa1e-a5bb4a6a99e9","name":"CWE-290","shortDescription":{"text":"CWE-290"},"helpUri":"https://cwe.mitre.org/data/definitions/290.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"CWE-295","shortDescription":{"text":"CWE-295"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-322","guid":"f9bcce90-227a-d056-9902-7b1c2f9f299c","name":"CWE-322","shortDescription":{"text":"CWE-322"},"helpUri":"https://cwe.mitre.org/data/definitions/322.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"CWE-330","shortDescription":{"text":"CWE-330"},"helpUri":"https://cwe.mitre.org/data/definitions/330.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"CWE-338","shortDescription":{"text":"CWE-338"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"CWE-345","shortDescription":{"text":"CWE-345"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"CWE-391","shortDescription":{"text":"CWE-391"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"CWE-668","shortDescription":{"text":"CWE-668"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"CWE-703","shortDescription":{"text":"CWE-703"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-787","guid":"8db42c17-be38-9957-afe3-9de34680c2b5","name":"CWE-787","shortDescription":{"text":"CWE-787"},"helpUri":"https://cwe.mitre.org/data/definitions/787.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-823","guid":"971daa90-fe83-3956-970a-053292798b9e","name":"CWE-823","shortDescription":{"text":"CWE-823"},"helpUri":"https://cwe.mitre.org/data/definitions/823.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"CWE-95","shortDescription":{"text":"CWE-95"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":507,"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."]}]}