{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"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":"AppModel::handle_msg (cyclomatic 54): AppModel::handle_msg has cyclomatic complexity 54 (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":"lact-gui/src/app.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c918afee43072d8d82f3ea1003685568d34ad991993ce8a50e90156e06d7cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"AmdGpuController::apply_config (cyclomatic 40): AmdGpuController::apply_config has cyclomatic complexity 40 (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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"86701cc657db2355410bc9d2e1f3e09e0208fea6ddbb574a77363a52863b0d74"}},{"ruleId":"D1","level":"warning","message":{"text":"VfCurveEditor::draw_chart (cyclomatic 37): VfCurveEditor::draw_chart has cyclomatic complexity 37 (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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3febdf2dbf74563b3b3b326d1eafd4a97f4e4b804fda9b351f208f9eb717e214"}},{"ruleId":"D1","level":"warning","message":{"text":"lact_daemon::server::gpu_controller::amd::apply_clocks_config_to_table (cyclomatic 35): lact_daemon::server::gpu_controller::amd::apply_clocks_config_to_table 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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca45adaee3ec0f4310ab7ff9ed7bd35402bb2d32557ce446d6be2f1cc16a976e"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::migrate_versions (cyclomatic 32): Config::migrate_versions 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":"lact-daemon/src/config.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f644b5e63b73f994ba791f89fdb99883f7477efdc211ea7c9de6c70319b0fa85"}},{"ruleId":"D1","level":"warning","message":{"text":"VfCurveEditor::update_with_view (cyclomatic 26): VfCurveEditor::update_with_view 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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e4add566787bbd25dddea8a04bbe40a0a4d44e51ba5f0abb2935c49fa6f25e"}},{"ruleId":"D1","level":"warning","message":{"text":"NvidiaGpuController::apply_config (cyclomatic 23): NvidiaGpuController::apply_config 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b5a9b721b4077ded8f53295014d30ccbae61d12cc6570d8bf05c13770b478"}},{"ruleId":"D1","level":"warning","message":{"text":"AmdGpuController::start_curve_fan_control_task (cyclomatic 19): AmdGpuController::start_curve_fan_control_task 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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3931cb260d101cfdaf71ffa173de969a6a2cdd827f34dfea45833bbf2f799a1"}},{"ruleId":"D1","level":"warning","message":{"text":"lact_daemon::server::profiles::profile_rule_matches (cyclomatic 18): lact_daemon::server::profiles::profile_rule_matches 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":"lact-daemon/src/server/profiles.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9d987a16e4c3fa47fbbd208f4c6d2baccb363cc244cf5fe26eaa8ec1d03b53"}},{"ruleId":"D1","level":"warning","message":{"text":"IntelGpuController::apply_config (cyclomatic 16): IntelGpuController::apply_config 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: IntelGpuController::freq_path (cyclomatic 17) 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":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8939a10282f69026cf944c3ee579101a8545e8a8ab511b140dc631566d0c8"}},{"ruleId":"D1","level":"warning","message":{"text":"lact_daemon::server::metrics::collect_metrics (cyclomatic 16): lact_daemon::server::metrics::collect_metrics 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":"lact-daemon/src/server/metrics.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"682b79c7efb49820238ac60e857f674dc9072677a73f9debcc4b5d11f809d831"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphsWindow::update_with_view (cyclomatic 16): GraphsWindow::update_with_view 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":"lact-gui/src/app/graphs_window/mod.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c00f3394a2da494dadd14dcf42e1f64eba991ea0f504b99d8b8798071f9348"}},{"ruleId":"D1","level":"warning","message":{"text":"ClocksFrame::set_amd_table (cyclomatic 16): ClocksFrame::set_amd_table 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":"lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0b918bda0e9d7fad4d3230487fd62d587e18a2010f11e6c165e2b0f83ce2e3"}},{"ruleId":"D1","level":"warning","message":{"text":"PerformanceFrame::update_with_view (cyclomatic 16): PerformanceFrame::update_with_view 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":"lact-gui/src/app/pages/oc_page/performance_frame/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c1e8f55d834862f58524d94580e007b3d9660c9de955fa1b49253f7d5abbfa"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileSelector::update_with_view (cyclomatic 16): ProfileSelector::update_with_view 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":"lact-gui/src/app/profiles.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc4262147420a60347a9ed662d806cef9075f2212e463b9a419c71067993452"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::migrate_versions (cognitive 86): Config::migrate_versions has cognitive complexity 86 (threshold 15). Drivers by points: if/else 12 (54 pts), loops 7 (22 pts), match/switch 2 (6 pts), boolean chains 4 (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/config.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c025ecd41e0123d8cbb0727860815a0897d744a0758f900a8c7eb7c1cb3d8e4"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::gpu_controller::amd::apply_clocks_config_to_table (cognitive 85): lact_daemon::server::gpu_controller::amd::apply_clocks_config_to_table has cognitive complexity 85 (threshold 15). Drivers by points: if/else 25 (65 pts), loops 4 (10 pts), match/switch 5 (10 pts) (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c74bc0df6241e7a881378f29296717dcc664f998bdaccace5380e69dcc0e06d"}},{"ruleId":"D2","level":"warning","message":{"text":"AmdGpuController::apply_config (cognitive 77): AmdGpuController::apply_config has cognitive complexity 77 (threshold 15). Drivers by points: if/else 27 (51 pts), match/switch 5 (13 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b406ccc223850926d1d1d97bd323a5c141dd8902e4cda35d71f4589b8ff8513"}},{"ruleId":"D2","level":"warning","message":{"text":"VfCurveEditor::draw_chart (cognitive 58): VfCurveEditor::draw_chart has cognitive complexity 58 (threshold 15). Drivers by points: if/else 30 (41 pts), loops 4 (10 pts), boolean chains 7 (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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bc2b048d843908fcd0cdcc858b6760369760c47e460e34f6c86180458bf3bf"}},{"ruleId":"D2","level":"warning","message":{"text":"GameModeConnector::receieve_events (cognitive 55): GameModeConnector::receieve_events has cognitive complexity 55 (threshold 15). Drivers by points: if/else 7 (34 pts), match/switch 4 (18 pts), loops 2 (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":"lact-daemon/src/server/profiles/gamemode.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570cc806fd50ec689773abb6f22b11d9d88dd2c4dc92b903727ce006548c70c"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::gpu_controller::common::fdinfo::read_process_list (cognitive 54): lact_daemon::server::gpu_controller::common::fdinfo::read_process_list has cognitive complexity 54 (threshold 15). Drivers by points: if/else 8 (34 pts), loops 4 (16 pts), match/switch 1 (3 pts), boolean chains 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":"lact-daemon/src/server/gpu_controller/common/fdinfo.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0de1dd85030a815b2365a55836714fe8f76105c9fd986d1f9fe77cd80e43fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::profiles::profile_rule_matches (cognitive 52): lact_daemon::server::profiles::profile_rule_matches has cognitive complexity 52 (threshold 15). Drivers by points: if/else 9 (34 pts), match/switch 3 (9 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 36). 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":"lact-daemon/src/server/profiles.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9dff2e14f430d5f71c94f64e9d971faa31662d5593b9cf53fddbb1d16bbf2d"}},{"ruleId":"D2","level":"warning","message":{"text":"NvApi::read_vram_temps (cognitive 49): NvApi::read_vram_temps has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (37 pts), loops 3 (9 pts), boolean chains 3 (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":"lact-daemon/src/server/gpu_controller/nvidia/nvapi.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce30316bf0e5a95af135027d7190e354dfbe2d76605d669f304b287a604bfc77"}},{"ruleId":"D2","level":"warning","message":{"text":"AmdGpuController::start_curve_fan_control_task (cognitive 41): AmdGpuController::start_curve_fan_control_task has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (34 pts), match/switch 3 (5 pts), boolean chains 1, loops 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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a6cb566e405b3c78053dc88e7fb2f74494709fcdff56ae4202aa8df94b1017"}},{"ruleId":"D2","level":"warning","message":{"text":"VfCurveEditor::update_with_view (cognitive 37): VfCurveEditor::update_with_view has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 3 (8 pts), boolean chains 4, 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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ef705e54125fbfe12d55dcc48875f7eefde24f807faa36c23a5d30244f7250"}},{"ruleId":"D2","level":"warning","message":{"text":"NvidiaGpuController::apply_config (cognitive 36): NvidiaGpuController::apply_config has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 4 (8 pts), match/switch 3 (4 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d8b2d07470c01fc8b1d30f5da72f98ff4b2096843f566627c1746650361db4"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::config::start_watcher (cognitive 36): lact_daemon::config::start_watcher has cognitive complexity 36 (threshold 15). Drivers by points: match/switch 4 (17 pts), if/else 3 (14 pts), loops 2 (5 pts) (nesting depth added 27). 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":"lact-daemon/src/config.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f02f8e2b2f586f8a6bc77caa2ec95ac48ec2616ad5a7915142a53935dc888f9"}},{"ruleId":"D2","level":"warning","message":{"text":"InformationPage::update_items (cognitive 35): InformationPage::update_items has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (10 pts), match/switch 2 (10 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-gui/src/app/pages/info_page.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66a927c117918a4b7f9b3ad924a23beac044e4305c2c389fa359eff2523c619"}},{"ruleId":"D2","level":"warning","message":{"text":"ClocksFrame::set_amd_table (cognitive 35): ClocksFrame::set_amd_table has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 19). 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":"lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceabd519d133c2e8098e4c87bb15d29b71cadeda35f0d903d86e044ecb961ba"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModel::handle_msg (cognitive 34): AppModel::handle_msg has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 5 (10 pts), boolean chains 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":"lact-gui/src/app.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bb72053d0f65c6d41d1586466b670270723a4c12dbaedb563a795bb1d8886b"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::opencl::extract_device_info (cognitive 33): lact_daemon::server::opencl::extract_device_info has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 5 (11 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":"lact-daemon/src/server/opencl.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"48975cc892dab4934348827554616fd022757c0fcc36ece81ca0d8c3dc8fcef4"}},{"ruleId":"D2","level":"warning","message":{"text":"NvidiaGpuController::start_curve_fan_control_task (cognitive 32): NvidiaGpuController::start_curve_fan_control_task has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (7 pts), match/switch 1 (2 pts), boolean chains 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4dba7a6b8f8aa293cddfb52f77800ddb2897d1824a36d72c1c0c24a9910fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"NvidiaGpuController::get_stats (cognitive 31): NvidiaGpuController::get_stats has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (7 pts), match/switch 1 (3 pts), boolean chains 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1965f1ec6f037fa610158086148a0df333110f64a3700953fe1ff31e99772b"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler::set_fan_control (cognitive 31): Handler::set_fan_control has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (28 pts), match/switch 2 (3 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":"lact-daemon/src/server/handler.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4209f7d7d9124d41fc4fa1ccfbe3a480705dd3ea4d753184911caa25888b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::profiles::run_watcher (cognitive 31): lact_daemon::server::profiles::run_watcher has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 6 (17 pts), loops 4 (10 pts), if/else 3 (4 pts) (nesting depth added 18). 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":"lact-daemon/src/server/profiles.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"000211330baebb179542c8b0f43e54d58181c23f126fc899875c889e0ce14cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelGpuController::apply_config (cognitive 28): IntelGpuController::apply_config has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (3 pts), boolean chains 2, loops 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":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc170ac4c7a115383a5f1f0a621e9e0166a5466fcf058d82ef8f10fb913a16d"}},{"ruleId":"D2","level":"warning","message":{"text":"ThermalsPage::update_with_view (cognitive 27): ThermalsPage::update_with_view has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 4 (12 pts), loops 2 (8 pts), if/else 3 (6 pts), boolean chains 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":"lact-gui/src/app/pages/thermals_page.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd33f57084ac8accf1876d9461c32986e671d5a7b06b78c4c3ea65e47289507"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelGpuController::get_throttle_info (cognitive 26): IntelGpuController::get_throttle_info has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (5 pts), boolean chains 3, match/switch 1 (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":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36efdad234e2577f8fdc5412be1718d4695023985d8871a1c6f07acf095478a"}},{"ruleId":"D2","level":"warning","message":{"text":"NvidiaGpuController::reset_clocks (cognitive 25): NvidiaGpuController::reset_clocks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (5 pts), boolean chains 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"8231d1b97b067b3a38e7e9d55cb0262abe2bd39dded6bd222e6767f074392d16"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceInfo::info_elements (cognitive 25): DeviceInfo::info_elements has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, 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":"lact-schema/src/lib.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7767292e168733dcc2ff0094806ccd89d6ed37f0af621be7929e62418eaf09"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::vulkan::get_vulkan_info (cognitive 24): lact_daemon::server::vulkan::get_vulkan_info has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 1 (4 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":"lact-daemon/src/server/vulkan.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cec099136785be91b43c62695d95f39183eee3cff8729dbf59a498acbdf8d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"NvidiaGpuController::populate_displays_info (cognitive 22): NvidiaGpuController::populate_displays_info has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 2 (8 pts), loops 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a86ff18a2be5a610be3b65b7b6f2e1cfe9ba12fbfe0b464eb84fa0c3a7f36b"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::system::power_profiles_daemon::disable_conflicting_actions (cognitive 22): lact_daemon::system::power_profiles_daemon::disable_conflicting_actions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (8 pts), boolean chains 2, 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":"lact-daemon/src/system/power_profiles_daemon.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"769c492a99a2e3684bbe6eb986802732f37a691f16a1c5bc803a71c45edf35c5"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::gpu_controller::common::fdinfo::parse_fdinfo (cognitive 22): lact_daemon::server::gpu_controller::common::fdinfo::parse_fdinfo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (5 pts), boolean chains 2, 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":"lact-daemon/src/server/gpu_controller/common/fdinfo.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ebc371cbbb038057c074e5f4fae89c8961c4135d35e9823d7a50c49d1d8c41"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_cli::subcommands::stats (cognitive 21): lact_cli::subcommands::stats has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 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":"lact-cli/src/subcommands.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4847778b37e19309eb572f1ec706968d3be7b3d2af2247d6330c74285efa889"}},{"ruleId":"D2","level":"warning","message":{"text":"AmdGpuController::get_stats (cognitive 21): AmdGpuController::get_stats has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (7 pts), boolean chains 4 (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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"70718d8a21624578405a28509f50b9ee52d579fc21ac80900527c5f28823271d"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_gui::app::profiles::profile_rule_window::profile_rule_row::format_rule (cognitive 21): lact_gui::app::profiles::profile_rule_window::profile_rule_row::format_rule has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 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":"lact-gui/src/app/profiles/profile_rule_window/profile_rule_row.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e79b67ad5af8f3336bc4ddc4e7ea00f604d0657359af7eef09e0aca53f0515"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::handler::add_path_recursively (cognitive 20): lact_daemon::server::handler::add_path_recursively has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (3 pts), loops 1 (2 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":"lact-daemon/src/server/handler.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe6b49689083361fcc431eeae3e75abb7db5b7ee75eb8a5ef4bd2ae4c546660"}},{"ruleId":"D2","level":"warning","message":{"text":"ClocksFrame::update_with_view (cognitive 20): ClocksFrame::update_with_view has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 3 (7 pts), loops 3 (6 pts), if/else 2 (5 pts), boolean chains 2 (nesting depth added 10). 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":"lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f9984b14ad2e920efce7bd52f78eee233742d55c4b5cb549e0dc7738b9cb36"}},{"ruleId":"D2","level":"warning","message":{"text":"PerformanceFrame::update_with_view (cognitive 20): PerformanceFrame::update_with_view has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 4 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 8). 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":"lact-gui/src/app/pages/oc_page/performance_frame/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"becade43adca0ff874b78b0eee990c8f431723b827acefd499f00053fb2e90f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessMonitorWindow::update (cognitive 20): ProcessMonitorWindow::update has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (5 pts), loops 2 (4 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":"lact-gui/src/app/process_monitor.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c7d0a52f33ca45cb646e94dd2bb037dca7f9e90f89c532973204a05cb9830d"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler::with_base_path (cognitive 19): Handler::with_base_path has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 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":"lact-daemon/src/server/handler.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc3c1c9ec3505744b206048262baacefa2727b9bf3c9918180040b6d33e6534"}},{"ruleId":"D2","level":"warning","message":{"text":"FanCurveFrame::update_with_view (cognitive 19): FanCurveFrame::update_with_view has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (8 pts), match/switch 1 (nesting depth added 8). 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":"lact-gui/src/app/pages/thermals_page/fan_curve_frame.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c062b90f34e259280f78ecfdb54032b4981227cd4ca168bf4be0f599d103b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileSelector::update_with_view (cognitive 19): ProfileSelector::update_with_view has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 2 (3 pts) (nesting depth added 10). 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":"lact-gui/src/app/profiles.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b9352a8834b1b2fd63c45d2f3cf9ce55c3a2dc36e036cf8d2005510c8d23b0"}},{"ruleId":"D2","level":"warning","message":{"text":"NvidiaGpuController::get_clocks_info (cognitive 18): NvidiaGpuController::get_clocks_info has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 1 (4 pts), loops 2 (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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"755d150194d534be45cf809f38421d8daf6907021f2c15c4587b05fccfb84b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::metrics::collect_metrics (cognitive 17): lact_daemon::server::metrics::collect_metrics has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), 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":"lact-daemon/src/server/metrics.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"adea042c665c97e9cdedfeb51831310652b2799ef29207ccba71de9f5506de8a"}},{"ruleId":"D2","level":"warning","message":{"text":"lact_daemon::server::gpu_controller::init_controller (cognitive 17): lact_daemon::server::gpu_controller::init_controller has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 6 (8 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":"lact-daemon/src/server/gpu_controller.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaacc69972f02451778618a9e9552b9dffe2d02be7c9df08fc666d84d49bf651"}},{"ruleId":"D2","level":"warning","message":{"text":"StatsData::update_with_timestamp (cognitive 17): StatsData::update_with_timestamp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 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":"lact-gui/src/app/graphs_window/stat.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d7d4752235b661370ef6078b584dbb7aff1e760df8b936189ac17d4b3ae31c"}},{"ruleId":"D2","level":"warning","message":{"text":"IntelGpuController::new (cognitive 16): IntelGpuController::new has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (4 pts), boolean chains 2, match/switch 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":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0167fafbbb976f80f3691ef8de2b3a9ade26cc2b23b209faf79ed3e4792f9dde"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler::generate_snapshot (cognitive 16): Handler::generate_snapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 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":"lact-daemon/src/server/handler.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24ac88d9b57b33b1adea7ad0bcc6759e71f500af297e6808d058c862a4c12c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::run (cognitive 16): Server::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 2 (5 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":"lact-daemon/src/server.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13dc9fed145187c09727f2e458c8238a11aceb70162a609522ab8cd41ae0bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AdjustmentRow::update_with_view (cognitive 16): AdjustmentRow::update_with_view has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 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":"lact-gui/src/app/components/adjustment_row.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e932525095320edcfe6cc1aa5dd9a2cc0de98fecd313fce19f8c41baa2004b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppModel.handle_msg: MethodTooLong \u2014 handle_msg runs 262 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 162 over it, 2.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":"lact-gui/src/app.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"829cbc4e85a1a3993ad865c491ad895e6970a94a87a315cce62e29024e2a91e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VfCurveEditor.draw_chart: MethodTooLong \u2014 draw_chart runs 248 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 148 over it, 2.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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"285fd84eb93cdd316c5a6ba347776fca17e4add94c8483014d60ae0ba51aa794"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AmdGpuController: ClassTooLong \u2014 961 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), 18 methods, 3 blocks, lines 67-1478. The bar is 400 significant lines; this is 561 over it, 2.40\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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e1756f240541b20f99d4e570125be484bf5a474f27543290febd0b8724d48d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gpu_controller/amd.rs: FileTooLong \u2014 1162 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 83% of them inside a single declaration: AmdGpuController (3 blocks, 67-1478). The bar is 500 significant lines; this is 662 over it, 2.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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0547365346b05f71725e5211ac3cabaa38ba96ca7f88952bf86a5d0df0a17ca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppModel: ClassTooLong \u2014 926 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, 3 blocks, lines 104-1432. The bar is 400 significant lines; this is 526 over it, 2.32\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":"lact-gui/src/app.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d042dfba16c86ea5b19c70a5ea88edf4cb4c1c7e8647b7b94fa1fe2f176e22"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NvidiaGpuController: ClassTooLong \u2014 894 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), 14 methods, 3 blocks, lines 61-1562. The bar is 400 significant lines; this is 494 over it, 2.24\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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"065a0a38a3dc9f438fc3e642be21e97e5e98a5eb41b29e78e096fcd45a0355f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/handler.rs: FileTooLong \u2014 1100 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 73% of them inside a single declaration: Handler (2 blocks, 105-1319). The bar is 500 significant lines; this is 600 over it, 2.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":"lact-daemon/src/server/handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff3259549438b9d080b62aecc4d1c037d5c80b9ab836a6357bf3cb65a7405b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/app.rs: FileTooLong \u2014 1087 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 85% of them inside a single declaration: AppModel (3 blocks, 104-1432). The bar is 500 significant lines; this is 587 over it, 2.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":"lact-gui/src/app.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0513f91adfa018971881f0e64e257bea6a78150328bed03ae43cb34da13ab177"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gpu_controller/nvidia.rs: FileTooLong \u2014 1076 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 83% of them inside a single declaration: NvidiaGpuController (3 blocks, 61-1562). The bar is 500 significant lines; this is 576 over it, 2.15\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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f38ad64fdc55557697356fcde9a731d7c721c7c5bc309cc38b692bbac1f27b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Handler: ClassTooLong \u2014 801 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), 49 methods, 2 blocks, lines 105-1319. The bar is 400 significant lines; this is 401 over it, 2.00\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":"lact-daemon/src/server/handler.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e7afe73d2ba982d713f5b08080c2fb60557e40cd4b7ab7dbf6ab05673573c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AmdGpuController.get_stats: MethodTooLong \u2014 get_stats runs 193 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 93 over it, 1.93\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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"78712e92d0ef80079b4abb249123f554c33e4ff5ffc294e6bad95e9dccd2a2ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AmdGpuController.apply_config: MethodTooLong \u2014 apply_config runs 186 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 86 over it, 1.86\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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf23efd0db5b4ba2f5010ac82936327a5435ba94c6ff32c6d91e9efe162669c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NvidiaGpuController.get_stats: MethodTooLong \u2014 get_stats 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5587678ef6f181d5901b6834b27e24aebe2809d8f22c772567f5911a92e469"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"lact-daemon/src/server/handler.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d46c121b2a9ac73c817a2e6105d349de440af580a40143a418c13c88ed7c1c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppModel.init: MethodTooLong \u2014 init runs 157 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 57 over it, 1.57\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":"lact-gui/src/app.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0469f561552375b3867b6bdc32634ca146df4ee6cdd460a9672ee9278508693e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IntelGpuController: ClassTooLong \u2014 610 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), 29 methods, 3 blocks, lines 60-988. The bar is 400 significant lines; this is 210 over it, 1.53\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":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e58af8b8b55e36ffc81a7b55622985358025f88e2c431c1088d1d264a71767"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VfCurveEditor: ClassTooLong \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), 7 methods, 3 blocks, lines 37-912. The bar is 400 significant lines; this is 186 over it, 1.47\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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ea51c79698713a4c7abf98af051e0f81eadb44687fe39ebdeda146e88b7173"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lact_daemon::server::metrics::collect_metrics: FunctionTooLong \u2014 lact_daemon::server::metrics::collect_metrics runs 143 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 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":"lact-daemon/src/server/metrics.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f9299514db0715e1786221a3965a19958b6d34a1610331a0a3ab06ef834e89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 711 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 211 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":"lact-schema/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff26da8e26ae5813e27302389f4bf9a1c82a1c8f4f27c50e945c408d5ac08f33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gpu_controller/intel.rs: FileTooLong \u2014 701 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 87% of them inside a single declaration: IntelGpuController (3 blocks, 60-988). The bar is 500 significant lines; this is 201 over it, 1.40\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":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fbfc495fdfc75d0d6c51b12d75c6c82ad7c83394b564053b51b83a3e1770f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderRequest.draw: MethodTooLong \u2014 draw runs 138 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 38 over it, 1.38\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":"lact-gui/src/app/graphs_window/plot/render_thread.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9b088839435fcfd2779c7c3aaaac95a72b9e60579731de3e4fff24b8fcd546"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oc_page/vf_curve.rs: FileTooLong \u2014 645 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 91% of them inside a single declaration: VfCurveEditor (3 blocks, 37-912). The bar is 500 significant lines; this is 145 over it, 1.29\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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc04f613e5e1e2c370095674993436a0449a784e8d5d79a379088038462fa566"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nvidia/nvapi.rs: FileTooLong \u2014 615 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 115 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":"lact-daemon/src/server/gpu_controller/nvidia/nvapi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58695ca8fed7654338da5bab810504dc1a978d6c559d7b313666561e10a3506"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AmdGpuController.start_curve_fan_control_task: MethodTooLong \u2014 start_curve_fan_control_task 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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec074b9faf79f7fd523c9b527a75e3c0e97d8433638a6b2be8d59d91f08935"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: clocks_frame/mod.rs: FileTooLong \u2014 566 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 77% of them inside a single declaration: ClocksFrame (3 blocks, 28-739). The bar is 500 significant lines; this is 66 over it, 1.13\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":"lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d439ccbae5622bc2ebd702b5a1cfa14e5c4ea24d6142a047ca963525bf4671"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NvidiaGpuController.apply_config: MethodTooLong \u2014 apply_config 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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f667a01ff81ed3bf4e78c092d605efd5e941a23b43b723373ee485bd8afdc2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeviceInfo.info_elements: MethodTooLong \u2014 info_elements 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":"lact-schema/src/lib.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e88980def4ef94d120e3a88d5a92f9c0f9bacdaed53554a5c043fdddaf27f58"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClocksFrame: ClassTooLong \u2014 437 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), 9 methods, 3 blocks, lines 28-739. The bar is 400 significant lines; this is 37 over it, 1.09\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":"lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b976c208da296a472a6289785c99cd2d361aab5378efe262c2f7974c99686254"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThermalsPage.update_with_view: MethodTooLong \u2014 update_with_view 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":"lact-gui/src/app/pages/thermals_page.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e425a7cd8554ed71202fba59fec01b8ca0c55f5da734692d0f1305e0b3225"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lact_daemon::server::gpu_controller::amd::apply_clocks_config_to_table: FunctionTooLong \u2014 lact_daemon::server::gpu_controller::amd::apply_clocks_config_to_table runs 103 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 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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aba566898058ef93ea70cea7c0d5b3d9ac1459c7f322fa1a697d57d2eec9dde"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: thermals_page/fan_curve_frame.rs: FileTooLong \u2014 505 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 69% of them inside a single declaration: FanCurveFrame (3 blocks, 55-596). The bar is 500 significant lines; this is 5 over it, 1.01\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":"lact-gui/src/app/pages/thermals_page/fan_curve_frame.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c729bdb78275faec69c0ed5714aa934fcfcd444b6aa8f49a1d1150e636bd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lact-daemon/src/server/vulkan.rs:154-170 | lact-daemon/src/server/vulkan.rs:192-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/vulkan.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c444ed442fbb5079747a921b9c7b8ebcef2068a56ef5a3d00a88b6016eec1d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lact-daemon/src/server/gpu_controller/intel.rs:605-617 | lact-daemon/src/server/gpu_controller/intel.rs:629-641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"31147c5c96a5fcd1e071b64040fc573b0f0e21b56d00d0b6e56383722a09a004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lact-daemon/src/server.rs:95-107 | lact-daemon/src/server.rs:117-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":"lact-daemon/src/server.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64b81820881dc9b8c5b910a660beabb3fba097d83d4fea0d9472aa274969f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lact-gui/src/app/components/page_section.rs:76-88 | lact-gui/src/app/components/page_section_expander.rs:75-87 \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":"lact-gui/src/app/components/page_section.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c615730b7ea1d71446e6bbe2a4c6ccc168f09f31f5c4cf159ab04e96f69488a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lact-daemon/src/server/handler.rs:982-991 | lact-daemon/src/server/handler.rs:1035-1044 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/handler.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b115abbac1ebf07fb9c5046e90ac41dbacffb782513f5873b3bffddb8b7fc47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lact-gui/src/app/gpu_selector.rs:91-96 | lact-gui/src/app/gpu_selector.rs:109-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-gui/src/app/gpu_selector.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"803abba94bf5b441ac1fc70b05e39c3560518b9672622893fe2cb5d561db1b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lact-daemon/src/server/gpu_controller/amd.rs:1410-1420 | lact-daemon/src/server/gpu_controller/nvidia.rs:1425-1435 \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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1431cc265d16600c8bf7f24b9ca3198e4464ab5f0c03fc80a27934ae6725206a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lact-daemon/src/server/gpu_controller/amd.rs:1422-1430 | lact-daemon/src/server/gpu_controller/intel.rs:979-987 \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":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"207837b0dfcf65d1d3c78a9d5cd93edefaa745891e028c9a4567ca7208333baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lact-daemon/src/server/metrics.rs:190-203 | lact-daemon/src/server/metrics.rs:207-220 | lact-daemon/src/server/metrics.rs:224-237 \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":"lact-daemon/src/server/metrics.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9215f73a21a453f8fc26856196c5d62e3ec9de399355e7b19019f0a06ea39e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lact-daemon/src/server/gpu_controller/nvidia.rs:400-408 | lact-daemon/src/server/gpu_controller/nvidia.rs:421-431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82bddd56f26ec65b085aed0b1599692ec742b258eb2147b5b05bba65a8e175d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lact-gui/src/app/profiles/profile_rule_window/profile_rule_row.rs:421-428 | lact-gui/src/app/profiles/profile_rule_window/profile_rule_row.rs:430-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-gui/src/app/profiles/profile_rule_window/profile_rule_row.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6862c843752d6388f9cf2eaf1b29e8382cb27d0aa167c13779881b6df833b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lact-daemon/src/server/handler.rs:777-782 | lact-daemon/src/server/handler.rs:808-815 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/handler.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"801cb091180927b5f2c94e2b3bc5fd4d93bf5a40f8edcfa1bd1e946bc1bee536"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: lact-schema: lact-schema: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d56b99b5ecee92c792bee30ce6504fcf590c0b88d4141dcd64da98976fe11fad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AdjustmentValue (LCOM4 4): AdjustmentValue\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-gui/src/app/components/adjustment_value/imp.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfeb1cd2705bc38e5d3174913386805c8e078dee1a8fcbd3f241d350fbb451f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lact-gui/src/app.rs: lact-gui/src/app.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in AppModel::handle_msg at line 612. 3 of those changes were fix/bug commits, and the other 10 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-28..2026-09-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-28 14:41:08 \u002B03:00\u0027 --until=\u00272026-09-26 14:41:08 \u002B03:00\u0027 --full-history --no-merges -- lact-gui/src/app.rs\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":"lact-gui/src/app.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331347afbc333456ee81d0a79fdea49a6ac3da6ff56b2dd544906438a91cfa5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lact-daemon/src/server/gpu_controller/nvidia.rs: lact-daemon/src/server/gpu_controller/nvidia.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in NvidiaGpuController::apply_config at line 1207. 2 of those changes were fix/bug commits, and the other 13 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-28..2026-09-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-28 14:41:08 \u002B03:00\u0027 --until=\u00272026-09-26 14:41:08 \u002B03:00\u0027 --full-history --no-merges -- lact-daemon/src/server/gpu_controller/nvidia.rs\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":"lact-daemon/src/server/gpu_controller/nvidia.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbac2909f78dc3ae7aa6847e41837f22a7696dc4d55dc2dd378d0740c0e759a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lact-gui/src/app/pages/oc_page/vf_curve.rs: lact-gui/src/app/pages/oc_page/vf_curve.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in VfCurveEditor::draw_chart at line 461. 3 of those changes were fix/bug commits, and the other 4 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-28..2026-09-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-28 14:41:08 \u002B03:00\u0027 --until=\u00272026-09-26 14:41:08 \u002B03:00\u0027 --full-history --no-merges -- lact-gui/src/app/pages/oc_page/vf_curve.rs\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":"lact-gui/src/app/pages/oc_page/vf_curve.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a70590ce53df2d4fe18b478f328fc48c145044bb346f665d3993d0363de79dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lact-daemon/src/server.rs: lact-daemon/src/server.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in lact_daemon::server::handle_request at line 182. 2 of those changes were fix/bug commits, and the other 2 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-28..2026-09-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-28 14:41:08 \u002B03:00\u0027 --until=\u00272026-09-26 14:41:08 \u002B03:00\u0027 --full-history --no-merges -- lact-daemon/src/server.rs\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":"lact-daemon/src/server.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"63925ce6b8bba3c881c64e0ea4782474cb53ffe0d7b7de5713574a38afba3352"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs: lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ClocksFrame::update_with_view at line 292. 2 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-28..2026-09-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-28 14:41:08 \u002B03:00\u0027 --until=\u00272026-09-26 14:41:08 \u002B03:00\u0027 --full-history --no-merges -- lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs\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":"lact-gui/src/app/pages/oc_page/clocks_frame/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"270ce55d7cb599680de6713a2de7e964d0c4755764743df6d1017216b9b6d2dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lact-gui/src/app/pages/oc_page/performance_frame/mod.rs: lact-gui/src/app/pages/oc_page/performance_frame/mod.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PerformanceFrame::update_with_view at line 304. 1 of those changes was a fix/bug commit, and the other 4 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-28..2026-09-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-28 14:41:08 \u002B03:00\u0027 --until=\u00272026-09-26 14:41:08 \u002B03:00\u0027 --full-history --no-merges -- lact-gui/src/app/pages/oc_page/performance_frame/mod.rs\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":"lact-gui/src/app/pages/oc_page/performance_frame/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6c28a7f475841e8ab5cf30245a29efe576aa1ca453f68f8a1acfa7f9c03246"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lact-gui/src/app/pages/oc_page/power_states/power_states_frame.rs: lact-gui/src/app/pages/oc_page/power_states/power_states_frame.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in PowerStatesFrame::update at line 167. 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-28..2026-09-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-28 14:41:08 \u002B03:00\u0027 --until=\u00272026-09-26 14:41:08 \u002B03:00\u0027 --full-history --no-merges -- lact-gui/src/app/pages/oc_page/power_states/power_states_frame.rs\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":"lact-gui/src/app/pages/oc_page/power_states/power_states_frame.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47bb46d4bd13862344e6b206cdfa7641ec44081f964d9ba068e7b5f56215bc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \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":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"521fae357332e9785e8f3106c3e2c31faa731b3548caf58ee7c394f8cbdd22ef"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: performance rows should be factory items like AdjustmentRow; until then \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-gui/src/app/pages/oc_page/power_frame.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb0fcd9e7deca2d52e206ffd536170f4b5a6162078d1d8b7b6a0e6eeeb27481"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: There are no installation/build or setup instructions in the visible portion of the document. Add install steps for building from source, installing via flatpak (with admin_user note), and running the daemon standalone."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: There are no usage examples or a \u0027how to run it\u0027 section in the visible portion. Add a short runnable example showing how to invoke the CLI from the command line, such as \u0060lact cli info\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent connection initialization patterns. \u0060connect()\u0060 and \u0060connect_with_reconnect()\u0060 imply a default or configurable connection strategy without explicit address parameters, while \u0060connect_tcp\u0060 requires an explicit address. This creates ambiguity about whether \u0060connect()\u0060 uses a default address, reads from config, or fails, and how it differs from \u0060connect_tcp\u0060 with a default address.: Unify connection entry points. Either require the address in all methods (e.g., \u0060connect(addr)\u0060) or ensure \u0060connect()\u0060 and \u0060connect_tcp()\u0060 are clearly distinct (e.g., \u0060connect()\u0060 uses a default/configured address, \u0060connect_tcp()\u0060 is for explicit overrides). Consider removing \u0060connect_with_reconnect\u0060 if the reconnect behavior can be set via a property or constructor argument. (signatures: DaemonClient.connect(): Result | DaemonClient.connect_with_reconnect(reconnect: bool): Result | DaemonClient.connect_tcp(addr: impl ToSocketAddrs): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f4726d32775d0ee9548de7aec1e0acc8dce84a8f22835eb320878046d02f0005"}},{"ruleId":"D26","level":"note","message":{"text":"Split lact-gui: Catch-all name that is large (14k LoC) and sprawls across 17 namespaces including components, pages, profiles, and a plot library. Suggested: split into app/components, app/pages, app/profiles, app/utils, app/graphs_window"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d4dd9667f887fb66294488d672f0611a486d4e640766b349a48724929cbbf8b2"}},{"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":"a202c0948f751343547f86e5514d33fb7e92e5f908d34259570ab359f12c96e5"},"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":"9e95274301c064d7d4e4eaa11ee3f425afa915be94ffbbc5fcfcde03d81b0a1c"},"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":"69bbffdbf3bb8eb590aad545ec1c60e8eb53df9c89775bf1cf3b906a9d5a2f80"},"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":"0f4c487ce91d3a17ca55589569b8254f622350658026cb465c1c41402cce0e23"},"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":"2e0b248a93b16ab467eea04bb2e14a2d47d80227c650c951eee5378e8196169c"},"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":"fc18610e8157e5d998153dbe73c2ef4e0c1eba3e32c7901a0acd167dcfc9dd53"},"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":"fe95e91ec1403f67760fa6ca31da848e017ccd377a4981e846e8e748361a08d7"},"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":"1d1b46eb901f548f0b22ef7be8de5349369729bb15e0a2b660361291d4d5157b"},"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":"7dd4541ffd295449f6179eae85524b1f39be04cc11d4e695e2f76ac898d1fd44"},"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":"4c5a25fda4c519cc3014bf5e2c019d1e5cede799d1c9df38227ac55919614ef1"},"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":"f89a30da6f4133f72015f4f103afefff2de2eace3ec0e44fd06d1a0cade0e0d2"},"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":"cf400ec4db463ba8d3539bae1f631fbf97278a975739b0d8529d7d6422437db1"},"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":"3ec613baa6aa53265ed0c413f6ba071dbaa685a4a87e2b784d71b9b0793b97d5"},"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":"b060b716a9b6c31674f048e2c6bec96e1b4ec164190e52b046aa78346b039ea6"},"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":"0a8b1addf366ac3edc1a9e707bf0fd0ba795458d81be2417d2e9bb8812777694"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"ae70f2f7d8a2b1abba4c6bc97c714c5ba9cbc4db61ab40e6bcdff370e8a2308a"},"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":"0b549badcee61a77c52a7a182b0ab2553fb0435dabbde998923336d263890f5a"},"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":"8ee709623eddd0d2c1e8d6f62f3945d6b8498fd6834af7a2e2d57486ac423480"},"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":"1272fdc56cd86eba5a2da79293030f53ff9f2e2238ffd8a9566470b0d5aa3e14"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","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":"8ca88ed20bbe21b085ab0adc08dafaef98d6d975526fab896c2124615c2c039d"},"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":"e2b7e30a2ff80b2eb17a5f5ff4643d9ffac42955e6ecbc97e0f56e43dfbf53f3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","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":"168b75a71f9f2333bee33c9b4931257bfe9655d9d926df89a7fd5d2fbad3ee90"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0414fc0a62420917e867f6cd6d2a958167cc5aa00a45889aaff73f6034728ce7"}},{"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":"a96ca56bbccc3098eecf765195b0c738702880a7809e9478caa360e5f30d90af"}},{"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":"1ac51b99ee48767dc9eb524588058d62d70e9f968bea1debf891e72556b57a54"}},{"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":"cfe7fbf79b0ab9323c768642f0fae8f057252d42f61584a852cef2408b419467"}},{"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":"a2d372e828f6cf1780c34e026abbb9b9b52a4a03743f327a8f7996e1999ceeaf"}},{"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":"366426db2a31aa5b86f70c388a2c50dbcd1e0511950026f7d2af0fec30fd045c"}},{"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":"6ae68cbc3439b9d389ec339099c6a4c151533249356c70c2585cfb6d4c050f7a"}},{"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":"20862899f74847480fa72ca693479c9f120cef45e33c2f254c0cf9016e2a0b26"}},{"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":"596bce6e0354657377369cef14104bddb5958a51811d9be001d12e03b7a81729"}},{"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":"d80053e0efe3f0c343b35e1fa72a961b6f5b17a7d522e03074733e35f01c29f5"}},{"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":"43fcd1874e549de926d5e76fb10eef85a13094014a1900f8cc29bec3ea45ae01"}},{"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":"f04bccda3fee506ffdc28e5197f2d9400b253140e9b04cd2f9ca6219ebcca570"},"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":"384b55ec7fe11ffff7575517ad35a81636d33a93e5446c7ea0949bf088237412"}},{"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":"30dfb7f867af383330e273673a007602650e5a5f49873714be516ec087876c03"},"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":"245969192a1353ff0630948c378bbe701a6c64115782abdb2489c57a55e72616"}},{"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":"38b5b46f99cbe20bcff29328e2cd5701be98f261660f4e8ffe01b5e6bcd793df"},"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":"6c08c15e209d5cf9ceb9f71f956dfe3927605ee16f60272198db79eba6c9c3b4"},"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":"9ba42ec9590353a43ae6777a460ba2459e3d85bcdc55e9c2b07f83ca16cece69"},"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":"5943c75ae92071145821d0638b941d7c2493f9a07b52794fcdc66ec90357817f"}},{"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":"299791a3e9b08ed33765173debac957f5162772cab72171ce1621acc9274f49b"},"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":"ae99625c5737a90ffb7bdad4363a2e18af21e5a53cd0f70cb1adf0b6e5db1070"},"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":"abb3b6b1d13909cb9aa2f74a328096df40d48b327e0083ed0e69b818b1ad7d22"},"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":"5b42a9c2e4920cd748dafcd58af75fb60ed9bfd69c0dc91f0e38ecc1a2902577"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 83 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 83 of the 114 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lact-gui/src/app/graphs_window/plot/to_texture_ext.rs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: lib.rs \u2194 server.rs: \u0060lact-client/src/lib.rs\u0060 (context lact-client) and \u0060lact-daemon/src/server.rs\u0060 (context lact-daemon) sit in DIFFERENT parts of the tree yet change together 56% of the time (23 of the 41 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 23 shared commits counted here, the most recent 3 are \u0060504d300d\u0060 feat: add detach/reattach option to temporarily ignore a GPU (#1123); \u00608864b628\u0060 perf: fetch Vulkan/OpenCL info asynchronously after startup (#1046); \u0060dc0af6d1\u0060 feat: add hold/release cookie mechanism for profile state management \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-client/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ed044039562292fae5e0836930480a072bcc67072997c8013b716649ae9424"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: intel.rs \u2194 nvidia.rs: \u0060lact-daemon/src/server/gpu_controller/intel.rs\u0060 and \u0060lact-daemon/src/server/gpu_controller/nvidia.rs\u0060 change together 64% of the time (14 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060df20b606\u0060 feat: show additional clock domains in UI (#1172); \u00603046d90d\u0060 perf: update stats micro optimizations (#1137); \u00602d7c5c23\u0060 feat: add per-memory-chip temperatures for Nvidia GDDR6X/GDDR7 (#1125) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/gpu_controller/intel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5020f8db9d4f488afb90d7fac681bbc8b28273faec7c6ac287a433de029665"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: amd.rs \u2194 intel.rs: \u0060lact-daemon/src/server/gpu_controller/amd.rs\u0060 and \u0060lact-daemon/src/server/gpu_controller/intel.rs\u0060 change together 59% of the time (13 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060df20b606\u0060 feat: show additional clock domains in UI (#1172); \u00602d7c5c23\u0060 feat: add per-memory-chip temperatures for Nvidia GDDR6X/GDDR7 (#1125); \u0060acefe5b4\u0060 feat: add GTT usage bar (#1053) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lact-daemon/src/server/gpu_controller/amd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67127da9755d867b3031021b6fa7a70fed9e8835609a499b94e7284aa676f305"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"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":"204a17d83a0fea3251f28235e99c687d00496cf010076cbac04bc7ba0dd0dded"}},{"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":"8e63b96b03df9a35a1fb5340d8fb68b156e1a7561fb2323a9829cddd4e229509"}},{"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":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"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":"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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Rust 1.97: rust-toolchain.toml declares Rust 1.97 as this project\u0027s toolchain file, and Rust 1.97, superseded by 1.98 on 2026-08-20 (the Rust project patches only the current stable). An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-08-20 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dcf7e9d4c69a9ce8ce9aef71946a22fd4bc9a108d597e8635468e94e0aa93368"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060lact\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-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-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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"CWE-532","shortDescription":{"text":"CWE-532"},"helpUri":"https://cwe.mitre.org/data/definitions/532.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-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":53,"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."]}]}