{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"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":"MenuBarWindow.render_list (cyclomatic 27): MenuBarWindow.render_list 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":"platforms/linux/src/ui/window.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2f13ee5aaf428ce00c26480736f2502fd0c2eb3ba89adff0d20227df8116b8"}},{"ruleId":"D1","level":"warning","message":{"text":"PortForwardManager.checkConnections (cyclomatic 24): PortForwardManager.checkConnections 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":"platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaafd94457ae6be471d82d37723c23fb2170a3510060c1aede468f2d65a5fae9"}},{"ruleId":"D1","level":"warning","message":{"text":"PortFilter.matches (cyclomatic 19): PortFilter.matches has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Models/PortFilter.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f7e7c6944f02562ce8d6a74efb6bd0ce4c6be5de41450f406ba2d6ddf72b2f"}},{"ruleId":"D1","level":"warning","message":{"text":"PortForwardManager.startConnection (cyclomatic 18): PortForwardManager.startConnection has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardManager.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3286cf08d5e8c05e9463c4c7fa0ca1b44c272c741f55dd96e264b3e2ee438c57"}},{"ruleId":"D1","level":"warning","message":{"text":"PortFilter.Matches (cyclomatic 17): PortFilter.Matches has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/PortFilter.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6d3e37fa0891a358aa2667a4960a2a3dbdfe11b7b03fecdba9881a86fc127b"}},{"ruleId":"D1","level":"warning","message":{"text":"SponsorCard.body (cyclomatic 16): SponsorCard.body has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4122b229c0bb0d22d7a31793855aced0c30c26c02cc0ca5ec3d5f33b8c589b38"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarWindow.render_list (cognitive 44): MenuBarWindow.render_list has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 9 (17 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/window.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2ed081364f3ba43d7f0dee7d20876d6e8e56f42ee5d930beca1043780cae72"}},{"ruleId":"D2","level":"warning","message":{"text":"PortForwardManager.checkConnections (cognitive 43): PortForwardManager.checkConnections has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 8, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"388a6072fee1be14bcefb7ff4555e79baca997b67791cbb5c04d4d28fc22e1a5"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxScanner::parse_ss_output (cognitive 35): LinuxScanner::parse_ss_output has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (5 pts), match/switch 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"portkiller-core/src/scanner/linux.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ccca783c08af6ad7cd6117107f02ca5f3d9f8d1b46a8af5f913fc278ff9743"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxScanner::decode_escaped (cognitive 33): LinuxScanner::decode_escaped has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 2 (5 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"portkiller-core/src/scanner/linux.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a2174f3604e1b8f7485c552fa5afec442d9110f1083e66fb7bfbc9d2287c87"}},{"ruleId":"D2","level":"warning","message":{"text":"PortScanner.parse_ss_output (cognitive 29): PortScanner.parse_ss_output has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/scanner.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d8415887b9cdaa28718f1f1d4444cca7f380536aa9facce3221474e0d32226"}},{"ruleId":"D2","level":"warning","message":{"text":"PortKillerTrayApp.build_menu_with_data (cognitive 28): PortKillerTrayApp.build_menu_with_data has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (9 pts), loops 4 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/tray.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf05a54aec0c6a4a6b5054d1c4912755a6b03361e76f078a96ab1c359c28b78"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.UpdateTrayMenu (cognitive 26): MainWindow.UpdateTrayMenu has cognitive complexity 26 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MainWindow.xaml.cs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc7c641edc16eace7b6bd6d2754faba55fd4d7a88f5b0362b44f3147d6ca8a2"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudflaredDiscoveryService.parseConfigYAML (cognitive 24): CloudflaredDiscoveryService.parseConfigYAML has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 1, loops 1 (nesting depth added 9). Of this number, 23 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":"platforms/macos/Sources/Services/CloudflaredDiscoveryService.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3e70e8a9ce0e434ec5f14cdcd22380f978177ccd76f4780a6a1e984dcfd835"}},{"ruleId":"D2","level":"warning","message":{"text":"NamedTunnelManager.discoverAsync (cognitive 23): NamedTunnelManager.discoverAsync has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3, boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/NamedTunnelManager.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"33701fb97ba0c00a6ad0ff15c2a15af36e3796dba565486789630a71f3ceef83"}},{"ruleId":"D2","level":"warning","message":{"text":"PortForwardProcessManager.startReadingOutput (cognitive 23): PortForwardProcessManager.startReadingOutput has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 1 (2 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardProcessManager.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3c415076ab8f3bdd8ee46883a3b3e11c54b1b7522d2482c9991601c2dcd7bf"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniPortKillerWindow.ContextMenu_ShareViaTunnel (cognitive 22): MiniPortKillerWindow.ContextMenu_ShareViaTunnel has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f342bac55b97cd23f2237d941628331769c88ca951e4f3b4acb2a069cff1b4"}},{"ruleId":"D2","level":"warning","message":{"text":"PortScanner.parse_lsof_output (cognitive 22): PortScanner.parse_lsof_output has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/scanner.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96936d336b618985621c83933607a3c54a27269ed95a0b05c3b98f7ac3b8570"}},{"ruleId":"D2","level":"warning","message":{"text":"PortScanner.parseLsofOutput (cognitive 20): PortScanner.parseLsofOutput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/PortScanner.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61eca4e7661ea4b6af23d1f12342dfbddbcf708cd5016efe1f525ef96423653"}},{"ruleId":"D2","level":"warning","message":{"text":"PortFilter.matches (cognitive 19): PortFilter.matches has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Models/PortFilter.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"46babab64fc3928e39058a888440b6392098a0795b4996d1fa66bd8ebaa1e6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"K8sService._parse_port_forward_cmd (cognitive 19): K8sService._parse_port_forward_cmd has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/services/k8s.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b553feefd6ea62c220354ff16d3818cb75b06f74ccd74773067f5066fad4cb"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxScanner::parse_lsof_output (cognitive 19): LinuxScanner::parse_lsof_output has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"portkiller-core/src/scanner/linux.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"773f6a7668f8d2695d7316420e1379f56e0a86fc9ede53911983d01ec79b4d27"}},{"ruleId":"D2","level":"warning","message":{"text":"TunnelManager._startTunnelImpl (cognitive 18): TunnelManager._startTunnelImpl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/TunnelManager.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0f8676b5e25747f0a5bddf823405567b0e0dc8fdce4dd733bdb19978af28e0"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarTunnelRow.body (cognitive 18): MenuBarTunnelRow.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/MenuBar/MenuBarTunnelRow.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2a3702ecea365eb36be557c3f8b477202674d4b91a046346007398fc70579f"}},{"ruleId":"D2","level":"warning","message":{"text":"K8sService.scan_active_forwards (cognitive 18): K8sService.scan_active_forwards has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/services/k8s.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1444260aec5213cce9f23b9dd8acdf34ec5d6959bf67f80edb8f98a74c70a1a7"}},{"ruleId":"D2","level":"warning","message":{"text":"PortForwardManager.startConnection (cognitive 17): PortForwardManager.startConnection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. 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":"platforms/macos/Sources/Managers/PortForwardManager.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3684b042fe69886611824bc9658710037fcdab98a9cacafaccd09d8b3e26a6"}},{"ruleId":"D2","level":"warning","message":{"text":"SponsorCard.body (cognitive 17): SponsorCard.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 8, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3187a284d7174ee9892fb1e7bfd7abfb5e8968c8096ce96195fa281389da0b"}},{"ruleId":"D2","level":"warning","message":{"text":"PortScanner.commandLine (cognitive 16): PortScanner.commandLine has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 4 (5 pts), loops 4 (5 pts), ternaries 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/PortScanner.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3d3123a2538fb49231eeda43f7ee2275c59aed2f055706ac90ad9fa8817aca"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudflaredDiscoveryService.discover (cognitive 16): CloudflaredDiscoveryService.discover has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/CloudflaredDiscoveryService.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b6da66b0e13d6893806b9ebbc48154e0aa1839b57ce5c459c1caa6b3c0f8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudflareService.scan_running_tunnels_from_ps (cognitive 16): CloudflareService.scan_running_tunnels_from_ps has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/services/cloudflare.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6266886dbbcf41a1ea346e12afff67b6a56a6d3755eaf1565866aa4a977caf6"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxScanner::get_pids_on_port_ss (cognitive 16): LinuxScanner::get_pids_on_port_ss has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 2 (4 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"portkiller-core/src/scanner/linux.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"08270b3a2ff733d72a23940860f8f84e70be4d33972652bd04de4064f6eecd52"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainWindow: TooManyMethods \u2014 291 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MainWindow.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8416f4a6d96e5589a2d17a2fcebbc137e14eaf31cbc2322f6c521459bd780b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsView.body: MethodTooLong \u2014 body runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"platforms/macos/Sources/Views/Settings/SettingsView.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e81dd3f7c66f3f6fb91c010a4ca559d05fa81880318928b59514679ae2973d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectionInfoSection.body: MethodTooLong \u2014 body runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionInfoSection.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"847118962a9bd637a101c14b0ccd7ac147746332fc36e53d6482f76fe20bdd7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:23-120 | platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift:82-181 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f636e01d95989ef02d8e0d8cca1293137887fa6d8af1e32b2b50915ebcaaace"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): platforms/windows/PortKiller/MainWindow.xaml.cs:404-428 | platforms/windows/PortKiller/MainWindow.xaml.cs:431-444 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MainWindow.xaml.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c97b405dba165505540c448d10a52dfd55270d90d53535dba62fde5ddf4619"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): platforms/macos/Sources/Services/PortGroupingService.swift:35-45 | platforms/macos/Sources/Services/PortGroupingService.swift:57-84 | platforms/macos/Sources/Views/MenuBar/MenuBarView.swift:40-104 | platforms/macos/Sources/Views/PortTable/PortTableView.swift:208-218 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PortGroupingService.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"767ec0049299ab80876aa969ffcb5908d436a7a6510721bc64c2d8b3d4bdfe3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): platforms/macos/Sources/Views/SponsorsWindowView.swift:200-276 | platforms/macos/Sources/Views/SponsorsWindowView.swift:307-398 \u2014 These two members are one piece of code written twice and then edited apart: 77 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d1695715ceaf9c7a309bcc256c3350ffa93a3f8a0134dab5062bf9aea447c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): platforms/linux/src/ui/window.py:255-285 | platforms/linux/src/ui/window.py:292-316 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/window.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59ea0812fa02269929a4b1116c6db13bedccd5cd5362ace4a8870d8144b3781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): platforms/windows/PortKiller/Services/PortScannerService.cs:212-257 | platforms/windows/PortKiller/Services/PortScannerService.cs:263-311 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"209a81a24de9bcd8170e56a58ff11deff29d1162fc32beeef78f497f7845b1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift:5-45 | platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift:48-83 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca92b27f5ce7c279dbfdcc7657a4bb2b0aeea0191c1cfdfb917f8de82728a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): platforms/macos/Sources/Managers/KubernetesDiscoveryManager.swift:50-86 | platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift:166-199 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/KubernetesDiscoveryManager.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbc05ba7a6176f7d016230d6d22e8bde791aa3efeaef3d531df27c863c8e391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): platforms/linux/src/services/cloudflare.py:133-188 | platforms/linux/src/services/k8s.py:26-66 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/services/cloudflare.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b34d02950e75f4c87908b1243042b251b9886ce9efb268e35ee5cdbe4db2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): platforms/macos/Sources/Views/SponsorsWindowView.swift:110-130 | platforms/macos/Sources/Views/SponsorsWindowView.swift:132-152 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76632cf2f80bafa7124ec0aad9d9978d9d643e11075a476bb3e9d91bd873d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:367-392 | platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:395-429 | platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:432-451 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afb16652a0463653df48a327431200bade9898609758717c8557abc6d2141aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): platforms/macos/Sources/Managers/PortForwardManager\u002BExecution.swift:47-78 | platforms/macos/Sources/Managers/PortForwardManager\u002BExecution.swift:81-104 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardManager\u002BExecution.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7459c44e82dd811f2993fd3c6845fd936464c4587acc87325f7e77920f1e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): platforms/macos/Sources/Managers/PortForwardProcessManager\u002BKubernetes.swift:22-35 | platforms/macos/Sources/Managers/PortForwardProcessManager\u002BKubernetes.swift:38-53 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardProcessManager\u002BKubernetes.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f4dcb623846d7cb974222452a0774c822603e65fc202b71a6a92a2d77da6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): platforms/macos/Sources/Views/CloudflareTunnels/NamedTunnelDetailView.swift:276-292 | platforms/macos/Sources/Views/CloudflareTunnels/NamedTunnelsSection.swift:149-166 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/CloudflareTunnels/NamedTunnelDetailView.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cac339e43a82fea77c60ee6c054efe0e01deb2742d80a939e07d9f0bead97a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift:133-152 | platforms/macos/Sources/Views/CloudflareTunnels/NamedTunnelsSection.swift:82-96 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b92382b869260383b5216a5cfdd4fdca0b89a3ad99b09bfc99dad5911f52052"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): platforms/macos/Sources/Managers/NamedTunnelManager.swift:84-100 | platforms/macos/Sources/Managers/NamedTunnelManager.swift:105-121 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/NamedTunnelManager.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c0a21832641435d8da0107d8fb73c5457bf580c5494b1617d99b037d1c2314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:545-569 | platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:572-591 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12f54a8deb440de089878002e3bb9564ab0d0da12e74c2256b456533a90cc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs:80-110 | platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs:125-160 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f43385d3bcc739e470c79ad0a1b8101be58ed55c131319ebaaec33e70770e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): platforms/linux/src/ui/tray.py:81-94 | platforms/linux/src/ui/tray.py:259-285 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/tray.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bd3b4141391a0730c51412503cdf5e3d59e8931ebeefe70d4fcba84adf77ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): platforms/macos/Sources/Views/PortForwarder/DetailPanel/KubeContextPicker.swift:109-122 | platforms/macos/Sources/Views/PortForwarder/Settings/DependencyRow.swift:99-110 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/PortForwarder/DetailPanel/KubeContextPicker.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8908b05591d8bfc4b2b0cb44ae49af7c6823d20d34f3778b54f3059a315e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): platforms/macos/Sources/Views/MenuBar/MenuBarPortList.swift:100-104 | platforms/macos/Sources/Views/PortForwarder/PortForwarderSidebarContent.swift:78-82 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/MenuBar/MenuBarPortList.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"52758fb68ada3f410974a6fca43defc339a6e73b48adced430e5eb3ab4811182"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): platforms/macos/Sources/Views/MenuBar/MenuBarPortForwardRow.swift:8-17 | platforms/macos/Sources/Views/PortForwarder/PortForwardConnectionCard.swift:10-20 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/MenuBar/MenuBarPortForwardRow.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d934e188dcac1a8b276d703f1df4d0887a46dce515b38d58a8757435b237531f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): platforms/macos/Sources/Services/PermissionService.swift:86-99 | platforms/macos/Sources/Views/Settings/SettingsView.swift:236-249 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PermissionService.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b3593ea632f8f7a633ee50a3f9aa85c3456d0943188b87d88cfdf11f6230cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): platforms/windows/PortKiller/Services/PortScannerService.cs:362-379 | platforms/windows/PortKiller/Services/TunnelService.cs:293-309 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be4e3d1b0a18e3955e4f97cb476631cea9df2637d5f759be5773e792420a31b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): platforms/macos/Sources/Services/PermissionService.swift:68-79 | platforms/macos/Sources/Views/Settings/SettingsView.swift:215-233 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PermissionService.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f110787c77fa3be197b691cd1344ac8221ff58f6d514c207d7ab921569cc08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): platforms/windows/PortKiller/CloudflareTunnelsView.xaml.cs:49-64 | platforms/windows/PortKiller/MainWindow.xaml.cs:453-469 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/CloudflareTunnelsView.xaml.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362feefb8ccdd945f33063c448f1b8d93b8e1e8fd5be654c7b1c85bd362e939"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): platforms/windows/PortKiller/CloudflareTunnelsView.xaml.cs:67-75 | platforms/windows/PortKiller/MainWindow.xaml.cs:480-488 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/CloudflareTunnelsView.xaml.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f241ec282b4d934576663d6eb3e3f637444257290a5b02919905c3784b3ab545"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): platforms/windows/PortKiller/CloudflareTunnelsView.xaml.cs:78-86 | platforms/windows/PortKiller/MainWindow.xaml.cs:491-499 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/CloudflareTunnelsView.xaml.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fc526cb22db2f9eaf272b6ae1a967e76adfe159c2b32b09fb2a61fffff7fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): platforms/windows/PortKiller/Models/CloudflareTunnel.cs:161-166 | platforms/windows/PortKiller/ViewModels/TunnelViewModel.cs:297-302 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/CloudflareTunnel.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb03ebc301cdd5aeed660025d9aa77117b8467ed1f9eda3e1876ddb888a7f011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): platforms/macos/Sources/Services/DependencyChecker.swift:68-76 | platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:16-21 | platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift:68-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/DependencyChecker.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"982f48b3f09df97fdadb593da23e69e1268b18ae0f7335d22963f5b0542ea8f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): platforms/windows/PortKiller/Services/PortScannerService.cs:118-152 | platforms/windows/PortKiller/Services/PortScannerService.cs:158-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65bff842d924428e32df5c5a09a72e4ba8e66c304dbac6742962f102cc3296a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs:80-110 | platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs:127-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a9fab55017b3e918c9461b722a8b19c7945ff96a266e937f57bff04ffc6e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift:57-83 | platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift:120-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift:57\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ff32d614213a200a0d44950bad13e5915c26f62c3e7a0c9c9cd83f800c121d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): platforms/macos/Sources/Views/SponsorsWindowView.swift:242-267 | platforms/macos/Sources/Views/SponsorsWindowView.swift:364-389 \u2014 both copies are in the same file, so extract the block 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 \u0060platforms/macos/Sources/Views/SponsorsWindowView.swift:242\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":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"45457851fc9abd6eb2bd23020ba1366bab9d1689eecd1e4caf95570e58851bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): platforms/macos/Sources/Views/Settings/SettingsComponents.swift:99-123 | platforms/macos/Sources/Views/Settings/SettingsComponents.swift:137-161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/Settings/SettingsComponents.swift:99\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":"platforms/macos/Sources/Views/Settings/SettingsComponents.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b20a81e2511f71016f38da976083ee6d9bfd60e7abe28e9ad0215bc2bc80215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/Browser/NamespaceListView.swift:39-60 | platforms/macos/Sources/Views/PortForwarder/Browser/ServiceListView.swift:22-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/PortForwarder/Browser/NamespaceListView.swift:39\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":"platforms/macos/Sources/Views/PortForwarder/Browser/NamespaceListView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f48dddc3ef9cc02b33d0b3430c428c19b3eb82ee654194c88dd6a130e961d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): platforms/macos/Sources/Views/SponsorsWindowView.swift:203-223 | platforms/macos/Sources/Views/SponsorsWindowView.swift:311-331 \u2014 both copies are in the same file, so extract the block 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 \u0060platforms/macos/Sources/Views/SponsorsWindowView.swift:203\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060platforms/macos/Sources/Views/SponsorsWindowView.swift:309\u0060 calls \u0060ZStack\u0060 and \u0060platforms/macos/Sources/Views/SponsorsWindowView.swift:201\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":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"211e2c9ba3125072ba95aba8bc4b3c1fa5281316f10b7bfd130395cad6ed50d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/ServiceBrowserView.swift:42-60 | platforms/macos/Sources/Views/PortForwarder/Tabs/ServiceBrowserTab.swift:71-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/PortForwarder/ServiceBrowserView.swift:42\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":"platforms/macos/Sources/Views/PortForwarder/ServiceBrowserView.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"462dd1c01ddf874d89596a9ae9a0e5d7617b7dc78ebfb3cceeda6662b173a2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionInfoSection.swift:71-88 | platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionInfoSection.swift:118-135 \u2014 both copies are in the same file, so extract the block 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 \u0060platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionInfoSection.swift:71\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionInfoSection.swift:89\u0060 calls \u0060frame\u0060 and \u0060platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionInfoSection.swift:136\u0060 does not \u2014 after which the two agree again for 4 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":"platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionInfoSection.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3729022942d1f33910c349b90334d5072983e68efe687a5d18ee897f800a041e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): platforms/macos/Sources/Views/SponsorsWindowView.swift:280-297 | platforms/macos/Sources/Views/SponsorsWindowView.swift:402-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/SponsorsWindowView.swift:280\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":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7780c6469acfd6952c2ded0e09838a05e0cc6b2fbebc525f9d73edaa43bc78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift:232-244 | platforms/macos/Sources/Views/MenuBar/MenuBarTunnelRow.swift:66-82 \u2014 before extracting anything, compare \u0060platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift\u0060 and \u0060platforms/macos/Sources/Views/MenuBar/MenuBarTunnelRow.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift:232\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":"platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4e03f4e130200104ef076ea66e77dd161f79862c32595d96dbf90753c1efb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:57-73 | platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift:98-114 \u2014 before extracting anything, compare \u0060platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift\u0060 and \u0060platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:57\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u006010\u0060 in one and \u00606\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa99824f7cd869de99637462c6daf75e2647e9ad4686bf9d68aee1abbb09d995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): platforms/macos/Sources/Views/Onboarding/OnboardingSetupStep.swift:29-44 | platforms/macos/Sources/Views/Onboarding/OnboardingSetupStep.swift:70-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/Onboarding/OnboardingSetupStep.swift:29\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 before the matched lines, \u0060platforms/macos/Sources/Views/Onboarding/OnboardingSetupStep.swift:27\u0060 calls \u0060toggleStyle\u0060 and \u0060platforms/macos/Sources/Views/Onboarding/OnboardingSetupStep.swift:68\u0060 does not \u2014 after which the two agree again for 2 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":"platforms/macos/Sources/Views/Onboarding/OnboardingSetupStep.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ef694a1c9136185912fd82327b8c82e300387ae4c2c8aef14aaf9dc33b1444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:98-110 | platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift:151-164 \u2014 before extracting anything, compare \u0060platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift\u0060 and \u0060platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:98\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":"platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f04b46512b3c4435eef0252ccb89a07f092bc61ff6704d33d0c0ffd32e8411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): platforms/macos/Sources/Views/SponsorsWindowView.swift:111-124 | platforms/macos/Sources/Views/SponsorsWindowView.swift:133-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/SponsorsWindowView.swift:111\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":"platforms/macos/Sources/Views/SponsorsWindowView.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d675f1a01603b6d7b21d8884130258d1d8ce54642aa05e42d7205df456658e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 3): platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift:235-242 | platforms/macos/Sources/Views/Components/PortContextMenu.swift:224-236 | platforms/macos/Sources/Views/MenuBar/MenuBarTunnelRow.swift:69-80 \u2014 before extracting anything, compare \u0060platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift\u0060 and \u0060platforms/macos/Sources/Views/MenuBar/MenuBarTunnelRow.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"813765b1b178f1ffe11c6e2aca108a19cb39e515d86dc8f93a270055d7f0b135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift:63-75 | platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift:76-88 \u2014 both copies are in the same file, so extract the block 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 \u0060platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift:63\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":"platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc480500cda57aaf8c7e8e0d480a4df1d7753b456d6668a52360ad5e08192e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/PortForwarderToolbar.swift:71-83 | platforms/macos/Sources/Views/PortForwarder/Tabs/ConnectionsTab.swift:24-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060platforms/macos/Sources/Views/PortForwarder/Tabs/ConnectionsTab.swift:37\u0060 calls \u0060help\u0060 and \u0060platforms/macos/Sources/Views/PortForwarder/PortForwarderToolbar.swift:85\u0060 does not \u2014 after which the two agree again for 4 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":"platforms/macos/Sources/Views/PortForwarder/PortForwarderToolbar.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad05bc50a62c0414254f443126923c90d522b740d4d4d0372644ccc565639ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): platforms/macos/Sources/Managers/KubernetesDiscoveryManager.swift:61-72 | platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift:173-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/KubernetesDiscoveryManager.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e863d9a84a27d74bfcc980c907639bc9d7e11d0bf439f080c0addd50147ff9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): platforms/macos/Sources/Views/Components/PortRow/PortRowView.swift:109-120 | platforms/macos/Sources/Views/Components/PortRow/PortRowView.swift:176-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/Components/PortRow/PortRowView.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd84cfec866175cf8f7063ab9f19a3c61e4cdc63a073b168856f407c259714f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:368-377 | platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:396-405 | platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:433-442 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:380\u0060 calls \u0060Stop\u0060 and \u0060platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs:445\u0060 does not \u2014 after which the two agree again for 4 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":"platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5502a7dcf2822c84f06ae81b41b31b03ee2c2b77f1d9c24fae912fddb0e9cf18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): platforms/windows/PortKiller/MainWindow.xaml.cs:409-419 | platforms/windows/PortKiller/MainWindow.xaml.cs:434-442 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MainWindow.xaml.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edde2b0bfc77d0c3eb88795b1cd92cec58fee2d3422dd367959e8405683779f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift:261-271 | platforms/macos/Sources/Views/MenuBar/MenuBarTunnelRow.swift:34-44 \u2014 before extracting anything, compare \u0060platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift\u0060 and \u0060platforms/macos/Sources/Views/MenuBar/MenuBarTunnelRow.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift:261\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":"platforms/macos/Sources/Views/CloudflareTunnels/CloudflareTunnelsView.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6600af22c26c118bc2f8d01527523076ebeb3c8fa915986ee50c6c913ec26bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift:232-241 | platforms/macos/Sources/Views/PortForwarder/TableComponents/PortForwarderTableRow.swift:20-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ac645c37072ebf151cd5f8683178b7fcfc38a253e2926a1761d156a763ccb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): platforms/macos/Sources/Services/PortGroupingService.swift:37-45 | platforms/macos/Sources/Views/PortTable/PortTableView.swift:210-218 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Services/PortGroupingService.swift:37\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PortGroupingService.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e5df6fcb8a8f43856135c392d4422fd26e633980d7d1863abb3677e21a1244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): platforms/macos/Sources/Services/PortGroupingService.swift:74-83 | platforms/macos/Sources/Views/MenuBar/MenuBarView.swift:91-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Services/PortGroupingService.swift:74\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":"platforms/macos/Sources/Services/PortGroupingService.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3edeb73b488815006e4cef7cdd60303dff30725cc4ddeb6416cdc92b16cb97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/PortForwarderToolbar.swift:85-93 | platforms/macos/Sources/Views/PortForwarder/Tabs/ConnectionsTab.swift:39-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/PortForwarder/PortForwarderToolbar.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fce5420bbafbf3306e3542c8a83cd3481b5f97fc6e5f21ed3d15765f3e5bfee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:78-86 | platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift:131-139 \u2014 before extracting anything, compare \u0060platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift\u0060 and \u0060platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift:78\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":"platforms/macos/Sources/Views/Settings/CloudflaredSettingsSection.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f3101d6c50a2c55f99e9841e23ebef6add4fc8694eb1e6f9bc03b7e3255b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift:56-63 | platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift:139-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardManager\u002BMonitoring.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf78d9b239b6847638226555570aac83dd220809f41f5095c541faf9f351bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): platforms/macos/Sources/Services/PortGroupingService.swift:37-43 | platforms/macos/Sources/Services/PortGroupingService.swift:59-65 | platforms/macos/Sources/Views/PortTable/PortTableView.swift:210-216 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Services/PortGroupingService.swift:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PortGroupingService.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3336d1c4d151d53414043a8078e679ac597295e495a2e2dccc55081a2053d4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): platforms/macos/Sources/PortScanner.swift:56-65 | platforms/macos/Sources/PortScanner.swift:382-391 \u2014 both copies are in the same file, so extract the block 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 \u0060platforms/macos/Sources/PortScanner.swift:382\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/PortScanner.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebd11ee3c90ca2942376aceb66722ffefa4008e4577ca6783aa6a1635eece91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): platforms/macos/Sources/Services/PortGroupingService.swift:60-66 | platforms/macos/Sources/Views/MenuBar/MenuBarView.swift:79-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060platforms/macos/Sources/Services/PortGroupingService.swift:60\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":"platforms/macos/Sources/Services/PortGroupingService.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bf8b518205cd4aa360533bd4603537b3ead9fa5f99af7c9e76c8fc056bc208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): platforms/windows/PortKiller/Models/CloudflareTunnel.cs:162-166 | platforms/windows/PortKiller/ViewModels/TunnelViewModel.cs:298-302 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"platforms/windows/PortKiller/Models/CloudflareTunnel.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd02df9c52e829dc84966a63364014bce64f91a852ec801799cb289c8cb186b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): platforms/macos/Sources/Models/CloudflareTunnel.swift:43-48 | platforms/macos/Sources/Models/NamedCloudflareTunnel.swift:105-110 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Models/CloudflareTunnel.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecede50d38e25df4a3d1a637a5e35e8d02bf6f9287649fe3e79c342ff9b62b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): platforms/macos/Sources/Services/PermissionService.swift:152-160 | platforms/macos/Sources/Views/Settings/PermissionsSection.swift:107-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PermissionService.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dead463d8749c149c10f9cb311c37a19d3ff3d40f7d1c57de3a8bbf04ef4421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): platforms/macos/Sources/Services/PermissionService.swift:163-170 | platforms/macos/Sources/Views/Settings/PermissionsSection.swift:118-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PermissionService.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"957828710b1479744e0192c7e71157575c5fae40cb9e94a75f6c826ce5e3b105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): platforms/macos/Sources/Services/PermissionService.swift:173-182 | platforms/macos/Sources/Views/Settings/PermissionsSection.swift:128-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/PermissionService.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fca0c36b02cc05c6dcb83bce06d57f67f31702e5d9970aa753bf49f9d42de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): platforms/macos/Sources/Views/CloudflareTunnels/NamedTunnelDetailView.swift:69-77 | platforms/macos/Sources/Views/CloudflareTunnels/NamedTunnelsSection.swift:233-241 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/CloudflareTunnels/NamedTunnelDetailView.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c498be0b248b9f7f44c94532e4359e48e02cf69edb47009d29b8e1e069d3cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift:221-230 | platforms/macos/Sources/Views/PortForwarder/TableComponents/PortForwarderTableRow.swift:9-18 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"806a5a856dfe8449dff1d81dd2672bf6ec177ed0691f282baa96e4e867e4057a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): platforms/macos/Sources/Views/PortForwarder/Settings/DependencyRow.swift:91-97 | platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift:183-189 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060platforms/macos/Sources/Views/PortForwarder/Settings/DependencyRow.swift:88\u0060 calls \u0060padding\u0060 and \u0060platforms/macos/Sources/Views/Settings/PortForwardingSettingsSection.swift:180\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":"platforms/macos/Sources/Views/PortForwarder/Settings/DependencyRow.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a129a930952cda57768ad5ec301492c2ded7f6655b2d7343b48938f194cc42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): platforms/macos/Sources/Services/CloudflaredService.swift:43-50 | platforms/macos/Sources/Services/DependencyChecker.swift:88-95 | platforms/macos/Sources/Services/DependencyChecker.swift:97-104 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/CloudflaredService.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb9b81f341fd7404395e990b3ad606357f55433c998b5917c87811b36b196b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): platforms/linux/src/ui/tray.py:129-145 | platforms/linux/src/ui/tray.py:159-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/tray.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38462840d1d32507088e7e90c6415c5d31c464de2a078d5e37eaa035081ae0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): platforms/linux/src/ui/dialogs.py:96-109 | platforms/linux/src/ui/dialogs.py:112-125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/dialogs.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa67142cc13399e151f0bc6165188124f05f7296dd1c48a93cbb6410a353d4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): platforms/linux/src/ui/window.py:348-361 | platforms/linux/src/ui/window.py:424-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/window.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6283bc4231f2ac677358fd0f587b6f1a1c7e7266ca0c5eb4cb6aadaa8929a214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): platforms/linux/src/ui/tray.py:64-75 | platforms/linux/src/ui/window.py:108-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/linux/src/ui/tray.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b120db49363422cf89fa06a5ba5534b4f410a8fccaedc51d7c8b809ef3f3247c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): platforms/linux/src/ui/tray.py:102-112 | platforms/linux/src/ui/tray.py:135-145 | platforms/linux/src/ui/tray.py:165-175 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060platforms/linux/src/ui/tray.py:113\u0060 calls \u0060hasattr\u0060, \u0060get\u0060 and \u0060platforms/linux/src/ui/tray.py:146\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":"platforms/linux/src/ui/tray.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dea0dba04f1d2279a1f208cd062d3ef27bd347cde2fc27d4071a0280f82f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): platforms/linux/src/ui/window.py:271-281 | platforms/linux/src/ui/window.py:302-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060platforms/linux/src/ui/window.py:270\u0060 calls \u0060set_line_wrap\u0060 and \u0060platforms/linux/src/ui/window.py:301\u0060 does not \u2014 after which the two agree again for 2 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":"platforms/linux/src/ui/window.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efb3b6765bc32a4fcf566c6a34b7c8515d01c7c7c672cca1cbaef4130048f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): platforms/linux/src/ui/window.py:327-333 | platforms/linux/src/ui/window.py:414-420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060platforms/linux/src/ui/window.py:411\u0060 calls \u0060set_margin_start\u0060 and \u0060platforms/linux/src/ui/window.py:324\u0060 does not \u2014 after which the two agree again for 2 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":"platforms/linux/src/ui/window.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e2c8f6ed22bbb223892c2e1053ffefdfb0eecb6f58957416ff185e8fac02a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): portkiller-core/src/scanner/linux.rs:63-83 | portkiller-core/src/scanner/linux.rs:313-333 \u2014 both copies are in the same file, so extract the block 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 \u0060portkiller-core/src/scanner/linux.rs:63\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":"portkiller-core/src/scanner/linux.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd967a1533ea6f81ce7846c5dd972f7df3b7022345b8216888c02ddfd186fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): portkiller-core/src/scanner/linux.rs:53-60 | portkiller-core/src/scanner/linux.rs:415-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060portkiller-core/src/scanner/linux.rs:48\u0060 calls \u0060get_pids_on_port_ss\u0060 and \u0060portkiller-core/src/scanner/linux.rs:412\u0060 does not \u2014 after which the two agree again for 2 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":"portkiller-core/src/scanner/linux.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ace97b660ccddedfd59705b4b8f67ceb2b55d79738e95e8d1e6ef7ad6542fa8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 4): AppDelegate\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/PortKillerApp.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c2dc4519414cab06fdcdc60758d3b0f525c443920c1c7e3054f1ad4a4014ac"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PortForwardProcessManager (LCOM4 4): PortForwardProcessManager\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardProcessManager.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a53e4ba0668eb1fba94f363e8f71fb58b5755a6013bcef1a7f96fbc45d7ec00"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/NotificationService.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"166ffa980128791d27c4c51652721f2f21f50a07212bfda10db6b4b9ff8b833a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/NotificationService.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"63170c7d370460692aaa1218a6123d98c9298fcc9c9db31ba42aa4841bc5a639"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/NotificationService.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"39783774e6124bca9a797b2eff3fa02adf33f9f7639c9b4d28807cbe61385394"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93361f17bde0c5c6dfd047aaabccb6c8e662e50dafa82d5eb44dc069d6fa316"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e075a29834e73b902987d0d3c890ccd5a4fd7f92b718dcf79f85e49222bd29"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/SettingsService.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c758b108151ca33bd167fee543004e3856bb3d2198d8f70fff3612278ad8db0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/SettingsService.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c361987f2e794044fc17066e00eacc11fba29df39f3d2a2a5d99694376b45bfe"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/SettingsService.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"87865255ea07d92522880cc4499e061f133033e6624fc91a130737b400d63edc"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/TunnelService.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"961291c31327042977efd225114b79522a6171c14cd2634f4c9b09648380ef21"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/TunnelService.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"325a87dd6d11fd08d17f3fc79845af75296b6ac84ca3b1548dd61ebfe3a19fb7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/TunnelService.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e1e74e2f332f95daa1b6ea6621a07ce21eadbc0ebec5b83ec8650f2415e813"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EnableGlassBlur: Method EnableGlassBlur \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"36830ca3fca9d7b09af70ef39c1c8c6bba61f75dbead65313899a7dbfc7312fc"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DisableBlur: Method DisableBlur \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/WindowBlurHelper.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a903355afc6fe3ae26d94bd8a2c1f30e9aab02dddf04a271c1382ceb23cc7085"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ToDisplayName: Method ToDisplayName \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/CloudflaredProtocol.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2c57420e48ff65b2946de293a39555c19049db413e8d6ae3b3b12ddf6bcc55"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Reset: Method Reset \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/PortFilter.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"20edb15ba918fd3ac41f03b2276780b22621ce220bc9a756dd86ef7ddf15b6c4"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetIcon: Method GetIcon \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/PortFilter.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4282b206dbcea5d0e84fc4aac93ba333e4cdafabf7a3e573ea7d1dd54da5e438"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetDisplayName: Method GetDisplayName \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/ProcessType.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8236241f461b1f2b734789095d77b6c7438079e5017b5ccbab903751192ba185"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetIcon: Method GetIcon \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/ProcessType.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8583dddd896e26d4a39f5af074857278cc669a366929ef8da7f28fd788346c4"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Unregister: Method Unregister \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/NotificationService.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a76d5d29f3d790ba5ee51925b12b6b3f07ac5346b425b50efb1848f1615ba6"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MIB_TCP6TABLE_OWNER_PID: NamedType MIB_TCP6TABLE_OWNER_PID \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"462c76d56c7e98775f7d156775b3e2a8e1ddcd553b44eb457e55ac0d84b9144f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: KillProcessAsync: Method KillProcessAsync \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/ProcessKillerService.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"525a45beddeb8cbcbfd49205ae0a62e0710ff3d78095ba73c308c4efb8cbdfc3"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: KillProcessesOnPortAsync: Method KillProcessesOnPortAsync \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/ProcessKillerService.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"76585f4e38e216a50324f34f9f6a5fab04c0bb776ffa5cf4017be274502102a5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ProcessExists: Method ProcessExists \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/ProcessKillerService.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9381df5befe61be00fa725429c03fee0f2b7ef9ee16ec828b6a7075e33c3a6"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetAutoStart: Method GetAutoStart \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/SettingsService.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef38c8928715d60022ffd7a799c836a233760365ef8c3ac1f20fc41c50bb5ee3"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SaveAutoStart: Method SaveAutoStart \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/SettingsService.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b2e5ab11d0220ce5f5eb928388e4cb084e05906fc55e8d19c80cbf6b49e9bd"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ClearAllSettings: Method ClearAllSettings \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/SettingsService.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94971301a90a6153aed48df79c0b30fbd79b36faee79aacc5f36ace9f390549"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: IsRunning: Method IsRunning \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including PortKiller, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/TunnelService.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"593fc715d57c47557779df4538052c9de24585da367e9b5b877ee664062efadd"}},{"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. ADRs are expected here because \u0060platforms/windows/PortKiller/PortKiller.csproj\u0060 makes this repository a deployable product (line 3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/PortKiller.csproj"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da452c661ad88624e39c5553bbfb340431370a0f1bf38abd160faafc8c013f6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup keyboard shortcuts\u0022 repeats the code it sits on: 3 of its 3 words (setup, keyboard, shortcuts) are already in \u0060SetupKeyboardShortcuts();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MainWindow.xaml.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5023d838f28cbc808fb2c497c006f9d42139220d1a8b6538b17bdc2a8254acbf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update ports list\u0022 repeats the code it sits on: 3 of its 3 words (update, ports, list) are already in \u0060PortsListView.ItemsSource = _viewModel.FilteredPorts;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MainWindow.xaml.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"571fda4fa19f5aaa328e996bcff15323f755a04092e381cb764f4bb40dd614d3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Bind tunnels list to view model\u0022 repeats the code it sits on: 4 of its 5 words (tunnels, list, view, model) are already in \u0060TunnelsListView.ItemsSource = _tunnelViewModel.Tunnels;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MainWindow.xaml.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59cbf748b649b49a77fd8152270d0016509d1061424520d9b4503cc355d4924"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start spinner animation\u0022 repeats the code it sits on: 3 of its 3 words (start, spinner, animation) are already in \u0060StartSpinnerAnimation();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d320f4e5e0ae7e78316c2078784dab09910e3a8b580e73bf92cbba19f8b7dc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stop spinner animation\u0022 repeats the code it sits on: 3 of its 3 words (stop, spinner, animation) are already in \u0060StopSpinnerAnimation();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6aafa79c17236528fdd3962776fe2bdeb662b3bd1f11f8be853f09a5a3ef1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Helper method to find a child element by name in a visual tree\u0022 repeats the code it sits on: 7 of its 8 words (helper, find, child, element, name, visual, tree) are already in \u0060private static T? FindChildByName\u003CT\u003E(DependencyObject parent, string name) where T : FrameworkElement\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/MiniPortKillerWindow.xaml.cs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf321b3b9f06b884d92941575ea04c280996357787d3f89076184690766ba6b3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Watched Port Notifications\u0022 repeats the code it sits on: 3 of its 3 words (watched, port, notifications) are already in \u0060private void CheckWatchedPorts()\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/ViewModels/MainViewModel.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc6f449ad0846523c2560896f71847109fcab0f22099eb4cd7903b0ab920c91"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if tunnel already exists for this port\u0022 repeats the code it sits on: 4 of its 5 words (check, tunnel, exists, port) are already in \u0060var existingTunnel = Tunnels.FirstOrDefault(t =\u003E t.Port == port \u0026\u0026 t.Status != TunnelStatus.Error);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/ViewModels/TunnelViewModel.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"515817af64dc3a9a9da2a85cbbf853d83edb5679595c2c914b03e29159ff86fa"}},{"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":"cb8ca43e001cd4c57a81d12bc8366236dacaeeef60ed66b63893d51727d94407"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fceabd935382f785d750226f94d05ee538def08c1dde17aa2817f94d0fdc6960"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d728a8008aeaccede7fc0a3a9620965a60934f3c3ee08a9b178da1d519b94beb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ee9c6e84c1819499d8466e6a39e56867c2b784ad8671657b5fb20c4c28e01b2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"534e9acbe014940274dccb5a5c604021fab8232b6f8ae581ef4343fb815f14e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01aab572cf25cd829f0b3313e2539b63d6c2866126bd80ab2331ed0a0867dfab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95ae9f2ddaec0c70b0418d132e0ccc1c049636b9ac4da434d600c38853297a61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29f400b65a13d69ec811f5dc5cff584fda6445dec027dbf40c2a8c7f45465818"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88c32053a93ed13890bbe11cb65450fbb3cf0790942bbb53a3b83dc08456e4c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8627f687d0394e72d5e01b8afcdb8e44c7458e1e342a008dffc7925eaf385738"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f95c1d9ab4b07b58ca83e02b704c7bda1ed1a6b3d318e72d6f65996c4c7011ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c0a8f3d2fb4ea9e982c77834835d706f804000a24385f722fba66f456b5b2e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53041d0452eb7a0f6d7363cca46cccfc47fe77904a465fee573e39f7c59d9395"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eaf76f8bdc068161462a4940f91721920400e27b484a881d6517a7c5e58cb735"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49826d24ef311f463fb3dde6ea5f24775846845fe8d583e4a1e4737d92b34351"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"193c37cbdd80d66b75b3f909b89585959a2700c5c6347a26ecb6588644879a1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"088c53b8dd3899a42ea387c321adddb62d221c2b21ec3a000ee525ecaf479a58"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7608bbb89bd93c320da80237dec51d38e8a5602b03b7bc6c3d3127fcc0ec15b6"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99f457f0ededdae0bb4c9a6eeccef70eef9d24fc93130fd49c2e0b53bd8113e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4fa3a3025b7a9052cbd7b0d8a17b7d24287898600c95850a4b97997b4072afa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b4df36466731d0aaae25c389b73d4eb3087f112903c21d06ed2fbb88e3d802d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17f54fb2cbcb3a3ac79db6ee63e1de2d72883c1f15bc6adcd1384335d0b9f95e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6819b36024d45f5f0e1d43e74427f1e72c7d8dae5d09101e0f966a51bf6829ab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3643ff687baaf09e4fa86f24721b381bb8ec583e4fb1bc9174a893ca376bdfb1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf32e7279f3ac62b6831412a5aabb18c6a74db5b29f84faccf95e0f4f9f681a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24bcc8189b69961073a2a81a26475bc0ac4b4627119c2067a001ba82a978dc0a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae59d5e9dd2c30e110a21be3f2f3e4339df91ffb4154cfcf5f17bedb858ec684"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security 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":"1aeaa6ef068e8b70909d0eb459d7be0c53b43fc480df140fe819fac41c7c2b73"},"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":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"108d05cbc9f332d100a285e9f954773be91b93caff22a6f3747212406753f325"},"properties":{"dependency":{"package":"defu","version":"6.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99f76491ad726d46c85e90ee78ea91171111baf91b35551ff748bea976ee94e3"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecb27a8441991ab87fe3986a4525228a00b3f1a8003bf32af77025ecc969caa1"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89e9202814bfc3e596543ff5f408fb3f84910cbd6f29685594fac47f754f10ad"},"properties":{"dependency":{"package":"defu","version":"6.1.4","advisory":"[CVE redacted]","reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a27f43de966abcdb6a096222d0c3e58d75dde2da178fcacff0428192805e3e8"},"properties":{"dependency":{"package":"yaml","version":"2.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ef8b5b2c2d103b461f271a3fab565cef347c70fdcb3385faf32c61e402d42b4"},"properties":{"dependency":{"package":"yaml","version":"2.8.2","advisory":"[CVE redacted]","reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-674","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23242335439540a7f0752c9def5c038b557d1cb0f8e6f7b448b5f69adcab3c1d"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a036d3a88fd6cfbaeb7d0095ffe641a7c9974bd3e9e6c4c8b80f4e281b77a501"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: NotificationService: \u0060NotificationService\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_isInitialized; e.g. \u0060_isInitialized\u0060 at line 25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/NotificationService.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a6bca04737c41e2a280a24bd37e2f29caaeb11f386c5a78b95c66b567fc57f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: TunnelService: \u0060TunnelService\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_processes, _urlHandlers, _errorHandlers; e.g. \u0060_processes\u0060 at line 122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/TunnelService.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c852c954ffb1a74ffdb1c60e1cf23cdb286d5a21eee0c9b5c15e1b7520631d16"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: MainViewModel: \u0060MainViewModel\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (IsScanning, _refreshCancellation, _previousPortStates; e.g. \u0060IsScanning\u0060 at line 120)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/ViewModels/MainViewModel.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"087bcee4cbbffb10b1380ea9ebd81cfb3bbd450b455b1c51b85e8c8d2f6aa69a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: TunnelViewModel: \u0060TunnelViewModel\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_isCloudflaredInstalled, _cloudflaredProtocol; e.g. \u0060_isCloudflaredInstalled\u0060 at line 30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/ViewModels/TunnelViewModel.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2c04fb0472b0e7e3e23455ed5dbf27633a9cb5ccc0cb46a632e7e9e2baf94b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: PortFilter: \u0060PortFilter\u0060 is not registered, but the singleton \u0060MainViewModel\u0060 creates it and keeps it in \u0060_filter\u0060, so one instance outlives every request and is shared by every caller that reaches it \u2014 and it mutates instance state outside any lock (SearchText, MinPort, MaxPort, ProcessTypes, ShowOnlyFavorites, ShowOnlyWatched; e.g. \u0060SearchText\u0060 at line 60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/PortFilter.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"597949ce7c96cdb0ce400e5fbc4513c16cf7a80c0f483dd5083567750b82b61b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful shared instance: CloudflareTunnel: \u0060CloudflareTunnel\u0060 is not registered, but the singleton \u0060TunnelViewModel\u0060 creates it and keeps it in \u0060Tunnels\u0060, so one instance outlives every request and is shared by every caller that reaches it \u2014 and it mutates instance state outside any lock (_id, _port, _status, _tunnelUrl, _lastError, _startTime; e.g. \u0060_id\u0060 at line 35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Models/CloudflareTunnel.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2063f1e91ddfaa38e9ea0d6761595a370e484489bf79b443c3a1643611109547"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/ValueConverters.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e479cca17b328ea31001210970da0f3306e761b229967e455ca3a414834fc5c5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/ValueConverters.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a87d2940212b4c7ba20f18bba3b039acdd5a3ab6a4d77caf45d50dbd522be96"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/ValueConverters.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a5618f4e19738a4863627f4ccc7c216745017eb50c3dd5ca5013ac70046dd"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Helpers/ValueConverters.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5128b8417686c07ea2436949044a2b7b90c5f3bf9245fa46989aabc8dec2ffe0"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: platforms/windows/README.md names .NET 8, but the projects target .NET 9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/README.md"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae0fe51ead7e34f29da3eab3e217f1f2ede2ef4097ed64c240c520120b3c693"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060platforms/windows/PortKiller/PortKiller.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/PortKiller.csproj"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdb38d5973b0a95144888b96432cdb5c115c118e2ef30d320309cb8b4f89c94"}},{"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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060killAllPortForwarderProcesses\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardProcessManager.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7e6424bacd253f16daec271d4dc52b2b412136da864e2303b8f13a06fa5a68"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060startDirectExecProxy\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Managers/PortForwardProcessManager\u002BExecution.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bfd180e8a538a414b1ba20b8084c1dd3cf71187739571df27f3824b23a45e7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/ProcessExecutor.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff4a370ecdba26dcaaf2e30f422172fc23c92ab9cef2ce3bd14872bed164b09"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060runDiscardingOutput\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/macos/Sources/Services/ProcessExecutor.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"449c047315218db7ba6c90cb375f473b1fee21bc5ddaab0548909a2f536f2bcf"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.portForwardStatus == .connecting || connection.proxyStatus == .connecting\u0060 appears character-identically in 4 files \u2014 platforms/macos/Sources/Views/MenuBar/MenuBarPortForwardRow.swift, platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift, platforms/macos/Sources/Views/PortForwarder/PortForwardConnectionCard.swift, platforms/macos/Sources/Views/PortForwarder/TableComponents/PortForwarderTableRow.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":"platforms/macos/Sources/Views/MenuBar/MenuBarPortForwardRow.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f5d0c03dd5c63895896b3377c28822645d7a2cb8860b02e6ef6312e85d09f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.portForwardStatus == .error || connection.proxyStatus == .error\u0060 appears character-identically in 4 files \u2014 platforms/macos/Sources/Views/MenuBar/MenuBarPortForwardRow.swift, platforms/macos/Sources/Views/PortForwarder/DetailPanel/ConnectionEditSection.swift, platforms/macos/Sources/Views/PortForwarder/PortForwardConnectionCard.swift, platforms/macos/Sources/Views/PortForwarder/TableComponents/PortForwarderTableRow.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":"platforms/macos/Sources/Views/MenuBar/MenuBarPortForwardRow.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14bf186311464d44023b5c76bf7b436aff14bf769f2313e6db8555af2cc93fd"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~0.1 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 2 suppression(s) across the 14824 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ScanPortsAsync\u0060 swallows every exception into \u0060return new List\u003CPortInfo\u003E();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"78961799e0d8e39f4f928cf2320325ff2e2628c959212181f02e74341feead77"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetProcessInfo\u0060 swallows every exception and sets \u0060user = Environment.UserName;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/PortScannerService.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"1309c73406a5d68e8196c9f8823b491e59a2a4b62312a081fe88bb5266f966c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060KillProcessAsync\u0060 swallows \u0060ArgumentException\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/ProcessKillerService.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb68b9f58f0fa1bc68525274bce51d572d67259b2c524b294535f7cd06d8cd80"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060KillProcessGracefullyAsync\u0060 swallows \u0060ArgumentException\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/ProcessKillerService.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e570e0d11827e8a4f74eecb2e4a15a03f17268c8baa29d00a0fb24b36811c3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ProcessExists\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"platforms/windows/PortKiller/Services/ProcessKillerService.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"89174cbeb7bf771ced5199a9adb7a19f0cdb396f0185536c2b250a24f7693bb4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readCredentialsFiles\u0060 turns every thrown error into \u0060[]\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":"platforms/macos/Sources/Services/CloudflaredDiscoveryService.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6efa8e461b76206799e689f4487790179735e226cff00155e8390799931366"}}],"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-1321","guid":"0367a99b-2a5d-7b52-a83b-6f4196022556","name":"CWE-1321","shortDescription":{"text":"CWE-1321"},"helpUri":"https://cwe.mitre.org/data/definitions/1321.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-674","guid":"c0f18e9e-e0d3-e550-b8ec-7c84214125c9","name":"CWE-674","shortDescription":{"text":"CWE-674"},"helpUri":"https://cwe.mitre.org/data/definitions/674.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":49,"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."]}]}