{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SelfTest.run (cyclomatic 495): SelfTest.run has cyclomatic complexity 495 (threshold 15). Of this number, 475 points are the body\u0027s own statements and 20 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 5 of the 12 methods over the threshold \u2014 including the worst \u2014 and 642 of the 764 points over it (84%), 6.8\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 95). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e32fa0505749c1875af468d30240102cf5c5f52721e85459a230b78585d5c0"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.main (cyclomatic 91): Main.main has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 5 of the 12 methods over the threshold \u2014 including the worst \u2014 and 642 of the 764 points over it (84%), 6.8\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 95). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed7015e8ca2035ccc4be5e95e2668d64b81daaf23e6073ead89432a0a5fecd3"}},{"ruleId":"D1","level":"warning","message":{"text":"Compose.parseService (cyclomatic 87): Compose.parseService has cyclomatic complexity 87 (threshold 15). Of this number, 83 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdeca4e1df6ec9318c4cf48ce57379f4a30474f0d4c8d5198e9a9f9e72f1fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"RunCLI.parseArgs (cyclomatic 47): RunCLI.parseArgs has cyclomatic complexity 47 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 5 of the 12 methods over the threshold \u2014 including the worst \u2014 and 642 of the 764 points over it (84%), 6.8\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 95). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d2f747208a9a7fbf9c44ddbc028a2eb4172c98f4f34c1159816084fc70ddfd"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposeCLI.run (cyclomatic 45): ComposeCLI.run has cyclomatic complexity 45 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 5 of the 12 methods over the threshold \u2014 including the worst \u2014 and 642 of the 764 points over it (84%), 6.8\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 95). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb4ac72695a6be6ea487753e30cb4a363624d313e3609e1a28c30655ce1a589"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposeCLI.parse (cyclomatic 39): ComposeCLI.parse has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 5 of the 12 methods over the threshold \u2014 including the worst \u2014 and 642 of the 764 points over it (84%), 6.8\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 95). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de9c691bebb3b4119d033a13a01334371d7bc30ccd3376f7baa716a2bf389d0"}},{"ruleId":"D1","level":"warning","message":{"text":"Compose.substitute (cyclomatic 32): Compose.substitute has cyclomatic complexity 32 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f39fcd3361efbbe7ad2e8c0e4fbae10135c828ad769a3c23dd2111647eda202"}},{"ruleId":"D1","level":"warning","message":{"text":"PullImageSheet.body (cyclomatic 27): PullImageSheet.body has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Sheets.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4327c9ccdc0baf3d835b24538ba2a73c88f632645c3573ff4b01ce106b85a69e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerOverviewTab.content (cyclomatic 24): ContainerOverviewTab.content has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/ContainerDetail.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"692b04b4d65f35fd763ed7f374043ae079b4a9604e11abf694d244c009a784b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainersView.body (cyclomatic 21): ContainersView.body has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Containers.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e78bd7b3fcddf97da7babe6fb944eb65b141ad254b0118f0003318cba888533"}},{"ruleId":"D1","level":"warning","message":{"text":"Compose.up (cyclomatic 20): Compose.up 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":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b602408686cada7608a5ee8cef92358e9a2537067e52fcc1df3d3e1621b657"}},{"ruleId":"D1","level":"warning","message":{"text":"Compose.parse (cyclomatic 16): Compose.parse has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item 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. This is NOT this file\u0027s highest cyclomatic complexity: Error.errorDescription (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"776101743460579846fdcae77d12ba8c7beea727b489e5c351ed0ece6f691bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfTest.run (cognitive 585): SelfTest.run has cognitive complexity 585 (threshold 15). Drivers by points: if/else 230 (305 pts), boolean chains 195, error handling 47 (59 pts), loops 20 (24 pts), ternaries 2 (nesting depth added 91). Of this number, 565 points are the body\u0027s own statements and 20 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 6 of the 28 methods over the threshold \u2014 including the worst \u2014 and 944 of the 1245 points over it (76%), 4.2\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 225). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0974209fad85fda62e577ee15c7440340e47a16d78fe3f41b5de7499a75be603"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.main (cognitive 179): Main.main has cognitive complexity 179 (threshold 15). Drivers by points: if/else 43 (88 pts), boolean chains 21, match/switch 6 (21 pts), loops 6 (18 pts), error handling 8 (17 pts), ternaries 5 (14 pts) (nesting depth added 90). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 6 of the 28 methods over the threshold \u2014 including the worst \u2014 and 944 of the 1245 points over it (76%), 4.2\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 225). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7069c35842ad4ca75d7a647f69601ae4cb250432b6643ffe606e84f90e81fa2"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.parseService (cognitive 139): Compose.parseService has cognitive complexity 139 (threshold 15). Drivers by points: if/else 53 (94 pts), loops 11 (16 pts), match/switch 10 (14 pts), ternaries 3 (8 pts), boolean chains 7 (nesting depth added 55). Of this number, 130 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f8f4212ed8320226a1753b7be42f63fd572749d4cd66fb1406a528ad77bb7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposeCLI.run (cognitive 120): ComposeCLI.run has cognitive complexity 120 (threshold 15). Drivers by points: loops 12 (48 pts), if/else 14 (40 pts), ternaries 5 (13 pts), error handling 3 (11 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 81). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 6 of the 28 methods over the threshold \u2014 including the worst \u2014 and 944 of the 1245 points over it (76%), 4.2\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 225). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65ba88762d8ae31c9d05a5593d450495012cf0fd135468ba45ec47a6e9cf062"}},{"ruleId":"D2","level":"warning","message":{"text":"RunCLI.parseArgs (cognitive 75): RunCLI.parseArgs has cognitive complexity 75 (threshold 15). Drivers by points: if/else 30 (53 pts), boolean chains 9, match/switch 2 (8 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 31). Of this number, 71 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 6 of the 28 methods over the threshold \u2014 including the worst \u2014 and 944 of the 1245 points over it (76%), 4.2\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 225). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c54ea5f979dd5a046d4094ff8479986ba6074c3ca74ce9b1cfbadb537db751"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.substitute (cognitive 65): Compose.substitute has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (38 pts), loops 4 (10 pts), ternaries 3 (10 pts), boolean chains 7 (nesting depth added 32). Of this number, 60 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bad21b60789f9e6081d2ea307f0308f4759ebf3eafcc0fa60405d95a2629cd9"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposeCLI.parse (cognitive 58): ComposeCLI.parse has cognitive complexity 58 (threshold 15). Drivers by points: if/else 27 (44 pts), boolean chains 13, loops 1 (nesting depth added 17). Of this number, 54 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 6 of the 28 methods over the threshold \u2014 including the worst \u2014 and 944 of the 1245 points over it (76%), 4.2\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 225). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c24f1cc60aecd7a25a85127bf46fbebd94dd78ac2a4ba98dda28f560ccbbad2"}},{"ruleId":"D2","level":"warning","message":{"text":"PullImageSheet.body (cognitive 48): PullImageSheet.body has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (27 pts), ternaries 9 (18 pts), boolean chains 3 (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":"Sources/ContainerStack/Views/Sheets.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"808def8a32de5c8d492d8f4b6ebf6f5731404b8315ff991cae5760821276146e"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.up (cognitive 33): Compose.up has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 6 (8 pts), match/switch 1 (3 pts), boolean chains 2, ternaries 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":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd63f93a8faccd15206cc7d57ee0f5902cb41073765a7bc91f7090749447860b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerOverviewTab.content (cognitive 28): ContainerOverviewTab.content has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/ContainerDetail.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5c60ad3e8d56d405d9b09c2aac9a1340eef311418fd98e7c56c50b9f582aea"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainersView.body (cognitive 25): ContainersView.body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, ternaries 2 (4 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Containers.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3924ef12ff66c21046ccaf0ce0e9772d7434bb9b1415bc2d86fd6ecfb8c5ab8"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigStore.save (cognitive 24): SystemConfigStore.save has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Backend.swift"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebd5970f241dade886d2f65ef43dd99a263b30c54cfab5ccba695614ecc9cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.down (cognitive 24): Compose.down has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 3 (8 pts), loops 4 (5 pts), ternaries 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":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed55117956de28f76d16aef69bd2663a79e25de20d6a51ff572bb08c199d2f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.parseDotEnv (cognitive 22): Compose.parseDotEnv has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, 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":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5dfb9697d73f3c3da097a3b189411d7aa853588bbaa19c74400adcea7c0ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.parseBuild (cognitive 20): Compose.parseBuild has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 2 (5 pts), match/switch 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa41508d1831f3dc09d5930b1e68b58b7ae3637e9651e003f6aa2c002b9ee08f"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.followLogStreams (cognitive 19): Compose.followLogStreams has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 3 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a452ec1c47977191829b8ba561c9bad05c2f341ec26cea57e10430723c9a942"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.parse (cognitive 18): Compose.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 4 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"732e1bf014505171d82dd6d082274f884e285e589c5e6a5f9d925ef88ec4753e"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemConfigModel.load (cognitive 18): SystemConfigModel.load has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 2 (8 pts), loops 2 (5 pts), if/else 1 (4 pts), error handling 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":"Sources/ContainerStack/Views/SettingsView.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0dce926040249a45a6db950e810ce879e43bff225ff67ec380b84e432078bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.waitHealthy (cognitive 17): Compose.waitHealthy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97e7253dfdcbad978ebd60450cfc177129012e8fc50f9c4fb201705e8bf794c"}},{"ruleId":"D2","level":"warning","message":{"text":"RunCLI.run (cognitive 17): RunCLI.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, ternaries 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/ContainerStack/Main.swift holds 6 of the 28 methods over the threshold \u2014 including the worst \u2014 and 944 of the 1245 points over it (76%), 4.2\u00D7 the next-largest file (Sources/ContainerStack/Compose.swift at 225). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c452e14261b38152bb47b4fe60158a367577364c813776549c0e4d89240abe8"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContainerSheet.body (cognitive 17): RunContainerSheet.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, ternaries 3 (5 pts), boolean chains 3 (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":"Sources/ContainerStack/Views/Sheets.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"634aae649d72cb67ec9aed3a27f5c9d2d24c8a0e97b18f31055a6c01fb9f7a86"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.body (cognitive 17): MainWindow.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Shell.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c841b06c69ea58b3be07a7ffbe3d905793ffe2d357df6794dd771e77fd61c82d"}},{"ruleId":"D2","level":"warning","message":{"text":"regenerate.build (cognitive 17): regenerate.build has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 2 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"icon/regenerate.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81318725ddce50dd376e116d8ec660c9f7764ea66d0c98180b8709d324ebb07"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.parseHealthcheck (cognitive 16): Compose.parseHealthcheck has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 2 (3 pts), ternaries 3 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5e4ec7f08610d0c4a7e0f3333bff8a6efa37afbd81e1096d78bc11c668eff7"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.parseDuration (cognitive 16): Compose.parseDuration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), 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":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7443ca5b07180479df49cf2c3343a015354ebec48e241ac13402a74b48275c"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.shellSplit (cognitive 16): Compose.shellSplit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d68ea685100f3ba459363b39fe3cd8b99a93b96454a1524278cd32d84ad102"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContainerSheet.prefill (cognitive 16): RunContainerSheet.prefill has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 4 (6 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Sheets.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39d35547ee96a9c49db88ba7340b414a8334dd976e75037d2a423a69bddd9d"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContainerSheet.run (cognitive 16): RunContainerSheet.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (5 pts), match/switch 1 (3 pts), boolean chains 2, error handling 2, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Sheets.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ca14bbd4b8b8c21d252c7d4dab0833ae3e0a4bd98fc3240361f6ffb2390a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SelfTest.run: MethodTooLong \u2014 run runs 1564 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1464 over it, 15.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7289548bcc66ea84bd45d3cea1d496ab5fba2a617711484d4b8e10f510e2f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ContainerStack/Main.swift: FileTooLong \u2014 2351 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: SelfTest (1089-3274). The bar is 500 significant lines; this is 1851 over it, 4.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"332f2ad2b284e4dc67acbd0478ecc421e44f17a903f87a45d7cb6b538a27d0b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SelfTest: ClassTooLong \u2014 1572 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 1172 over it, 3.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c117d6ae0fd359d38bfe3d02bf158061b359b829991b704a2d94487fc5b088"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ContainerStack/Backend.swift: FileTooLong \u2014 1214 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 714 over it, 2.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Backend.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ff305262abaf3ceee53293ab628a4e8270db78c04e8dbfca53fc5922b50f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Main.main: MethodTooLong \u2014 main runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"146d7f5c4083f9e37586215b4dcb91c098157c4cf69821566700e3dac5ad04d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ContainerStack/Compose.swift: FileTooLong \u2014 1073 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 573 over it, 2.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Compose.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b045ad99bb0b9c180246305d2276a99230a0cc9688a8ba02ce43588fbffce0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ComposeCLI.run: MethodTooLong \u2014 run runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e6b8149e45dcbc86e3e20fdff7b0cbe969e770c451ea1bff2362b72b469c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201328 lines \u00D7 5): Sources/ContainerStack/Main.swift:2433-2452 | Sources/ContainerStack/Main.swift:2701-2728 | Sources/ContainerStack/Main.swift:2754-2780 | Sources/ContainerStack/Main.swift:2833-2852 | Sources/ContainerStack/Main.swift:2896-2915 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ContainerStack/Main.swift:2433\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"97423e631ebc54665650ffd739160b0d847e8b7facdcba3fb5d5df27dbe5fb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/ContainerStack/Main.swift:2393-2408 | Sources/ContainerStack/Main.swift:2413-2428 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:2393\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":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9528a42aa2bf48e4f56cfd2bae3026c09643878290fd6c787ad80ca67338d802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/ContainerStack/Views/VolumesNetworks.swift:41-55 | Sources/ContainerStack/Views/VolumesNetworks.swift:162-176 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Views/VolumesNetworks.swift:41\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/VolumesNetworks.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6874d4f30946c86cdb1501abc0ed29eb600b95cd579ac6066cdf5c17ad6d5be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): Sources/ContainerStack/Views/Machines.swift:274-286 | Sources/ContainerStack/Views/Machines.swift:588-598 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Views/Machines.swift:274\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Machines.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e2be695f64b1cab6b1347a956e4c17490304ff33256559c7a0c05af14c931d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/ContainerStack/Views/ContainerDetail.swift:107-118 | Sources/ContainerStack/Views/Images.swift:263-274 | Sources/ContainerStack/Views/Machines.swift:461-472 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ContainerStack/Views/ContainerDetail.swift:107\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"Sources/ContainerStack/Views/ContainerDetail.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"758068dafd7c3a97b64b42c3b64991c4d17e3d444498229d64f83b1e080a9ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ContainerStack/Main.swift:1436-1446 | Sources/ContainerStack/Main.swift:1534-1544 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:1436\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":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cf25379ac223ebc68c44a242cdb34c53c289e308b23c22af284da076ef5fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): Sources/ContainerStack/Main.swift:2620-2629 | Sources/ContainerStack/Main.swift:2700-2717 | Sources/ContainerStack/Main.swift:2753-2769 | Sources/ContainerStack/Main.swift:2832-2841 | Sources/ContainerStack/Main.swift:2895-2904 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ContainerStack/Main.swift:2620\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/ContainerStack/Main.swift:2630\u0060 calls \u0060deleteNetwork\u0060, \u0060deleteVolume\u0060 and \u0060Sources/ContainerStack/Main.swift:2718\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"869d898286d4beecdb16614821ff3e1963d80a6d0a10705d81832ecca39bb8af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ContainerStack/Main.swift:110-119 | Sources/ContainerStack/Main.swift:220-229 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:110\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4c290c4690cb34bfd47632f4081ea2dfb5974b76a9b2d4b2b7a1489a355941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ContainerStack/Views/Machines.swift:206-215 | Sources/ContainerStack/Views/Machines.swift:554-563 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Views/Machines.swift:206\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Machines.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a5f26328c6af4a2ff4936a80a8e4bcf8c2a42201505e5d2d93b09334764b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ContainerStack/Main.swift:1449-1457 | Sources/ContainerStack/Main.swift:1489-1497 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:1449\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"104077fff66e1a08f99c212fc31346770ab2ccd61d1b73e9a94287231b694010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/ContainerStack/Main.swift:1439-1446 | Sources/ContainerStack/Main.swift:1469-1476 | Sources/ContainerStack/Main.swift:1537-1544 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ContainerStack/Main.swift:1439\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8abdf789f8dcadd2b2c9ea0ef3731d8df9c8b35b40f1d88a9b1864b0f2772fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ContainerStack/Main.swift:257-264 | Sources/ContainerStack/Main.swift:289-296 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:257\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1783b3f711455ba585173f6b6bff014c29ab573b711d85a2ec4544c3def81e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ContainerStack/Main.swift:1461-1468 | Sources/ContainerStack/Main.swift:1539-1546 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:1461\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"424f6bb088857d0e4e5255242ed9cd6e8678201871a00e9ce1553036dfd7528a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/ContainerStack/Main.swift:1451-1457 | Sources/ContainerStack/Main.swift:1481-1487 | Sources/ContainerStack/Main.swift:1491-1497 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ContainerStack/Main.swift:1451\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7f22e3857f36e6b3e2f77861bbaa8cb46230510f0509c1a2763fe0bc186135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/ContainerStack/Main.swift:1449-1453 | Sources/ContainerStack/Main.swift:1489-1493 | Sources/ContainerStack/Main.swift:1499-1503 | Sources/ContainerStack/Main.swift:1558-1562 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ContainerStack/Main.swift:1449\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eb3d2f21d8be5bff97c738ab1e5d64e8f1c753050cf13c1850e6f5ca689053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ContainerStack/Main.swift:404-408 | Sources/ContainerStack/Main.swift:803-807 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9c2a5f9035c676c4d706be3947f917ae3fc52b87596973f57994524956e56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ContainerStack/Main.swift:1942-1946 | Sources/ContainerStack/Main.swift:1947-1951 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:1942\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"871c1ab9491f12b3e65786ffb3b25979e65401a6e25bb8fa45426c87d6350e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ContainerStack/Main.swift:2457-2461 | Sources/ContainerStack/Main.swift:2560-2564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"be50b297d3af6ddc762896adf607cc97895a5367c242ef9375b93537d337d241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ContainerStack/Main.swift:2799-2803 | Sources/ContainerStack/Main.swift:2824-2828 \u2014 both copies are in the same file, so extract the block 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 \u0060Sources/ContainerStack/Main.swift:2799\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a5f7eadc24374edea259ae15f49bf0445a49cd0fd3db10c0c5b409d99dc1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ContainerStack/Main.swift:2680-2684 | Sources/ContainerStack/Main.swift:2955-2959 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2680}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4123c9b28732e0b4029c8ae069a18af4a902511c331a9f793d6edb66cb470e9"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (XCTest or Swift Testing), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (XCTest or Swift Testing) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04150c0a511e2aa5ec1955b3a9e7828174a28696d822c9b942057dd62ef57ff0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ContainerStack/Main.swift: Sources/ContainerStack/Main.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 495 in SelfTest.run at line 1102. 1 of those changes was a fix/bug commit, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-29..2026-10-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-29 14:37:32 -05:00\u0027 --until=\u00272026-10-27 14:37:32 -05:00\u0027 --full-history --no-merges -- Sources/ContainerStack/Main.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9a8975f79ea08517464e72ae1da08629fe0705f309b8fde880cac7cc438eb4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ContainerStack/Views/Containers.swift: Sources/ContainerStack/Views/Containers.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ContainersView.body at line 26. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-29..2026-10-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-29 14:37:32 -05:00\u0027 --until=\u00272026-10-27 14:37:32 -05:00\u0027 --full-history --no-merges -- Sources/ContainerStack/Views/Containers.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Containers.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"feee064159061cd42097c6bb350c091813784564419f9917b1a9c68f58c07164"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ContainerStack/Views/Shell.swift: Sources/ContainerStack/Views/Shell.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in MainWindow.body at line 34. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-29..2026-10-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-29 14:37:32 -05:00\u0027 --until=\u00272026-10-27 14:37:32 -05:00\u0027 --full-history --no-merges -- Sources/ContainerStack/Views/Shell.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Shell.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae261e87088a3192fefc5b2263ce07b4f908abf9eb5b54764fa39b3b4aa89fe0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 21 significant file(s) lose their only recent owner: Sources/ContainerStack/Views/Sheets.swift, Sources/ContainerStack/Views/SettingsView.swift, Sources/ContainerStack/Views/ContainerDetail.swift, Sources/ContainerStack/Views/Containers.swift, Sources/ContainerStack/AppState.swift, Sources/ContainerStack/Views/Components.swift, Sources/ContainerStack/Views/Dashboard.swift, Sources/ContainerStack/Views/Images.swift (\u002B13 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"703cf7f6e0a1771bb28bd432efe7a97dbd651228068af9121c4a39288261c41e"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (14869 LoC, 182 module-visible types across 5 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4b84274ded7e6b21af20f24c3c1abbd7c2623cc940e96b12bd49088aeb7e024"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"e31915ae4cd850add14593d1bba14cd6b635166de420ff57e3c8336a5a43d518"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"d30a973bc1b0cbde4242c78592c66a317c3b4a03c04738a9712a2d4ab5f5f192"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6eb5a94052c328a9f9d4f3228923a5f2d4d56700f96d3ddbb1b358415402983"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 21534 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.hasPrefix(\u0022--snapshot\u0022) || $0.hasPrefix(\u0022--probe\u0022) || $0.hasPrefix(\u0022--pose\u0022)\u0060 appears character-identically in 2 files \u2014 Sources/ContainerStack/Main.swift, Sources/ContainerStack/SnapshotDriver.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f656dfed7e6b5f6445ee945762b831ab68b7395c92b31eb079f9c3e3a82ca1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.isEmpty \u0026\u0026 !state.systemState.isRunning \u0026\u0026 state.initialLoadDone\u0060 appears character-identically in 3 files \u2014 Sources/ContainerStack/Views/Containers.swift, Sources/ContainerStack/Views/Images.swift, Sources/ContainerStack/Views/Machines.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Views/Containers.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6793f393badd3d718f779afb39483b1996c80da788967b8c6eeedfddbcf521d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Backend.swift"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9617694a0b6ed81295a42cb381b0e63e75b18305927c2ce0598e9dd71de4caf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/FileSystem.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7810b85bf5bc450f562b5555957762dbaef30c8319cab2e52f76290adaa261dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd92e6a7db81311d9285556f5903bc3adc963b5bb6605d09bf738475d9479fb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cbdc83bd946c455161a2825d0e99e30db66c9dc70c8785b55dfa3aa77b8d7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Main.swift"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83333edae7c12eadc84d63481c5f2fbd4f9eeef1556aa030d0e097ade22b0cb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060prettyJSON\u0060 turns every thrown error into \u0060\u0022{}\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ContainerStack/Backend.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64e71d8ff9a39587f4b61f9e7dde431365bb04668c239ed0eb8b9fa829c1ff2"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":9,"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."]}]}