{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"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":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AlertManager.HandleSystemAlerts (cyclomatic 77): AlertManager.HandleSystemAlerts has cyclomatic complexity 77 (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":"internal/alerts/alerts_system.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"81494c2a4669fe582492b29948599f81186f5fbaffab12292ec905302be3c722"}},{"ruleId":"D1","level":"warning","message":{"text":"records.AverageSystemStatsSlice (cyclomatic 45): records.AverageSystemStatsSlice has cyclomatic complexity 45 (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":"internal/records/records.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"572fb37a6bef0a4f14734ce95ed5481a56d54162d79160614bd1e6cea5b7854c"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.mergeDeviceLists (cyclomatic 32): agent.mergeDeviceLists has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/smart.go"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"6037bb489827306c140d8444cce8c2dc9e808ba336071761c8429d7aea6710ac"}},{"ruleId":"D1","level":"warning","message":{"text":"config.SyncSystems (cyclomatic 26): config.SyncSystems 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":"internal/hub/config/config.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"027e077eb4d0d08ad4e1f98252b3b5d334344a38759b13dcbff390ed6b9d89f7"}},{"ruleId":"D1","level":"warning","message":{"text":"updater.update (cyclomatic 21): updater.update has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"internal/ghupdate/ghupdate.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aa746a016c0bded340046f394a3edaac6055d9adda4d9099466eaaab85c1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartManager.parseSmartOutput (cyclomatic 20): SmartManager.parseSmartOutput has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/smart.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"185ea9f4a1d04072f8767b6f25f0442cc10857549c0e2eeb6b7d61436a0dd0b9"}},{"ruleId":"D1","level":"warning","message":{"text":"Agent.getSystemStats (cyclomatic 19): Agent.getSystemStats 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":"agent/system.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddc85aa2c21959d6b548defab1d93957b9874182c0b56efbcbdad697ab124e4"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartManager.CollectSmart (cyclomatic 19): SmartManager.CollectSmart 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":"agent/smart.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d439ddd100fce66bdff1cb72eac707a19150f0b69da15f7b9056f6ae4feab126"}},{"ruleId":"D1","level":"warning","message":{"text":"transport.unmarshalLegacyResponse (cyclomatic 19): transport.unmarshalLegacyResponse 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":"internal/hub/transport/transport.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8478538a54d462064162802ac7c56d12f82bb65f825f940f5629463a984bfe7e"}},{"ruleId":"D1","level":"warning","message":{"text":"Agent.updateTemperatures (cyclomatic 18): Agent.updateTemperatures 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":"agent/sensors.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaee91f5a40250524f1a8fa8df1d1f4410ee0a928d0863f10b0e742a0875d7f7"}},{"ruleId":"D1","level":"warning","message":{"text":"Agent.refreshSystemDetails (cyclomatic 18): Agent.refreshSystemDetails has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/system.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3994de308822e390db255bcd435734db619e30327b83fa3e9a5dbb7fa2960f"}},{"ruleId":"D1","level":"warning","message":{"text":"main.downloadFile (cyclomatic 18): main.downloadFile has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/fetchsmartctl/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"350920dccc68f9d77b60e78c88d4148b96a1b1697ad68fae4112729ec6a7c56c"}},{"ruleId":"D1","level":"warning","message":{"text":"lhmProcess.getTemps (cyclomatic 18): lhmProcess.getTemps 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":"agent/sensors_windows.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ccd15e7db5ec013bf28202383f7c0ce8124b9aeb9a18c26e48923125cd751b"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.findIoDevice (cyclomatic 17): agent.findIoDevice has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/disk.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"861fc2124e8435f02b35e82ccff5d60bb1074dff91de2021e3d504b1379f4c41"}},{"ruleId":"D1","level":"warning","message":{"text":"GPUManager.collectIntelStats (cyclomatic 17): GPUManager.collectIntelStats has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, 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":"agent/gpu_intel.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d72d9c4dd4b0fbf3b3601871643e1a1e6857bcacc7a6deddd4ea7e2de3695b1"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.registerFilesystemStats (cyclomatic 16): agent.registerFilesystemStats 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":"agent/disk.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7606d4a6fcbf138ef4e5b4de2e46120cb1a6be8edf10b596db2b5b22a14b692"}},{"ruleId":"D1","level":"warning","message":{"text":"GPUManager.updateNvtopSnapshots (cyclomatic 16): GPUManager.updateNvtopSnapshots 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":"agent/gpu_nvtop.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a06f6588931b5566dd78ca74d3395a7ee0ab4e7aca86f11fa4270a951b1b54"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartManager.collectMdraidHealth (cyclomatic 16): SmartManager.collectMdraidHealth 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":"agent/mdraid_linux.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f7c1599595bb6753edc4efb00387a9d540ff5f140af96bc37e731de2ba3220"}},{"ruleId":"D1","level":"warning","message":{"text":"systemdManager.updateServiceStats (cyclomatic 16): systemdManager.updateServiceStats 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":"agent/systemd.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e701d56075cc420f2fab39542c17407a9d76f2d8d5d1838fe645c6355809b90"}},{"ruleId":"D1","level":"warning","message":{"text":"Hub.getUniversalToken (cyclomatic 16): Hub.getUniversalToken has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/api.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fe0fb42696914b6dc7b5bfd5abb0ea7dd10e24ecf068d59fc29d2c1f009761"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemManager.onRecordAfterUpdateSuccess (cyclomatic 16): SystemManager.onRecordAfterUpdateSuccess 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":"internal/hub/systems/system_manager.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc60f940804725b1de15698b4f86360b8f4f732cbf2a235d0f00ab7c93416f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertManager.HandleSystemAlerts (cognitive 146): AlertManager.HandleSystemAlerts has cognitive complexity 146 (threshold 15). Drivers by points: if/else 101, loops 27, boolean chains 11, match/switch 7 (nesting depth added 86). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/alerts/alerts_system.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c491a17081267a95d055c326cd83743f0c26d4e08478f8aed56a14d6c344e7ad"}},{"ruleId":"D2","level":"warning","message":{"text":"records.AverageSystemStatsSlice (cognitive 106): records.AverageSystemStatsSlice has cognitive complexity 106 (threshold 15). Drivers by points: if/else 54, loops 51, boolean chains 1 (nesting depth added 62). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/records/records.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd56cb3f5f860d6b2b37afffef3a822f04217856b31a3aa19f977c5add703e94"}},{"ruleId":"D2","level":"warning","message":{"text":"config.SyncSystems (cognitive 53): config.SyncSystems has cognitive complexity 53 (threshold 15). Drivers by points: if/else 43, loops 9, boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/config/config.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"83713435eddb315e05d7bb52109b35ba3cfa596e9da47120400050d909dc6582"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.getSystemStats (cognitive 43): Agent.getSystemStats has cognitive complexity 43 (threshold 15). Drivers by points: if/else 39, loops 3, 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":"agent/system.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c34814809cbd079f0f6bf1cec67f57c4fd5cffcc9ec55b5a4d7951096536ba"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.mergeDeviceLists (cognitive 41): agent.mergeDeviceLists has cognitive complexity 41 (threshold 15). Drivers by points: if/else 28, boolean chains 8, loops 5 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 16 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/smart.go"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5916c0beaf51cb921789d23c0f689d7aa62c234de33dafbd9aa8abf0c3dce52"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.registerFilesystemStats (cognitive 39): agent.registerFilesystemStats has cognitive complexity 39 (threshold 15). Drivers by points: if/else 39 (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":"agent/disk.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"319dada43088157764e0d794af7433490627ce32dd3aeaa14c9830c8aaf1f7d8"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUManager.updateNvtopSnapshots (cognitive 33): GPUManager.updateNvtopSnapshots has cognitive complexity 33 (threshold 15). Drivers by points: if/else 28, loops 4, boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_nvtop.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b0923d68f44b16edf47a06fc8f69f6ef4beecd294f41282e1692096935aa0b"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartManager.parseSmartOutput (cognitive 32): SmartManager.parseSmartOutput has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21, loops 6, boolean chains 3, match/switch 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":"agent/smart.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc5ba88d1c4ee34772aa1700af13140e663eb7004b65d3ba77c21830341d793"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.updateDiskIo (cognitive 31): Agent.updateDiskIo has cognitive complexity 31 (threshold 15). Drivers by points: if/else 28, loops 2, boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/disk.go"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1f8aacd212b52f614cd6e6007b81c5ba8bf71bd02a4959e41745e4e7591da9"}},{"ruleId":"D2","level":"warning","message":{"text":"nvmlCollector.collect (cognitive 31): nvmlCollector.collect has cognitive complexity 31 (threshold 15). Drivers by points: if/else 29, boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_nvml.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b4fda5cfc49e18607e1bfce568dbbb3fcf15a80dbc79eed4e7107337e2117a"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordManager.CreateLongerRecords (cognitive 31): RecordManager.CreateLongerRecords has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19, loops 6, match/switch 4, boolean chains 2 (nesting depth added 19). Most of this is not in the body itself: 0 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 71). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/records/records.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60229b6fd069d64aa30c3275ba07c8934e12182a0b29ab8c58fb4840e80878e"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.refreshSystemDetails (cognitive 28): Agent.refreshSystemDetails has cognitive complexity 28 (threshold 15). Drivers by points: if/else 26, boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/system.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"68443dee3a2ceb91d67dd73c81052ce7269b5a055b2e25131039d2a178369ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartManager.CollectSmart (cognitive 27): SmartManager.CollectSmart has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24, boolean chains 3 (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":"agent/smart.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa70596cfe50d98835268941b6aa8afc66c7e855cbb91c3a536ab48516341442"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertManager.IsNotificationSilenced (cognitive 27): AlertManager.IsNotificationSilenced has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21, boolean chains 5, 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":"internal/alerts/alerts.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"22263e3f2b9c76c266e2e9a578eddf4baa0b85ff5e8fde75923efbafd8ebb203"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.updateTemperatures (cognitive 26): Agent.updateTemperatures has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, boolean chains 3, match/switch 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/sensors.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b7c661b84c5f6bc04849ff2593339bacd61429f74e705fd0b148801c741506"}},{"ruleId":"D2","level":"warning","message":{"text":"updater.update (cognitive 25): updater.update has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25 (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ghupdate/ghupdate.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dfdabb52b99427ad1abb0b092a4e8d8bd22f56d781dc5983571be3abf1899a"}},{"ruleId":"D2","level":"warning","message":{"text":"transport.unmarshalLegacyResponse (cognitive 25): transport.unmarshalLegacyResponse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 24, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/transport/transport.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dfe1f583c88a6d5ef7dd9e434175a8e7be03c0cb310d49ff52384f7f3841ad"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUManager.parsePowermetricsData (cognitive 24): GPUManager.parsePowermetricsData has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22, 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":"agent/gpu_darwin.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e45b597926ceaed5ac0fc7861484b28d0dffbfb4056b56db547bf2c4a07c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"dockerManager.getDockerStats (cognitive 23): dockerManager.getDockerStats has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, loops 4, boolean chains 1 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/docker.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed2104ae1a455ca2bbd1fbe000aebbdaa2497005646c6008854ea1bf53a463c"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.sumAndTrackPerNicDeltas (cognitive 22): Agent.sumAndTrackPerNicDeltas has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/network.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"709cc11daad7bd53a6fcb2c8a66ecce6e4d8f8b994c1811440c0a72f3c0f08c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.gatherStats (cognitive 21): Agent.gatherStats has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/agent.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"374c4d7e41b48caaf1499d9aee2f1babf528571d5ddc385d7d59f8fef145877f"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUManager.collectIntelStats (cognitive 21): GPUManager.collectIntelStats has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 3, loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_intel.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2807f29def434286c555bc75762751f53f28491380dbb0875e8ad2e5f863cf16"}},{"ruleId":"D2","level":"warning","message":{"text":"Hub.getUniversalToken (cognitive 21): Hub.getUniversalToken has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 2 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/api.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98017b123076e22c744f7b4f341cdcd81184f18844dba3ff4dea7f976d6b987"}},{"ruleId":"D2","level":"warning","message":{"text":"lhmProcess.getTemps (cognitive 21): lhmProcess.getTemps has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/sensors_windows.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8771dcfd991b8ab190e9d1763ccc7e5d61e5a356ead0f2dde61483528ce903a8"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.decodeDockerLogStream (cognitive 20): agent.decodeDockerLogStream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/docker.go"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"667812aabdc78e6b1b58ab6e57556a4c81bfdcf2d4dee24eb2b8777b8e53b375"}},{"ruleId":"D2","level":"warning","message":{"text":"System.createRecords (cognitive 20): System.createRecords has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (nesting depth added 7). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to one function literal inside it that branches (line 193). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/systems/system.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"71473b93f6167cf0e372969052d8a7c014a7028f1e9b6f045fcf7e2c43a3296f"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUManager.startCollectorsByPriority (cognitive 19): GPUManager.startCollectorsByPriority has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dcc2ffa306f387af6dbaa96797d75d05fa4c3792281ac45ea58c36740a3859"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUManager.parseIntelData (cognitive 19): GPUManager.parseIntelData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_intel.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b764e2b3216f20b5243933109240fe045731ddaeaf3d3878c6f6a5e48a373939"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartManager.ScanDevices (cognitive 19): SmartManager.ScanDevices has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/smart.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b74fe52bda8ea51670b974faed77e5716167136bd75768b52f9597fa9d766ca"}},{"ruleId":"D2","level":"warning","message":{"text":"systemdManager.updateServiceStats (cognitive 19): systemdManager.updateServiceStats has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/systemd.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7335dffc9e59a52ce001bf45ab5c468e131713816ed6121979aac9fe4235dc3d"}},{"ruleId":"D2","level":"warning","message":{"text":"System.runSSHOperation (cognitive 19): System.runSSHOperation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/systems/system.go"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa4e541cae463d5e99d5a396c8362d213b56b22a0c04e48c3dfef4169f99a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemManager.onRecordAfterUpdateSuccess (cognitive 19): SystemManager.onRecordAfterUpdateSuccess has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 4, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/systems/system_manager.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dbfffcdd6235877bd4d193b9b3ae8e1dbbe10cd386f4f14d70b59e4ea98832"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.NewAgent (cognitive 18): agent.NewAgent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/agent.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc227b5a072a5d8ca57153fa8a98d9196528cf123a1a9e32b6e043f116bd4c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"dockerManager.calculateNetworkStats (cognitive 18): dockerManager.calculateNetworkStats has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, 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":"agent/docker.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bb09bddf6c32363309fa397700d4cfda4a0950547df66117786bb311e1d5ee"}},{"ruleId":"D2","level":"warning","message":{"text":"main.downloadFile (cognitive 18): main.downloadFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 2, match/switch 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/tools/fetchsmartctl/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3bb027dd53c2a51e72ff1e27abf12567e3297406b35647481bf5022c99ba1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ghupdate.extractTarGz (cognitive 18): ghupdate.extractTarGz has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/ghupdate/extract.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ae51aadc964c3bd8fe3d831e3a4dde4bb0faf062ffcc38b2dba9824d7d5399"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.findIoDevice (cognitive 17): agent.findIoDevice has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/disk.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4307a5676ef25ab807d46c3c8b37054410faf3e83e8e93e690caa96de3acb375"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.findAtaDeviceStatisticsValue (cognitive 17): agent.findAtaDeviceStatisticsValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/smart.go"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6550098ac20e847073573654a568143a6f3d9ef15f8f01ff73193c9e0947380"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.initializeDiskInfo (cognitive 17): Agent.initializeDiskInfo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 5, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/disk.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93ef657dfd923bdb214416953acfe8ed1628589bb0ffcd9d306bd1b5dc0dffc"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUManager.collectAmdStats (cognitive 17): GPUManager.collectAmdStats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 4, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_amd_linux.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"572f9443f32ba51a3da4d7cb2259b97bd9096e58738369b99e9a2956598e2bac"}},{"ruleId":"D2","level":"warning","message":{"text":"smart.ParseSmartRawValueString (cognitive 17): smart.ParseSmartRawValueString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/entities/smart/smart.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b1c84714155305cb5f4ca786f2e8713c1424c1ef4ace3e532b85251dabf050"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.newDockerManager (cognitive 16): agent.newDockerManager has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 2, boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/docker.go"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"536382e4b70b22380c95fe370d2bf1312f76758903d81f299a5f681de8de9703"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.lookupAmdgpuNameInFile (cognitive 16): agent.lookupAmdgpuNameInFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_amd_linux.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1215c71fcca989bf90be8c909030291e0066fdf40ebf58a1bae71bda098d610"}},{"ruleId":"D2","level":"warning","message":{"text":"dockerManager.updateContainerStats (cognitive 16): dockerManager.updateContainerStats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/docker.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"468b3f7d705e17bdac7a2afe94709e5609e465495e54a92068249b9bc511deb9"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUManager.collectNvtopStats (cognitive 16): GPUManager.collectNvtopStats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 1, loops 1 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_nvtop.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"75748dbe22a6eb5f9e6ee295437429e61770d8517b85b1c306325509ed3d9413"}},{"ruleId":"D2","level":"warning","message":{"text":"nvmlCollector.init (cognitive 16): nvmlCollector.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_nvml.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6bc262abfdff5f329569c71921ff81aef9ec64c89d7977668bb7a0e308dbf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/smart.go: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/smart.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f1bcfeba29e46561657012c165e5a0da1e4a322cf8d41ada103bca96f6f5ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GPUManager: TooManyMethods \u2014 39 methods, declared across 6 files: agent/gpu.go (22), agent/gpu_darwin.go (4), agent/gpu_intel.go (4), agent/gpu_nvtop.go (4), \u002B2 more file(s). That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ab00c1889cb795619444d1ff889062e7ee50129b302c1d78e6c05f5026fd43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/docker.go: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/docker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab0f605ef823cf5a2628a04e84e445f0b6607732102286e85d8bdb11d65c78a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Agent: TooManyMethods \u2014 33 methods, declared across 6 files: agent/network.go (8), agent/server.go (7), agent/disk.go (6), agent/sensors.go (5), \u002B2 more file(s). That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/agent.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"de77fdc22bd33d06dccdeb28e5a05054bcdae59319e50ae0bd7dfcd274a48245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): agent/smart.go:856-870 | agent/smart.go:1102-1116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent/smart.go:856\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/smart.go"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"9093020f1a528edfec25a68a895c9199d0095bc5ab8b09520cb703b077c50489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): agent/gpu_intel.go:61-75 | agent/gpu_darwin.go:181-194 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent/gpu_intel.go:61\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/gpu_intel.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084fc11ead6d0071ec7a9a2ca2cbb56eb77f76a9c220411363b76837744f546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/hub/systems/system.go:279-289 | internal/hub/systems/system.go:311-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/hub/systems/system.go:279\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/hub/systems/system.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dff815763d3c529783fad87ad6147acac186303320985f4511265ea17ac467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): agent/battery/battery_windows.go:223-230 | agent/battery/battery_windows.go:237-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agent/battery/battery_windows.go:223\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/battery/battery_windows.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a545bb195d3df37dd274db82eba2f347d5651f14bdb3b830582c06613fa21701"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 26 significant file(s) lose their only recent owner: internal/migrations/0_collections_snapshot_0_19_0_dev_1.go, internal/hub/systems/system.go, internal/hub/api.go, internal/hub/systems/system_manager.go, internal/hub/agent_connect.go, internal/entities/system/system.go, agent/gpu_amd_linux.go, agent/server.go (\u002B18 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"54d670dbce5ded3e5f9ebe656488d36c1be45b71fe37755740aca508f2840376"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (27 single-owned of 69 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D24","level":"note","message":{"text":"misleading comment: \u0022IsPsuEnabled = true,\u0022 \u2014 fix - the comment labels IsNetworkEnabled but the code sets IsPsuEnabled; only one flag is set"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/lhm/beszel_lhm.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc37b3cbc50a22575156942d1f4fd176e16b6771e88eb521b4b31093ada9c211"}},{"ruleId":"D24","level":"note","message":{"text":"misleading comment: \u0022process subhardware sensors\u0022 \u2014 fix - the sensor loop processes main hardware, not subhardware; correct the label or remove the comment"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/lhm/beszel_lhm.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7037c90b42d6fb4d0d1b8f78a50ceacbfd1d53ae1c79bf01f44bc69e7ab08f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022process main hardware sensors\u0022 \u2014 delete - ProcessSensors already names this loop; comment adds nothing"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agent/lhm/beszel_lhm.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e987847a566076aae94ce5c181d94a4d033892eb941abb6342155b73cdd41cf7"}},{"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":"bf6c20960d870353f357bfddfdb7f6f7036e90f4bd03b7b6c4aebc3e170aede9"},"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":"47d5d7c4064bbdf7c42dc037fe0ce1bb2f279c4315ecdd43770b915ab40febe7"},"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":"06f4bee0f56c3957dad0afe9d53b73af462a5fd5d447243488410046e9d4e55c"},"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":"5475c2a537d306465dc89c0ba355e82760afe502412f2651d61edad1fff7c153"},"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":"e01cc8492c9acdf6e2fc9c7747255dddcf3f2956dfcedc4829b653ad800575f6"},"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":"7543d9a8a02dc28da9e9dd5ec1966ec9c479b45524be12969540d1a5dd80feae"},"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":"04a673304d9ccdaa1d55efbdfe5ec73dcb0a8cd823962904b6b2ef8015f21ed7"},"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":"c146091b4c0859441eb90525ba9e39ea4820e121a2ad9d954ebb0c125e290c7a"},"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":"a9d06295d7e54729234b8d214764817d565b677abef9d821e3ea51389f6165dd"},"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":"c15e03ac1fa47e87e1db1facbff939b0109157aa1a15ea9510ba7aa38b6e07cb"},"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":"b08fac95adf74777dfb9e261ed967f89328a326a6e69a1d421ffc0059a77e56f"},"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":"160f8e4f73e01d60a8b0f3a55ca62cade4ad4cf4c5bac6b888bcc7b6a7289d91"},"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":"28a3c7ee55b0fa9e2a8e3a08e9b0091743047ede93d181f60efd15d32adf4fd3"},"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":"cdbec602078e3c4ad4c341a49c4f169fa84ff3b8fac6acdd00f5eccb4bdef7bf"},"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":"11d320c0d2d12e2e6cb90e8b0e5872fae093a913cabda4651ef82768988b8835"},"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":"7306cf9121fc9c81dcf7d4f107e5bdc4799e0adfd7b33acf01372b50bd5c15b3"},"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f893684a7d902af4becd942c1af36a16126ea194508688074b9801a60dc938c5"},"taxa":[{"id":"CWE-328","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":"d1cd8ce16bd62b1fbd6491eb9d9e8e84172356e9e06e266cbf34a72df28cac7a"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94d298c6fb6224b68af6d24f67178b517df4d7bb88f95017b23109d523789c28"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff1ab94e278117fc492f9a18f43c06903153f55317333635d0ee6c28d2cdb03c"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39742d51059df7d2adbdd692e947c793525311ce4a6ab4a45987bb4a95c34f81"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a83a17abbf72b77d3295699a1f5aa9e95cd82bb07f70fc9aaeec56347d91b709"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9d79bdb8efdb243a406e2dd922f5cb908b1c0d327d1722e58f1c14a7bbd334a"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ba22148dd190e565082fe79ef8a835708d68230ef568fe8adb21935e783e253"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1498b7abc0f750f8a1140f387235c725d3c614cdf0b566027c859d72a863c9ab"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0247ce095ec32c366f177e8e3e60c425ed40c51a106b51a45630c3d481b60956"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13fa75ad20d59733036f995901db3b65f9c3480c2b50b5f4dfec389fae06df0d"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"062b0380d4f6b96ca153a2a41ea668dc2718843a18a73beeb797004649aceb40"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d2901046e9bfdda37e7362a6694e1b8c84dabe462b2a53d197350cda5381253"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"119a0ec20891e988d620deb43278577a83205d69db2f9932d8aaaf3252b18a5e"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d4c6853a84ef686d71ff7d66db7e37dbbdbdcb43117d240d0ca5ce643c3f1f7"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"273f995316bfd8e8787e954015494c8fc91fc0c2bbb4615b3fe9e60e29e7e50a"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3d25ede92009f60fabc1f82da15fdef1c8909cd4148797a27618abb84308345"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62d8c5fddb7df8ea393feba77fe2d80efeeb2c43a0d9bb8523afed54736891bd"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3212cb8596d9124ca4e18aff1551c4c675c3e0155f4ea9eae9f73bd81556777e"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d02ad82c0eff71d534a134f6df24f0c6ce450c0843fc980bc39d0eeed76dad6"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f559635e23f2988c6f1d309a971134be8ab30387dc055d18beaf7339900c423"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c83d3b85c93f2be8fd12d423ead45a468939fd1365d7fda9d1e8af8f92cce8f5"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df015bbaeb43f71a493b045891e16c22c930354b2a63d5c5c91e0433ba64a29d"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5264a6e23f772e8e4d8f74f15ed8def52296b5e88aa0aa57cdc09be2efafe46"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed58249086a333c74cf101409814c601a7037b512048e3d59babcc0a012b8f66"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6b513d598a8bff94bb07a5dce6590812b8ffc4d01504ae22c94695569d19b80"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffcaa41520e32da4da2b5f2c53be4d9320550b70527457a4770b7bf4f1d2c2a2"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3070fb38d496f554952f7223b3addfae220bbe2e0004ecd75f6070dba9503e54"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7eaf8b9c3d78ec4581204797c24ae35366dbdb1d8758c2fcf524c27df83ba20a"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5476f28cf21c4d1c646300d13e726a7def5621b68273c9907001554eb15f69c9"},"taxa":[{"id":"CWE-322","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":"e570072ca8e38704bd78e236c303d442e3eb8f81a2a05faa372e17546d883c48"}},{"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":"a8122339189f966b6f7c01d024d657fec6f7097f233b00f7bffd56c9030956c6"}},{"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":"bca89a6d0f0a7e9242b410f707fb66a38a18b52974e0392a30db4a443841a72b"}},{"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":"11c898dcce904c9d01aa083c99f986b129269606d7212f87fd2f3223239b3436"}},{"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":"8ea7c6ed65d8b17b93cefb96da8a9a9a16ef964eecb66e5faaf8aef6a42a63ec"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d284bd6e59666454481bbd9e31f9920715be98e4cd0be84fe4f6c3fe08443bb1"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3f94757e5b41ff79792fa2a4fc9212377001b22dc12a032d8f82d0e1703f44b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc8192339aca5c4bdb30a98259e71d69fd87da5b25263ab7ae48c22fab34b476"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6c55f37c90f37818e48308e859f91b6d64edd1edb894427c37ba83ee76d33ea"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7af28670b35f5bf419ac4b45ca4103ead7b7dc14852e67f14ea0afe294568a6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"659b32f0e94a50d56a22dabf207ba23103791d69237e5c75f7170f206a86ecc7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lingui.config.ts \u2194 languages.ts: \u0060internal/site/lingui.config.ts\u0060 and \u0060internal/site/src/lib/languages.ts\u0060 change together 79% of the time (11 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/site/lingui.config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fdb7bfbc59bc70a6edb2c16c61a3321502dbc5a2da06dc0d3d22e4c9d206e9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: home.tsx \u2194 main.tsx: \u0060internal/site/src/components/routes/home.tsx\u0060 and \u0060internal/site/src/main.tsx\u0060 change together 62% of the time (16 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/site/src/components/routes/home.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3242a11f51fcbaa360f02bf320ce5d4775ad9315a63a3101f77e39561e6d784e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: area-chart.tsx \u2194 system.tsx: \u0060internal/site/src/components/charts/area-chart.tsx\u0060 and \u0060internal/site/src/components/routes/system.tsx\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/site/src/components/charts/area-chart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8604e7855abb5228404ffe47ae2442791629492280e567d4785e5a7ed922f6ec"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: system.tsx \u2194 chart.tsx: \u0060internal/site/src/components/routes/system.tsx\u0060 and \u0060internal/site/src/components/ui/chart.tsx\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/site/src/components/routes/system.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33365b07e62a4e3ca9cfafeb9e71e9f7280f0094914bfee4a99b6bc0654603bb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lang-toggle.tsx \u2194 general.tsx: \u0060internal/site/src/components/lang-toggle.tsx\u0060 and \u0060internal/site/src/components/routes/settings/general.tsx\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/site/src/components/lang-toggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"380dbb81892576f3cad24eafa53db604c04bbaedea400811cd5a5e11df2fe337"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: 0_collections_snapshot_0_19_0_dev_1.go \u2194 types.d.ts: \u0060internal/migrations/0_collections_snapshot_0_19_0_dev_1.go\u0060 and \u0060internal/site/src/types.d.ts\u0060 change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/migrations/0_collections_snapshot_0_19_0_dev_1.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9437a56d6295273abf6a013acd3879c1f637249175410d60feae299199bcae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: stores.ts \u2194 main.tsx: \u0060internal/site/src/lib/stores.ts\u0060 and \u0060internal/site/src/main.tsx\u0060 change together 50% of the time (12 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/site/src/lib/stores.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02694a54735103816c4216f63e9fd3d9f42d9188167e989c11dff185683c9a97"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: alerts_status.go \u2194 alerts_system.go: \u0060internal/alerts/alerts_status.go\u0060 and \u0060internal/alerts/alerts_system.go\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/alerts/alerts_status.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d1baaf01157e9345407db24f75b4c61cf825406905ea5e40f3c89ba1497935"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"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":"D38","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":"e1d48d68921b4d1ce95dfe64061a327fe34dbc0fdaefd66360450e20087ed503"}},{"ruleId":"D38","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":"4b9173aab9f52e53e726b1f407522db2cb4975482ca1e7efc1d217544b457494"}},{"ruleId":"D38","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":"973d865a6516165623384786e3d73fe4295002f76208cc156a3d8d9c4c01a4b1"}},{"ruleId":"D38","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":"dcb7aea25364c0900ba520f64aad7441afb69f9a8bc5c0eaeecfaa008b598db2"}},{"ruleId":"D38","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":"3b035009e8b4509551e5205d1a137913d0bce177dd0bf758b9129704d9d17642"}},{"ruleId":"D38","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":"47b9b7a04e8775838e592e507a250aecfd52061af3235a3cafea101752303406"}},{"ruleId":"D38","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":"43432b364b49ff8d7cf2a67a35daed5a95343a95cef3ad2146a274dfec383180"}},{"ruleId":"D38","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":"2e123a20c809c44a7c173f12ea465ed33cb20ed06c2ff594523e890b32ce1dbb"}},{"ruleId":"D38","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":"00b0ca5f255ddcb46a9cbefd0bfa7c817114b83cb01e160ccd92b29b7a38a55f"}},{"ruleId":"D38","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":"6209a7b9aa855bf874acc1410e8c0a9c84eadbaf38f3678cdef5e302a3acecb3"}},{"ruleId":"D38","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":"0f0e10ee1f80d582fdd8dbb895fa49bdf08c188eabed333652fc7d1f0f1ad4c6"}},{"ruleId":"D38","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":"b27a3aa9e3f7d9872de1468cb63e043847ef0e5ad58ba64b55c15b2bc1545140"}},{"ruleId":"D38","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":"030ed097174f4f4fdaad5abab91f2d67f5ad4afd7ec6e5132e74cc42d36dd7a3"}},{"ruleId":"D38","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":"18a149ea1d9cf9a537a83fadd7f427c4fff51d1da7b32080d9e6de7dd5b608af"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3101d36131a52584dde37b042bdfe9fc6a1d1edad6398c91ef166385743b007"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5885abf16bbcb28f328d5c7cc65e4bf0b1ab7bcfaaaac655033762e582e44ae8"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50c379534161bb30611d421e82af3666b891a67b9a6a35df5a4fc4b4977e653b"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cdf8e768e620a1c00298b557799acdadfbaa1dd146ce9c178cc8051c1fe828c"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94e02eea5764fec7c68881dfaf08794994cb5f5915475658189d0ffad65d6e22"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"231ad4dc838e4a2768e6f7a1e67ca410b16632a9e046ea516d551978147d4308"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a56482fec7a47e356d9a8f7a1cc303b7f9b054b5da20d127eff364d2867d9e8"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83a4d7355234a6169357aad13b00ab9129f899f3f02ec737868c64ecc42da81f"}},{"ruleId":"D38","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb5082f616fd27f0033c849d1e660b2ea64d430d375e57a502ae31ac40d03e30"}},{"ruleId":"D38","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":"1950eddb4ccc982f75045c68c0d93b6099715857e71d17b910b15086bba288ff"}},{"ruleId":"D38","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":"cb45bc7eb13250db17eee2ad2aa08bb08b27c7f2d15b63212fcdad2e99594644"}},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: Workloads do not set a seccomp profile (RuntimeDefault or a Localhost profile). Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f418e9f76c3ac90484e0e94a454bfe9b08e914e1cdd218e1fc9e3b261a3bf6e"}},{"ruleId":"D41","level":"note","message":{"text":"No AppArmor/SELinux confinement: Workloads declare no AppArmor or SELinux profile. A mandatory-access-control profile confines what a compromised container can touch on the host, complementing seccomp\u0027s syscall filter."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e83fbc31033373d6c51983ed230eb4ba61f7775ed02afb30f5fc1840bde01d4f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-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-322","guid":"f9bcce90-227a-d056-9902-7b1c2f9f299c","name":"CWE-322","shortDescription":{"text":"CWE-322"},"helpUri":"https://cwe.mitre.org/data/definitions/322.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"CWE-338","shortDescription":{"text":"CWE-338"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-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-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-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":86,"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."]}]}