{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"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":"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":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"GPTLayoutAdjuster.perform (cyclomatic 34): GPTLayoutAdjuster.perform has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Utilities/VBDiskResizer.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b50ff4e160f26b85d593793a198fb4f40c75cc8c6bf2f9dab06df16fe89ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionTerminationCoordinator.perform (cyclomatic 22): SessionTerminationCoordinator.perform has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/SessionLifecycleCoordination.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ba061dae9cafccb9e6be4176313ce204da512d71bbbd4f2b708f147fc3fb61"}},{"ruleId":"D1","level":"warning","message":{"text":"VMNetworkAttachmentHelper.scheduleRecovery (cyclomatic 21): VMNetworkAttachmentHelper.scheduleRecovery has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMNetworkAttachmentHelper.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f771d1683f6d362c40c992866df70c9a7c8121db886bbd56dfb57caf117e12a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProvisioningConfigurationView.body (cyclomatic 21): ProvisioningConfigurationView.body has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/ProvisioningConfigurationView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fd37a7465f31072318b1400128bc6619e6799afcc276cedad2d8b74cdf2e07"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedFoldersManagementView.body (cyclomatic 21): SharedFoldersManagementView.body has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc3cacb367f702db593eeaff52819cb9ed56c0b156967e455b1630c6819e10e"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionCloseCoordinator.performClose (cyclomatic 19): SessionCloseCoordinator.performClose has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/SessionLifecycleCoordination.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e460e41c7c4cd5e833d5e3f1a44837673ad2a5684d2658e7f1f8d53758f2084"}},{"ruleId":"D1","level":"warning","message":{"text":"SavedSessionRuntimeDescription.firstDifference (cyclomatic 17): SavedSessionRuntimeDescription.firstDifference has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/SavedSessionEligibility.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1af9fa0cd5a2791c17d3ba24d194a9a89f01142aaf3107503801f38cdcafcc2"}},{"ruleId":"D1","level":"warning","message":{"text":"GuestAppConfigurationView.body (cyclomatic 17): GuestAppConfigurationView.body has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/GuestAppConfigurationView.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0dff20a064c55f4599f3e52bd53d82fcb404e041b066a3a3d09f5536f05fce"}},{"ruleId":"D1","level":"warning","message":{"text":"ProvisioningForm.validatedField (cyclomatic 17): ProvisioningForm.validatedField has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/ProvisioningConfigurationView.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc4a69dcd019aded8cae6eef3460ec2b832afa43f0cc98cd18715fb5c816770"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedDiskImageEditor.body (cyclomatic 17): ManagedDiskImageEditor.body has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/Storage/ManagedDiskImageEditor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a6c2ae2b0fd353643e5682f626dccf89d6472da13fa1a9c3e329638f292cdb"}},{"ruleId":"D1","level":"warning","message":{"text":"VMLibraryController.loadMachines (cyclomatic 16): VMLibraryController.loadMachines has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMLibraryController.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d020abd13f01dd9c9d7c82cfb8aa30e2651b2f9a2b52656e1cfe85c6ac8fff97"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionCloseCoordinator.performClose (cognitive 40): SessionCloseCoordinator.performClose has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (24 pts), error handling 4 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/SessionLifecycleCoordination.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98c73f995c0d3bd101a1982ceebf6d04851c3b537c774177be2e8bd76ef1a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionTerminationCoordinator.perform (cognitive 33): SessionTerminationCoordinator.perform has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 5, loops 2, match/switch 1 (nesting depth added 13). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/SessionLifecycleCoordination.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a6d49f3d1d2ea98ae5a036d9230f2302c885d6b300c421df6169722959e0e8"}},{"ruleId":"D2","level":"warning","message":{"text":"GPTLayoutAdjuster.perform (cognitive 33): GPTLayoutAdjuster.perform has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 23, if/else 10. 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":"VirtualCore/Source/Utilities/VBDiskResizer.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a565288184ecd8bf58104d9b6d864dd36733e05e9b3c10479ea8e804ab5e54b0"}},{"ruleId":"D2","level":"warning","message":{"text":"VMNetworkAttachmentHelper.scheduleRecovery (cognitive 30): VMNetworkAttachmentHelper.scheduleRecovery has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 8, error handling 3 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMNetworkAttachmentHelper.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e118f96e4040777e279a7e3e98ccd3f4d3484f11725d2639dac8d3bf2a2ab12"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedFoldersManagementView.body (cognitive 28): SharedFoldersManagementView.body has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 8 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6086972e961e12a3232e7c3e0c6ae6163c5cfab7fe619cc6517b0d57e2f41f09"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualMachineSessionUI.startOrResume (cognitive 26): VirtualMachineSessionUI.startOrResume has cognitive complexity 26 (threshold 15). Drivers by points: error handling 6 (12 pts), if/else 3 (10 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Session/SavedSession/VirtualMachineSessionUI\u002BLifecycle.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3654b752e56ec880056452bea00b8ac06035947b6817ea264759aed532f5b79"}},{"ruleId":"D2","level":"warning","message":{"text":"VMLibraryController.loadMachines (cognitive 24): VMLibraryController.loadMachines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (15 pts), error handling 3 (6 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMLibraryController.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"34acda585f282e3f8aba786f110922421900163c4bc54b75d296e657c3f135f0"}},{"ruleId":"D2","level":"warning","message":{"text":"SavedSessionStorage.stageCapture (cognitive 23): SavedSessionStorage.stageCapture has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/SavedSessionStorage.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a66948f35c183146d9148f60ef56fe0d362c02cd3fcb6c82fd234efdf6cfb68"}},{"ruleId":"D2","level":"warning","message":{"text":"VBDiskResizer.resizeDiskImage (cognitive 21): VBDiskResizer.resizeDiskImage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 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":"VirtualCore/Source/Utilities/VBDiskResizer.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"520cf85a83b042075621fcab53984341ad40f1040d5cf218a9f9731bb680169c"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualMachineGuestActions.body (cognitive 21): VirtualMachineGuestActions.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Session/VirtualMachineSessionUI.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cd1746c1a8bd41dfd831a7d34509d090cf995dce3be2902877e6b38ee72c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProvisioningConfigurationView.body (cognitive 21): ProvisioningConfigurationView.body has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 6, if/else 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/ProvisioningConfigurationView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccebf7cc4a31cb07be2ef987683a961862c31dcbf058fcea00055736138434d"}},{"ruleId":"D2","level":"warning","message":{"text":"VMInstallationViewModel._runMacInstallation (cognitive 19): VMInstallationViewModel._runMacInstallation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 4 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"VirtualUI/Source/Installer/VMInstallationViewModel.swift"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"19260c0bb4f20716eb49e2d44b257cc293ba8c28ecde28fb14a4a22caa89b27c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProvisioningForm.validatedField (cognitive 19): ProvisioningForm.validatedField has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/ProvisioningConfigurationView.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3abc05eaebd7d2ee128c3587023b586454dfe188fb3b66a29c133dd19506c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedDiskImageEditor.body (cognitive 19): ManagedDiskImageEditor.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/Storage/ManagedDiskImageEditor.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad04c7f6aa61b8e09ce0aded8f094984b31b9d6973bf647372443a0b57c8242e"}},{"ruleId":"D2","level":"warning","message":{"text":"AppearanceGuestService.setDarkModeEnabled (cognitive 19): AppearanceGuestService.setDarkModeEnabled has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, match/switch 1 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualWormhole/Source/Services/Appearance/AppearanceGuestService.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"726d3854caa185322bb4ac04186caefe1f5038b76baaedc1c02ddc81410cdf26"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepLinkSentinel.authenticate (cognitive 18): DeepLinkSentinel.authenticate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), error handling 3 (5 pts), match/switch 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DeepLinkSecurity/Source/DeepLinkSentinel.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dca6041cd7b29e4b526a181e2d388960ebb100528ea14994d3f800ead50146f"}},{"ruleId":"D2","level":"warning","message":{"text":"NSImage.init (cognitive 18): NSImage.init has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 8 (nesting depth added 6). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Components/BlurHash/BlurHashDecoding.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44400e4d7044acb67f3ea5c3c2e6d0fa9c93725cb64a75044fcafd0be4eadaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalDiskImageCopier.copy (cognitive 18): ExternalDiskImageCopier.copy has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (8 pts), error handling 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/ExternalDiskImageCopier.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7079a3fd752be731f95df88c40ffa0caee6fc7ea529e25218203d9295ae33413"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestAppConfigurationView.body (cognitive 18): GuestAppConfigurationView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/GuestAppConfigurationView.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7d48c2a5b520d6c286898f43bf811b5a43cf0b7350f2bf0ee2134354adc12e"}},{"ruleId":"D2","level":"warning","message":{"text":"VMLibraryController.migrateBackgroundHashesForLegacyThumbnails (cognitive 17): VMLibraryController.migrateBackgroundHashesForLegacyThumbnails has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMLibraryController.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"df129b6d0ac2738f685455c02e6b0ffe61c15c46cd6f58a07672756a917da39b"}},{"ruleId":"D2","level":"warning","message":{"text":"VMUSBDeviceController.start (cognitive 17): VMUSBDeviceController.start has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 1 (3 pts), error handling 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMUSBDeviceController.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be9a991963677a9b8c1d2e1749632f909c71cf566e28eaaf94edb29d8be2cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"GuestAdditionsDiskImage.computeImageSizeInMB (cognitive 16): GuestAdditionsDiskImage.computeImageSizeInMB has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (2 pts), error handling 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":"VirtualCore/Source/GuestSupport/GuestAdditionsDiskImage.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1be58c85cf373a608368a21407663bb4a0165aa996b0d56fbc6a02682e749f"}},{"ruleId":"D2","level":"warning","message":{"text":"SavedSessionRuntimeDescription.firstDifference (cognitive 16): SavedSessionRuntimeDescription.firstDifference has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/SavedSession/SavedSessionEligibility.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab971b79277acc4c5a1bf8e23ab0638c0228cf033355d80455fca1b3cdfb762a"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualMachineSessionView.body (cognitive 16): VirtualMachineSessionView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Session/VirtualMachineSessionView.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c217f842e0538fb72a6601759e4cdfe48caa0e18dab0a8d1df843a964d1ddb6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: View: TooManyMethods \u2014 61 methods, declared across 25 files: HostingWindowController/WindowEnvironment.swift (10), LiquidGlassCompat/RimEffect.swift (7), LiquidGlassCompat/AirGlassEffect.swift (5), Components/BlurHashFullBleedBackground.swift (5), \u002B21 more file(s). The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Building Blocks/ChromeBorderModifier.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7753384a0fcf02029fb1afc6557e9d109857cf8976e98989e9c342ab22bb4ef7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Virtualization/VMController.swift: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: VMController (134-1109). The bar is 500 significant lines; this is 219 over it, 1.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed05dc33b3e6d77989cc892ebf9e640f58242943d86ac5d09a070e9a1955dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VMController: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"VirtualCore/Source/Virtualization/VMController.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3c63fd7fd29e2298f83acbb75a54504521041193adf4a9d04baeab6c96e5cd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VMController: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 135 over it, 1.34\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":"VirtualCore/Source/Virtualization/VMController.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e86fc1f1f0a95449aa50b6127e349e0b1713b0c6be212427743f639a3c0c485"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VMInstance: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMInstance.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcc26f4104bdd3e4d01b7d7700ea9fc7a990d06259cf9263177ea081135df29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Configuration/ConfigurationModels.swift: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Models/Configuration/ConfigurationModels.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be35d7b31bb8a4445de6534fd03384291ca97d5e4d2a3b3dd6ce6114be72fd39"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VMInstallationViewModel: ClassTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 109 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/VMInstallationViewModel.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c690bb7d163b9ed49e413606ddd7759e8b33411167352ad6a2fef00d2525b271"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GPTLayoutAdjuster.perform: MethodTooLong \u2014 perform runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Utilities/VBDiskResizer.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3203f7068f2f8a49014d8db96ff88d80c3551a6ddc08a204b2984799650752e1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VMInstance: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 57 over it, 1.14\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":"VirtualCore/Source/Virtualization/VMInstance.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c878dc018f7ee8ac8d71884eb42b16182dd8dcae1503c4a85dd3d1e0e59963"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VMLibraryController: TooManyMethods \u2014 32 methods, declared across 2 files: Virtualization/VMLibraryController.swift (31), Components/LibraryItemView.swift (1). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMLibraryController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c608992f20c2938d4d8dee55e93e44e735f2a74f6c537e5848e1b3e9061e6f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VMInstallationViewModel: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/VMInstallationViewModel.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"281cf2d6e3ef2446aaedb412c3154639b2b5309f3bd85351bf2daf7e84a403c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Installer/VMInstallationViewModel.swift: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: VMInstallationViewModel (27-815). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/VMInstallationViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bc4fda28fa42c7bb2d2abad47f582a4e7ca3b59e9b935a0ff05024307d6e94"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VBVirtualMachine: TooManyMethods \u2014 31 methods, declared across 9 files: Models/VBVirtualMachine.swift (11), Virtualization/VBVirtualMachine\u002BVirtualization.swift (6), Models/VBVirtualMachine\u002BMetadata.swift (5), Models/VBVirtualMachine\u002BScreenshot.swift (3), \u002B5 more file(s). The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Models/VBVirtualMachine.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf5c58d2f27de3b034912e01410e2aa859fd08523ec2f459f13379cb1c4f7c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VirtualBuddyVMView: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Session/Components/SwiftUIVMView.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac8e36a4aaf4ef38b00bbeef8d7b9f85076b80e9c862e531ee2aef40a4ff073"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Virtualization/VMInstance.swift: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: VMInstance (19-769). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMInstance.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f04adab537ee46e412d7494b205069e181a195b9068571897cfa138189b413c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): VirtualInstallation/Source/XPC/VirtualInstallationClient.swift:108-137 | VirtualInstallation/Source/XPC/VirtualInstallationClient.swift:139-161 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"VirtualInstallation/Source/XPC/VirtualInstallationClient.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5879d49666c29e13c607f95b98500ebb0b912283befdd17034b312273c96be63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): VirtualCore/Source/VirtualCatalog/SoftwareCatalog.swift:305-313 | VirtualCore/Source/VirtualCatalog/SoftwareCatalog.swift:317-325 \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":"VirtualCore/Source/VirtualCatalog/SoftwareCatalog.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe50a7271643874a0db855d9b7136662467f45807476608c40713fc36a7ed20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): VirtualUI/Source/VM Configuration/Sections/KeyboardDeviceConfigurationView.swift:31-53 | VirtualUI/Source/VM Configuration/Sections/PointingDeviceConfigurationView.swift:31-53 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"VirtualUI/Source/VM Configuration/Sections/KeyboardDeviceConfigurationView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2a2b11f6458f03b2c61f59ea6a72597a40cf3a3eb6fb933a265325da3f1e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): VirtualUI/Source/VM Configuration/Components/GroupedList.swift:19-32 | VirtualUI/Source/VM Configuration/Components/GroupedList.swift:141-152 \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":"VirtualUI/Source/VM Configuration/Components/GroupedList.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec7528ff060e60fa4f9e72adc29f8daf3eda4903c217389dfde4a69bc5dec2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): VirtualUI/Source/Session/SavedSession/SavedSessionViews.swift:9-24 | VirtualUI/Source/Session/SavedSession/SavedSessionViews.swift:29-44 \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":"VirtualUI/Source/Session/SavedSession/SavedSessionViews.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"739d6d437a8d8739b56cc9a829dbaaecbe97e6cd1326a4677cbdf00ab0bb0fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): VirtualCore/Source/Restore/Installation/VirtualInstallationRestoreBackend.swift:102-120 | VirtualCore/Source/Restore/Installation/VirtualizationRestoreBackend.swift:54-72 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"VirtualCore/Source/Restore/Installation/VirtualInstallationRestoreBackend.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"781da11555aabc4119c72332502e22080057965bddd8514158c443700364e003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift:369-375 | VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift:377-383 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0123f625b3fdc570349d513da2cb585a80b2c9167b9224ab579307b7e4650d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): VirtualUI/Source/Components/SwiftUI Status Item/StatusItemManager.swift:464-471 | VirtualUI/Source/Components/SwiftUI Status Item/StatusItemManager.swift:473-480 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"VirtualUI/Source/Components/SwiftUI Status Item/StatusItemManager.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24e7fd32eb7693f11e2e4157b62c5084c1880d269977edc4b418cc45f67f848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): VirtualUI/Source/Building Blocks/ChromeBorderModifier.swift:4-20 | VirtualUI/Source/Building Blocks/ChromeBorderModifier.swift:22-38 \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":"VirtualUI/Source/Building Blocks/ChromeBorderModifier.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"08739701bc000f52ccb56adb96a8d4af1a270b0ff2f9bf3becb797319964bf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift:16-29 | VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift:41-48 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"37773376dad0b40136270a4d5dae37e1dfe100e7507698e257812d2485bf5198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): VirtualUI/Source/VM Configuration/Components/GroupedList.swift:117-125 | VirtualUI/Source/VM Configuration/Components/GroupedList.swift:129-137 \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":"VirtualUI/Source/VM Configuration/Components/GroupedList.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e03e8aa4682b699312c28c9ff6bfed63106f73abea6352cc2d286ee5858a5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): VirtualUI/Source/Library/LibraryView.swift:152-170 | VirtualUI/Source/Library/LibraryView.swift:197-214 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"VirtualUI/Source/Library/LibraryView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1ec73f1c815f79b75ba3008b2bf1a75c170eb5e63460b2ab8c4225a3d7eb38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): VirtualUI/Source/Components/Array\u002BNavigation.swift:4-11 | VirtualUI/Source/Components/Array\u002BNavigation.swift:13-20 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"VirtualUI/Source/Components/Array\u002BNavigation.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f49021ab359f3b656e0417be60cf53cfee52cd4c0061d0f14680286651d91bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): VirtualCore/Source/SavedSession/SessionLifecycleCoordination.swift:126-142 | VirtualCore/Source/SavedSession/SessionLifecycleCoordination.swift:331-347 \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":"VirtualCore/Source/SavedSession/SessionLifecycleCoordination.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b2ba9f47f2e1028c69b0eec01b9e36d9f366c793d7e939ca4c27d9a5b92c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): VirtualUI/Source/Components/BackportedContentUnavailableView.swift:16-18 | VirtualUI/Source/VM Configuration/Components/SummaryHeader.swift:45-47 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"VirtualUI/Source/Components/BackportedContentUnavailableView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f16804aaa331b8778dfe37aa7ec61ca54f3a3ae6bc1061ea4f778610cfde20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): VirtualCore/Source/Restore Images/Models/VBRestoreImageInfo.swift:25-31 | VirtualCore/Source/VirtualCatalog/SoftwareCatalog.swift:128-133 \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":"VirtualCore/Source/Restore Images/Models/VBRestoreImageInfo.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ec0108cb77a010b8b07053b08155071c34e9f1eb878cd6110cccdfb2bb9856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): VirtualCore/Source/VirtualCatalog/ResolvedCatalog.swift:72-77 | VirtualUI/Source/VM Configuration/VMConfigurationView.swift:46-53 \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":"VirtualCore/Source/VirtualCatalog/ResolvedCatalog.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3c3c7fcad65f37217517895d4d18e48cc3ffbff2550d09172bf38be852cd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): VirtualCore/Source/Models/Configuration/ConfigurationModels.swift:707-713 | VirtualInstallation/Source/Helpers.swift:8-12 \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":"VirtualCore/Source/Models/Configuration/ConfigurationModels.swift"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"94102122a4f08a8bc6176c66136149480b92095510ee0de9481ee2d4ca30ea57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): VirtualCore/Source/VirtualCatalog/Utilities/BlurHashEncode.swift:120-122 | VirtualUI/Source/Components/BlurHash/BlurHashDecoding.swift:160-162 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"VirtualCore/Source/VirtualCatalog/Utilities/BlurHashEncode.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"205935dab21836b5a349ff52cf3c147c987ec107a191d272c9c5c3d40b61cae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): VirtualUI/Source/Components/DecentFormView.swift:18-21 | VirtualUI/Source/Components/LiquidGlassCompat/AirMaterial.swift:32-35 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"VirtualUI/Source/Components/DecentFormView.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"64df9a903aac167c1016f351ba180b3e410ce6f1e98a2265e4a403698f4244a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): VirtualInstallation/Source/XPC/VirtualInstallationClient.swift:123-137 | VirtualInstallation/Source/XPC/VirtualInstallationClient.swift:149-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 \u0060VirtualInstallation/Source/XPC/VirtualInstallationClient.swift:123\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":"VirtualInstallation/Source/XPC/VirtualInstallationClient.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ff36537ca60b4639bda3edeed3ba717adbdfd028c7f689f495ed51241bbef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): VirtualCore/Source/Restore/Installation/VirtualInstallationRestoreBackend.swift:132-145 | VirtualCore/Source/Restore/Installation/VirtualizationRestoreBackend.swift:83-96 \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. 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":"VirtualCore/Source/Restore/Installation/VirtualInstallationRestoreBackend.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f7880118fa7786a838f4759afd7888ce748814817eb914f84113f8e13a5db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): VirtualUI/Source/VM Configuration/Sections/USBDevicesConfigurationView.swift:360-367 | VirtualUI/Source/VM Configuration/Sections/USBDevicesConfigurationView.swift:369-376 \u2014 both copies are in the same file, so extract the block 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, \u0060VirtualUI/Source/VM Configuration/Sections/USBDevicesConfigurationView.swift:358\u0060 calls \u0060Divider\u0060 and \u0060VirtualUI/Source/VM Configuration/Sections/USBDevicesConfigurationView.swift:367\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":"VirtualUI/Source/VM Configuration/Sections/USBDevicesConfigurationView.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"334d4a5f97d3ed8f9014ed46cd11ccaf94b7de67515e79ee519de15bc30ac765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): VirtualCore/Source/Restore Images/VBAPIClient.swift:136-142 | VirtualCore/Source/Restore Images/VBAPIClient.swift:192-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Restore Images/VBAPIClient.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"66eaf2178ab0a66137874c90065803a889f708c9f35dc6a36df5ff6cb9973c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): DeepLinkSecurity/Source/Models/Extensions/DeepLinkClient\u002BCrypto.swift:17-21 | DeepLinkSecurity/Source/Models/Extensions/DeepLinkClient\u002BCrypto.swift:30-34 \u2014 both copies are in the same file, so extract the block 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":"DeepLinkSecurity/Source/Models/Extensions/DeepLinkClient\u002BCrypto.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7927024b16da82f215c4fb6a1418b9ed8221f624f8d48072f08ee324eb3a1671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): VirtualUI/Source/VM Configuration/Components/GroupedList.swift:22-26 | VirtualUI/Source/VM Configuration/Components/GroupedList.swift:142-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 \u0060VirtualUI/Source/VM Configuration/Components/GroupedList.swift:22\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, \u0060VirtualUI/Source/VM Configuration/Components/GroupedList.swift:147\u0060 calls \u0060EmptyView\u0060 and \u0060VirtualUI/Source/VM Configuration/Components/GroupedList.swift:27\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":"VirtualUI/Source/VM Configuration/Components/GroupedList.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0772f8222ab2182b6fac7fc8f9110d7cf9568054813f34a9f8d2590771a8e4d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): VirtualCore/Source/VirtualCatalog/Utilities/BlurHashEncode.swift:130-134 | VirtualUI/Source/Components/BlurHash/BlurHashDecoding.swift:170-174 \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":"VirtualCore/Source/VirtualCatalog/Utilities/BlurHashEncode.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd0f95e17c3e3fe61cc426bbde44d87a4d06f515b9536bafa27a9d54359b2e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): VirtualCore/Source/VirtualCatalog/Utilities/BlurHashEncode.swift:124-128 | VirtualUI/Source/Components/BlurHash/BlurHashDecoding.swift:164-168 \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":"VirtualCore/Source/VirtualCatalog/Utilities/BlurHashEncode.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9271afcf2975a3ee296eb5ba6299dbbe0d2e3465d81e088ac01c10ee6d20cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): VirtualUI/Source/Components/SwiftUI Status Item/StatusItemManager.swift:465-471 | VirtualUI/Source/Components/SwiftUI Status Item/StatusItemManager.swift:474-480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Components/SwiftUI Status Item/StatusItemManager.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f117f6e8f5fda13e11537f424817572dfc046b50b923912729d7c1083cb140c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): VirtualWormhole/Source/Services/DefaultsImport/Implementation/DefaultsDomain\u002BExportImport.swift:83-87 | VirtualWormhole/Source/Services/SystemInformation/SystemInformationCollector.swift:80-84 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060VirtualWormhole/Source/Services/DefaultsImport/Implementation/DefaultsDomain\u002BExportImport.swift:88\u0060 calls \u0060appendingPathComponent\u0060, \u0060Data\u0060, \u0060write\u0060 and \u0060VirtualWormhole/Source/Services/SystemInformation/SystemInformationCollector.swift:85\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":"VirtualWormhole/Source/Services/DefaultsImport/Implementation/DefaultsDomain\u002BExportImport.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a487b7d276053fde9cfa57bef0965d8d2ba1c48fde032ce4409895181011c93c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: URL (LCOM4 10): URL\u0027s methods fall into 10 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 10 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":"VirtualInstallation/Source/Helpers.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85be495a47a425d1a59780f2ee67508f9287d90ec353cea3baf4c5187710be6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NSImage (LCOM4 6): NSImage\u0027s methods fall into 6 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 6 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":"DeepLinkSecurity/Source/Models/Extensions/DeepLinkClientDescriptor\u002B.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f127a03dd8794eb4888501009be20eb4083da82877315d8af9cb93205d98debc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HostingWindowController (LCOM4 5): HostingWindowController\u0027s methods fall into 5 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 5 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":"VirtualUI/Source/Components/HostingWindowController/HostingWindowController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e910d930c3cc2fc2df8d3c8e2e7801bf6c232a0bd46b0305828c8835702d48b9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VirtualMachineSessionUI (LCOM4 4): VirtualMachineSessionUI\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":"VirtualUI/Source/Session/VirtualMachineSessionUI.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d50e24acd340ab26b637c8128047fa28ad3f4f90714d41985467b960fc9296e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCorruptGPTHeaderIsIgnored: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCoreTests/VBDiskResizerTests.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efafaf9d89f73aad24a88abf3a1ca48670f340f8e5deb67bfedf057eca97b0c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCorruptPartitionEntriesAreIgnored: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCoreTests/VBDiskResizerTests.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b142b505a317e0ee612cd9d237406dfd5da33b8c5165fd6283ef54e4b7dc521"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: controllerForInterruptedSessionRequiresRecovery: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCoreTests/VMControllerSavedSessionTests.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c000f104f00808dd8c24f334fa6f2358a056049fd5b8ce28bd086f439f0687"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: pendingOperationsFinishImmediatelyWhenThereAreNone: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCoreTests/VMControllerSavedSessionTests.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0771d93fb01acd0c5cd7571d159a4c364a1dfc6bbe0b9b81e22c97d7e17e0b5c"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: vmbridge: Dependency \u0060vmbridge\u0060 is resolved in VirtualBuddy.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060main\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6832c350442d90f6c35fdcbc604c10ad5aa53592e60918ba9a83e8e7a29d254f"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: libfragmentzip: \u0060libfragmentzip\u0060 1.0.0 (https://github.com/insidegui/libfragmentzip.git) is brought in by this repository\u0027s SwiftPM files, and the licence its repository declares is one this policy bans (\u0060LGPL-3.0\u0060). The expression is charged only when no alternative in it is allowed. It is pinned by an Xcode-managed Package.resolved, which records no target scope, so this pass cannot tell whether an app target or only a test target links it \u2014 check before acting. The licence is read from the licence file its repository carries at the pinned revision. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7625aeaaae5b7f03fc824c897dc11e41815610b39a66dd54302db29b85363cad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift: VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SharedFoldersManagementView.body at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 11:10:53 -03:00\u0027 --until=\u00272026-11-10 11:10:53 -03:00\u0027 --full-history --no-merges -- VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/Sharing/SharedFoldersManagementView.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"955ca3e764d097775b66963058318da10125a3733d08f3be904989933eddfccd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: VirtualUI/Source/VM Configuration/Sections/GuestAppConfigurationView.swift: VirtualUI/Source/VM Configuration/Sections/GuestAppConfigurationView.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in GuestAppConfigurationView.body at line 52. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 11:10:53 -03:00\u0027 --until=\u00272026-11-10 11:10:53 -03:00\u0027 --full-history --no-merges -- VirtualUI/Source/VM Configuration/Sections/GuestAppConfigurationView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/GuestAppConfigurationView.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"74596c81aabbb195766c0f842f5961bb4f13a3d56e23d92cbddb5ec02d23bfe9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 63 significant file(s) lose their only recent owner: VirtualCore/Source/Models/Configuration/ConfigurationModels.swift, VirtualCore/Source/Virtualization/VMInstance.swift, VirtualUI/Source/Installer/VMInstallationViewModel.swift, VirtualCore/Source/SavedSession/SavedSessionStorage.swift, VirtualCore/Source/VirtualCatalog/ResolvedCatalog.swift, VirtualUI/Source/Session/VirtualMachineSessionUI.swift, VirtualUI/Source/VM Configuration/Sections/USBDevicesConfigurationView.swift, VirtualCore/Source/Virtualization/VMNetworkAttachmentHelper.swift (\u002B55 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"450bb8da614fc12f41d070c2c3d5b7d3b023281d08163a000a869186de0b3b52"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Force yellow warning when host supports provisioning, red only when host doesn\u0027t support provisioning \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/VM Configuration/Sections/ProvisioningConfigurationView.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5ad37498b43518ecacf94790f25972499f505ab0565928ccac8d4a27271f4c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK! Don\u0027t want sidebar toggle, but want the toolbar visible \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Settings/SettingsScreen.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c93264d7d4557bfab75b64b9402d08d58af94f0a918d76d67a8bfe143f783f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/VMInstallData.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"480badcc0446f02ca22c0461707df6e268b49d39dc199a7ed00c9f5b1de9abd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/VMInstallData.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c04b619c5b7170bc0d6a5d12933f13d80cf9671b32f4f1dca8d1b1f6216411"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/VMInstallData.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e012e69f8be1137e00fff89a98443d68ffd3644890812c0d4dff1158507328d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/VMInstallData.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f67828a039ebc520e80c75220ce9bd9041e9cbf98be3b57ca60e6840d8dfd61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: HACK! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Components/HostingWindowController/WindowEnvironment.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2f0be6365f4c6889bd5738ef5f7509a1c3b28318887a634e3af6d12a6ed96a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adopt BuddyImageKit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7d8f997e420ad6e571e9095a379b6bb7d9bfbea08dfee7bb2a73902e194590"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adopt BuddyImageKit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3992e7fafa85d7ff48e3e13a3327d556bcfdedf10f993c405ed862625610e37f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adopt BuddyImageKit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab18f4bb55e157ca7cf4f7b4ace6ad4bd78f0d387f3ecdc3510c3bb985d86aea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adopt BuddyImageKit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4b13771bfc0e0d6cb5f322c4f51a605d88881595702e592c721fd110f2f7cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adopt BuddyImageKit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/Screenshot/NSImage\u002BHEIC.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e5f0f61f6f58356d8f135bae2627b7b0084a1f271406b66e68a08ade7dd6f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this after moving to AppKit lifecycle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualBuddy/Bootstrap/VirtualBuddyApp.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc079e422c4207c7565880a2d1b9092d240adbe76362d1e17c1c4f074b9e39"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ConfigurationModels\u002BValidation.swift \u2194 VMConfigurationView.swift: \u0060VirtualCore/Source/Models/Configuration/ConfigurationModels\u002BValidation.swift\u0060 (context VirtualCore) and \u0060VirtualUI/Source/VM Configuration/VMConfigurationView.swift\u0060 (context VirtualUI) sit in DIFFERENT parts of the tree yet change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060abcdcfff\u0060 Implement initial support for USB passthrough on macOS 27 (#752); \u006092b49898\u0060 Display provisioning feature support status in configuration, disable\u2026; \u00602fec2bd3\u0060 WIP: Provisioning in configuration UI \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Models/Configuration/ConfigurationModels\u002BValidation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7963a5266942ddfb4d70dc2f4e4c46ab685ab2d111dd129180b321a7cd5e94"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 1 application file(s) sit at the repository root beside the build and tooling files (\u0060Distribution.swift\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"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: \u0060writeGuestImage\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":"VirtualCore/Source/GuestSupport/GuestAdditionsDiskImage.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0533a3a6f22cce673353f6a3156344dbebe9f13c805230ff774e2a6352f4432b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.isStopped || state.isIdle || state.isSavedSessionPresentation\u0060 appears character-identically in 2 files \u2014 VirtualCore/Source/Virtualization/VMController.swift, VirtualUI/Source/Session/Configuration/VMLiveConfigurationView.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":"VirtualCore/Source/Virtualization/VMController.swift"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee176d15ca0575a106521af81cbc3d02ee13b51c13a64f8a3ae5746fee898d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vm.state == .running || vm.state == .paused\u0060 appears character-identically in 2 files \u2014 VirtualCore/Source/Virtualization/VMController.swift, VirtualCore/Source/Virtualization/VMInstance.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":"VirtualCore/Source/Virtualization/VMController.swift"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d1ff084ce4a5387810a3850303becb9f3369b371987db1e060bc143a39a00e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualWormhole/Source/Services/Clipboard/ClipboardGuestService.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc80aca7d3d0b7a3b397c197588ad66dea58c139a3c84d2f72ccce66efe8a355"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Settings/GeneralSettingsView.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75e66cc1738b8bd872f2ab2d21e83419b1e9132a64ae4c75a7fdc2909e65c4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Library/Components/LibraryItemView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5103ef81fe4b7d0b95e3ddb34ad9801eb799f817edd18224b998019f3c4d0f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/Steps/Restore Image Selection/RestoreImageSelectionController.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb64fbe72ab61fb7a8222b45a26d495b185edcec10e88b7d18fc9b426abf973"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualUI/Source/Installer/Steps/Restore Image Selection/Components/BlurHashFullBleedBackground.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ea393399f00d382e2b0db7d5c587586dea3481e96cc893584ba107a2d8ba61"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Virtualization/VMNetworkAttachmentHelper.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d78ceed87cac6faec5e1e77f8e7fa286f0281ee7152f17721e286d090cd1cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"VirtualCore/Source/Utilities/VolumeUtils.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a47401a70950ae451a922703b01d50c6377d4f3328e6a599a15fe79e1214a28"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DeepLinkSecurity/Source/Storage/KeychainDeepLinkAuthStore.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89719ff2811ed13ae87cac97be7748b8ce0c6b505bac753cd2e58089d3ba4a26"}}],"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}